On Tue, 20 Sep 2005, Hugh Sasse wrote:
On Tue, 20 Sep 2005, Pooly wrote:
Hi,
gmake: *** [all] Error 2
neelix hgs 57 %> ls /usr/lib/*pthread*
/usr/lib/libpthread.so /usr/lib/llib-lpthread
/usr/lib/libpthread.so.1 /usr/lib/llib-lpthread.ln
neelix hgs 58 %>
[...]
I guess you're missing libpthread.a which is needed even for a dynamic
I don't know enough about pthread to know why I should need a .a
when I have a .so : they are both libraries....
Why did it build the first time around, then?
And I get, adding -t to LDFLAGS,
configure:25912: checking "named thread libs:"
configure:25919: result: "-lpthread"
configure:26155: checking for strtok_r in -lpthread
configure:26185: gcc -o conftest -O3
-L/progs/SUNWspro/lib:/usr/local/lib:/usr/local/lib/sparcv9:/usr/lib:/usr/share/lib:/usr/dt/lib:/usr/openwin/lib:/opt/panorama/lib:/opt/sfw/lib
-t -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T
-L/progs/SUNWspro/lib:/usr/local/lib:/usr/local/lib/sparcv9:/usr/lib:/usr/share/lib:/usr/dt/lib:/usr/openwin/lib:/opt/panorama/lib:/opt/sfw/lib
conftest.c -lpthread -lpthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread
>&5
/usr/local/bin/ld: mode elf32_sparc
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/crt1.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/crti.o
/usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/crtbegin.o
/var/tmp//ccGJWR1E.o
-lpthread (/usr/lib/libpthread.so)
-lpthread (/usr/lib/libpthread.so)
-lposix4 (/usr/lib/libposix4.so)
-lcrypt (/usr/lib/libcrypt.so)
-lgen (/usr/ccs/lib/libgen.so)
-lsocket (/usr/lib/libsocket.so)
-lnsl (/usr/lib/libnsl.so)
-lm (/usr/lib/libm.so)
-lpthread (/usr/lib/libpthread.so)
-lc (/usr/lib/libc.so)
-lc (/usr/lib/libc.so)
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/crtend.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/crtn.o
configure:26191: $? = 0
configure:26195: test -z
|| test ! -s conftest.err
configure:26198: $? = 0
configure:26201: test -s conftest
configure:26204: $? = 0
configure:26217: result: yes
in configure.log.
linking, the linker can't do it's job here.
--
Pooly
Hugh
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]