Weird linking-problem
Andreas Steffan
deas@uni-hamburg.de
Sat Jun 27 02:41:00 GMT 1998
Hi
gcc -ggdb -O2 -Wall -Woverloaded-virtual -Wno-unused -Wno-uninitialized -I. -I.. -c -I/usr/X11R6/include -I/usr/include tksend.cpp -o ../../bin/tksend+ex.o
gcc ../../bin/tksend+ex.o -L../../bin -lcfg -lproto -ltools -lpthread -o ../../bin/tksend
...../../bin/tksend+ex.o: In function `TKSend::readConfig(char const *)':
...../../bin/tksend+ex.o(.text+0x39): undefined reference to `__errno_location(void)'
...../../bin/tksend+ex.o(.text+0x151): undefined reference to `__errno_location(void)'
make: *** [../../bin/tksend] Error 1
deas@mortimer:/home/deas> nm -p /lib/libpthread-0.7.so | grep __errno_location
000061a0 T __errno_location
deas@mortimer:/home/deas>
Can anyone please tell me whats wrong here ?
--
TNX Andreas
PS: gcc-2.8.1,binutils-2.8.1.0.15,libstdc++-2.8.1,glibc-2.0.6,motif-2.0.2,xfree-3.3.2.
Everthing built with glibc.
+-----------------------------------------------------------+
|Andreas Steffan Email: deas@uni-hamburg.de |
|Hamburg, Germany Phone: 040/60671180 |
| Fax: 040/60679767 |
+-----------------------------------------------------------+
finger p25a003@server2.rrz.uni-hamburg.de for PGP-public-key.
More information about the Libc-alpha
mailing list