LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-11-2009, 04:09 AM   #1
wagmare
Member
 
Registered: Jan 2009
Posts: 62

Rep: Reputation: 15
Xm/Xm.h header file is missing


hi friends,

i try to compile small motif example using
cc push.c -o push -lXm -lXt -lX11

it produce
push.c:1:19: error: Xm/Xm.h: No such file or directory
push.c:2:22: error: Xm/PushB.h: No such file or directory



my openmotif version is openmotif-2.3.0-0.3.fc7.ccrma


and lib of Xm is libXm.so.2

please anyone help me to solve this problem .
 
Old 12-11-2009, 05:45 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The header files will be supplied by the devel package you need to have that installed.
 
Old 12-11-2009, 06:17 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,285

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
If you have problems with the ccrma openmotif packages :

I think, the el5 packages are more reliable ..
http://mirror.centos.org/centos/5.4/...2.el5.i386.rpm
> openmotif-2.3.1-2.el5.i386.rpm
http://mirror.centos.org/centos/5.4/...2.el5.i386.rpm
> openmotif-devel-2.3.1-2.el5.i386.rpm

Will fit nicely into Fedora 7.
.....

Last edited by knudfl; 12-11-2009 at 08:24 AM.
 
Old 12-11-2009, 07:37 AM   #4
wagmare
Member
 
Registered: Jan 2009
Posts: 62

Original Poster
Rep: Reputation: 15
thanks for reply ... i removed the .ccrma rpm and installed the .devel package for fc7 . now its working fine ..
 
  


Reply

Tags
openmotif


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
C++ Header files missing virtualsaum Linux - Newbie 3 08-15-2009 02:40 PM
missing header files sagitalk Programming 3 01-27-2009 09:49 AM
qt3 header file missing bonaire Slackware 0 06-25-2008 08:32 AM
Qt4 missing header files SPo2 Programming 2 01-20-2007 05:36 PM
Missing C header files? kushalkoolwal Programming 3 11-07-2005 05:52 AM


All times are GMT -5. The time now is 11:36 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration