Howdy,
 
I'm something of a newbie, so (1)bear with me, and (2) my advice is nowhere near 
authoritative...
 
...but I did some googling, and I managed to track down someone with a vaguely similar 
problem. It would seem that that version of FSU pthreads hasn't implemented that 
symbol. Solution: find a way to upgrade it. I'm not sure if that upgrades along with 
gcc or not; however, the development page links to a version of pthreads for SCO; the 
latest one seems to be here. 
http://www.cs.wustl.edu/~schmidt/ACE_wrappers/FSU-threads.tar.gz . Hopefully, there 
will also be a readme in there somewhere to help out. Sorry I couldn't throw more your 
way.
 
peace,
Sean Flynn


Stefaan Van Dooren <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to compile MySQL 4.0.17 on SCO OpenServer 5.0.6, gcc version 2.95.3 
20030406 (SCO/p4).

I always get the following error : 

Undefined first referenced
symbol in file
pthread_key_delete libmysys.a(my_thr_init.o)
ERROR: Symbol referencing errors. No output written to test_thr_alarm
collect2: ld returned 1 exit status
make[2]: *** [test_thr_alarm] Error 1
make[2]: Leaving directory `/a/mysql-4.0.17/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/a/mysql-4.0.17'
make: *** [all] Error 2

MySQL 4.0.16 compiles just fine on this system.

This is the configure I use :

CC=gcc CFLAGS="-O3 -mpentium" LDFLAGS=-static CXX=gcc \
CXXFLAGS="-O3 -mpentium -felide-constructors" \
./configure --prefix=/a/mysql \
--enable-thread-safe-client --enable-local-infile \
--disable-shared

All help welcome.


Stefaan




-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CM/G d+(--) s--:-- a--- C++++$ UL++>++++ P+ L++>+++++
E---- W++(+++) N+ !o K? w+(++++) !O M++ !V PS+ PE 
Y+>++ PGP- t++ 5++ X+ R tv- b+++ DI+ D++ G e* h! r* y- 
-----END GEEK CODE BLOCK-----

geekcode: http://www.geekcode.com/geek.html
geekcode decoder: http://www.ebb.org/ungeek/

---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

Reply via email to