LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-28-2008, 10:39 PM   #1
ezrider
LQ Newbie
 
Registered: Nov 2003
Location: LA
Distribution: FC4
Posts: 29

Rep: Reputation: 15
Xm & xp-dev libs


I'm having trouble making X11 type code with my new fc9 installation. Everything used to compile & load fine with fc7. I've installed libXm & reconfigured my specific LIBPATH & INCPATH data to match fc9, but it seems like stuff is missing - like maybe libXp-dev??? Here's an excerpt from my make output:

gcc -O -w -s -D_NO_PROTO -static -I /usr/include/X11 -c xdrawobj.c
In file included from /usr/include/X11/Xm/Xm.h:78,
from /usr/include/X11/Xm/DrawingA.h:46,
from xdrawobj.c:10:
/usr/include/X11/Xm/Print.h:46: error: expected declaration specifiers or ‘...’ before ‘XPFinishProc’
In file included from /usr/include/X11/Xm/DrawingA.h:46,
from xdrawobj.c:10:
/usr/include/X11/Xm/Xm.h:860: error: expected specifier-qualifier-list before ‘XPContext’
make: *** [xdrawobj.o] Error 1

I say "libXp-dev" may be missing only because a google on the above error messages seems to lead to discussions involving xp-dev. However, I cannot find any such package for fc9 (or earlier).

I'm hoping someone who's "been there, done that" will read this & be able to shed some light (you know ExH) on this little puppy of a problem...


-- Thanks, Vaughn
 
Old 10-07-2008, 09:18 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
First I should make it clear that I don't do any X development, so anything I say based on lack of any experience or knowledge.

I was puzzled when I asked yum what was in libXm, and yum said "no such animal exists in the F9 repositories." So I went to the freedesktop.org site and looked at their source code listings, and even there I could find no Xm include files. (There were Xmu files, but no Print.h in them that I could see.)

So, my first question would be: Are you sure that you're using the header files appropriate for use with the version of X11 being used by Fedora 9?

And my second question would be: Have you looked at line 46 in your Print.h file to see why the compiler "thinks" that XPFinishProc is something needing a declaration?
 
Old 10-11-2008, 12:20 AM   #3
ezrider
LQ Newbie
 
Registered: Nov 2003
Location: LA
Distribution: FC4
Posts: 29

Original Poster
Rep: Reputation: 15
New Install of FC9 X86-64 has same problem

Quote:
Originally Posted by PTrenholme View Post
First I should make it clear that I don't do any X development, so anything I say based on lack of any experience or knowledge.

I was puzzled when I asked yum what was in libXm, and yum said "no such animal exists in the F9 repositories." So I went to the freedesktop.org site and looked at their source code listings, and even there I could find no Xm include files. (There were Xmu files, but no Print.h in them that I could see.)

So, my first question would be: Are you sure that you're using the header files appropriate for use with the version of X11 being used by Fedora 9?

And my second question would be: Have you looked at line 46 in your Print.h file to see why the compiler "thinks" that XPFinishProc is something needing a declaration?
**************************************************************
Thanks for the reply.

I just switched over to fc9 x86-64 & installed openmotif-devel-2.3.1-1.fc9.x86_64 which includes all the Xm header files. The make/build has the same errors w.r.t. Print.h. The one error message refers to a struct statement in Print.h & I can't see anything wrong with it. I'll have to keep looking into it & looking for someone who has seen the same issue.
 
Old 10-11-2008, 08:19 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
I can't find any references to a 2.3.1 version of openmotif-devel in a cursory Google search, but I did see a link to a 2.3.0 version here. From whence did you install the 2.3.1 version? (On my x86_64 F9 system, I could find no references to any openmotif RPMs, although I didn't look into the development or testing repositories.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mixed system, etch && testing || unstable: building ia32-libs-gtk HowDoIProgramIt Debian 2 08-15-2007 11:18 AM
where are readline & ncurses dev libs for sarge pearman Debian 2 07-23-2006 04:54 AM
remove dev libs from installation bhomass Debian 5 02-15-2006 12:50 PM
Can't compile anything (qt & devel libs?) MDColson Mandriva 4 12-31-2004 01:28 PM
Libs Version & Fonts & Wireless dhruiz Linux - Newbie 1 11-04-2003 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration