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