Help!!! Motif Newbie

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

Hi. can someone help me on this?
I am running mandrake 9.1 KDE with openmotif installed(both runtime & dev) and I get these messages on compiling my first pushb app:
gcc pushb.c -o pushb -IXm -IXt -IX11
/tmp/ccgl2KD4.o(.text+0x1a): In function `main':
: undefined reference to `XtSetLanguageProc'
/tmp/ccgl2KD4.o(.text+0x28): In function `main':
: undefined reference to `sessionShellWidgetClass'
/tmp/ccgl2KD4.o(.text+0x43): In function `main':
: undefined reference to `XtVaOpenApplication'
/tmp/ccgl2KD4.o(.text+0x56): In function `main':
: undefined reference to `XmStringCreateLocalized'
/tmp/ccgl2KD4.o(.text+0x63): In function `main':
: undefined reference to `_XmStrings'
/tmp/ccgl2KD4.o(.text+0x7c): In function `main':
: undefined reference to `XmCreatePushButton'
/tmp/ccgl2KD4.o(.text+0x8d): In function `main':
: undefined reference to `XmStringFree'
/tmp/ccgl2KD4.o(.text+0x9c): In function `main':
: undefined reference to `_XmStrings'
/tmp/ccgl2KD4.o(.text+0xa4): In function `main':
: undefined reference to `XtAddCallback'
/tmp/ccgl2KD4.o(.text+0xb3): In function `main':
: undefined reference to `_XmStrings'
/tmp/ccgl2KD4.o(.text+0xbb): In function `main':
: undefined reference to `XtAddCallback'
/tmp/ccgl2KD4.o(.text+0xca): In function `main':
: undefined reference to `_XmStrings'
/tmp/ccgl2KD4.o(.text+0xd2): In function `main':
: undefined reference to `XtAddCallback'
/tmp/ccgl2KD4.o(.text+0xe0): In function `main':
: undefined reference to `XtManageChild'
/tmp/ccgl2KD4.o(.text+0xee): In function `main':
: undefined reference to `XtRealizeWidget'
/tmp/ccgl2KD4.o(.text+0xfc): In function `main':
: undefined reference to `XtAppMainLoop'
/tmp/ccgl2KD4.o(.text+0x123): In function `my_callback':
: undefined reference to `XtName'
/tmp/ccgl2KD4.o(.text+0x14c): In function `my_callback':
: undefined reference to `XtName'
/tmp/ccgl2KD4.o(.text+0x173): In function `my_callback':
: undefined reference to `XtName'
collect2: ld returned 1 exit status
make: *** [pushb] Error 1
=================================
I already have included libraries and I still dont get it.
Please... Can you guys help me? Thanks a much!
‹ Tool tips Where's the UIL headers? ›

Wed, 08/01/2012 - 16:45
#1
2 posts / 0 new
Last post
-6
Wed, 08/01/2012 - 16:46