Thank you for your help first.
But I include Xm.h at the beginning. I think Intrinsic.h was included in
Xm.h.
And when I compile, the error message is:
/usr/bin/ld: cannot open -lXm: not such file or directory
collect2: ld returns 1 exit status
I compiled in this way "gcc -o hello hello.c -lXm -lXt -lX11".
Best regards
Michael
"Fenal, J�r�me" wrote:
>
> Hi,
>
> Motif is an X toolkit that relies on the Xtoolkit (Xt).
> Your (obsolete) function is declared in <X11/Intrinsic.h>.
> Later on, when you can't find an include :
> grep "function" *.h in the most likely directories (in this case
> /usr/include/X11)
>
> Regards,
>
> J�r�me
>
> -----Message d'origine-----
> De: Xie Yisong [mailto:[EMAIL PROTECTED]]
> Date: mardi 3 ao�t 1999 07:42
> �: Devel MailList
> Objet: [devel] how to configure the compile environment
>
> When I gcc the C file, it told me there were some undefined string such
> as 'XtVaAppInitialize'. But these are the XMotif function, and I include
> the head file(Xm.h). Which lib file does these functions in? Or maybe I
> should configure the compile environment? And how to configure?
>
> Best Regards
>
> Michael