Gary Nicholson wrote:
>>>>From directory /tmp/xlt/xlt-9.2.9/tests/AnimatedButton, 
> 
> I execute the following command:
> 
>        $ gcc -I/usr/X11R6/include -I/lib/XLT -L/usr/X11R6/lib \
>        -lXm -lXt -lX11 -lSM -lICE test3.c -o test3.exe
> 
> Which gives these errors:
> 
> /cygdrive/c/DOCUME~1/Gary/LOCALS~1/Temp/cc0NlHlt.o(.text+0xb7):test3.c:
> undefined reference to `_XtSetLanguageProc'
...
> collect2: ld returned 1 exit status

The compiler is not finding this library function (Xt -- X Intrinsic) in 
the libraries it searches during linking.

> Should my gcc command options be different?

Most likely your directory paths are not correct.
 
> I don't find "XtSetLanguageProc" in any Cygwin file. Where are these
> functions defined? 

Do the files 
/usr/X11R6/include/Xm/Xm.h
/usr/X11R6/include/X11/Intrinsic.h
and
/usr/X11R6/lib/libXm.so
/usr/X11R6/lib/libXt.so
/usr/X11R6/lib/libX11.so
exist?

This is not a Lesstif issue. Please learn how to use your compiler,
and your development environment. http://cygwin.com/docs.html
http://www.gnu.org/software/gcc/onlinedocs/

-- 
M Taylor
http://www.mctaylor.com/
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to