Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

X Window/Motif program

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> X Window/Motif program Page: [1]
Login
Message << Older Topic   Newer Topic >>
X Window/Motif program - Oct. 24, '02, 12:48:28 PM   
arorlik

 

Posts: 10
Joined: Oct. 2, '02,
Status: offline
I' m having a problem compiling Motif programs. I' ve tried several programs, including the sample ' hellomotif' program included w/ the Motif install. Even after I found and fixed a problem w/ the Imakefile (a dependency line wasn' t tabbed) it still won' t compile. I get about 20 ' undefined references.' Does anyone else have any experience using Motif for SFU?
Post #: 1
RE: X Window/Motif program - Oct. 24, '02, 8:43:53 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I' m assuming this is the Interop Motif 2.2 you' re using right?

You should use the newer gcc 3.2 compiler available by free download from the /tools warehouse.

(in reply to arorlik)
Post #: 2
RE: X Window/Motif program - Oct. 29, '02, 1:13:49 PM   
arorlik

 

Posts: 10
Joined: Oct. 2, '02,
Status: offline
Yes, I' m using Motif 2.2. I just downloaded the gcc 3.2 compiler, uncompressed it, and added the directory to the beginning of my path. Now, when I type xmkmf or imake, I get the error ' command not found.'

< Message edited by arorlik -- Oct 29, '02, 1:19:10 PM >

(in reply to arorlik)
Post #: 3
RE: X Window/Motif program - Oct. 29, '02, 3:04:42 PM   
arorlik

 

Posts: 10
Joined: Oct. 2, '02,
Status: offline
Nevermind...I resolved the xmkmf issue. However, I still received multiple ' undefined references' when I make hellomotif. I' m able to run ' xmkmf -a' with no problems. My problems occur when I type ' make hellomotif.'

(in reply to arorlik)
Post #: 4
RE: X Window/Motif program - Oct. 31, '02, 2:59:18 PM   
arorlik

 

Posts: 10
Joined: Oct. 2, '02,
Status: offline
Just wanted to post an update on my Motif issues in case anyone else runs across the same problems. I emailed Interopsystems support and thanks to Rodney everything seems to be working just fine. He discovered that after correcting the tabbing problem that the libraries were not included when compiling the program. The following line works when compiling:

gcc -O -I/include -o hellomotif hellomotif.c -lMrm -lXmu -lXext -lXt -lXp -lXt -lSM -lICE -lX11

You can run hellomotif in it' s directory by setting the environment
variable UIDPATH " ./%U" (export UIDPATH=" ./%U" for sh/ksh or setenv
UIDPATH " ./%U for csh).

A patch has been created to resolve this problem, so you might want to contact interopsystems if you' re using Motif 2.2 for SFU.

(in reply to arorlik)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> X Window/Motif program Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031