[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: checkergcc



> 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  
> /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'
> 
You didn't miss anything. These messages go away, if you link explicitly
against libc. But this doesn't help. Maybe it would help to link also with
-g compiled X libs, but this is huge. The author told me he'll see what
he can do for the next release. BTW. Don't link in more things. I did and
got worse messages about inexisting memory faults.

HTH

-- 
Ciccio C. Simon
ciccio@arrakis.es



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: