On Tue, 10 Feb 2004, Stefaan Van Dooren wrote:
> 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.

There is a sample FSU-threads program on ftp.zenez.com in the
pub/zenez/prgms directory that allows this to compile it is
FSU-threads-3.14a.tar.gz


--
Boyd Gerber <[EMAIL PROTECTED]>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to