> I have installed checker on debian 1.3 and it works fine, but if I try to > link files with X librairies I encounter at my program compilation the > following kind of messages : > > > ------------------------------------ > cd /home/jtl/esa/model2/ > make -fmkvisu -k > checkergcc -Wall -g -I/usr/include -I/usr/X11R6/include -I../libsx/src -c > RdStr.c -o RdStr.o > checkergcc -Wall -g -I/usr/include -I/usr/X11R6/include -I../libsx/src -c > loc.c -o loc.o > checkergcc -Wall -g -I/usr/include -I/usr/X11R6/include -I../libsx/src -c > camera.c -o camera.o > checkergcc visu.o intervisu.o RdStr.o point3d.o matrix.o binmoddrw.o > names.o binarymod.o hidden.o loc.o camera.o perm.o -o visu > -L/usr/X11R6/lib/Xaw95 -L/usr/X11R6/lib -L../libsx/src -lsx -lXaw95 -lXmu > -lXt -lX11 -lm
I would add -lICE -lSM after -lX11 Alex Y. > /usr/X11R6/lib/libICE.so.6: undefined reference to `siglongjmp' > /usr/X11R6/lib/libICE.so.6: undefined reference to `__sigjmp_save' > /usr/X11R6/lib/libICE.so.6: undefined reference to `chmod' > /usr/X11R6/lib/libICE.so.6: undefined reference to `accept' > /usr/X11R6/lib/libICE.so.6: undefined reference to `umask' > /usr/X11R6/lib/libICE.so.6: undefined reference to `rand' > /usr/X11R6/lib/libICE.so.6: undefined reference to `signal' > /usr/X11R6/lib/libICE.so.6: undefined reference to `listen' > /usr/X11R6/lib/libICE.so.6: undefined reference to `srand' > /usr/X11R6/lib/libXaw95.so: undefined reference to `__errno_location' > /usr/X11R6/lib/libICE.so.6: undefined reference to `link' > /usr/X11R6/lib/libICE.so.6: undefined reference to `mkdir' > make: *** [visu] Error 1 > make: Target `all' not remade because of errors. > > Compilation exited abnormally with code 2 at Fri Jun 13 08:03:16 > ------------------------------------------ > > What did I miss? I found no hint in the info files. Must I link with a > supplementary lib? With gcc the program visu compiles and works fine. > > thanks for help > JT Lapreste' -- _ _( )_ ( (o___ | _ 7 ''' \ (") (O O) / \ \ +---------------oOO--(_)--------------------+ | \ __/ <-- | Alexander Yukhimets [EMAIL PROTECTED] | | | | http://pages.nyu.edu/~aqy6633/ | ( / +-------------------------oOO---------------+ \ / |__|__| ) /(_ || || | (___) ooO Ooo \___) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .