Hello mysql,
I'm trying to compile mysql 3.23.41 with recent glibc 2.2.4 but this
somehow does not work with the following diagnose:
l/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include
-I./../include -I./../regex -I. -I../include -I..
-I. -O3 -DDBUG_OFF -g -O6 -mpentiumpro -fno-omit-frame-pointer -pipe
-I/usr/local/glibc-2.2.4/include -c password.c
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -g -O6 -mpentiumpro
-fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -pipe
-fno-implicit-templates -fno-exceptions -fno-rtti -fpermissive
-I/usr/local/glibc-2.2.4/include -static -L/usr/local/glibc-2.2.4/lib -o mysqlbinlog
mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o password.o
../isam/libnisam.a ../merge/libmerge.a
../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a
../mysys/libmysys.a ../dbug/libdbug.a
../regex/libregex.a ../strings/libmystrings.a
-lpthread -lz -lcrypt -lnsl -lm -lpthread
mkdir .libs
gcc -O3 -DDBUG_OFF -g -O6 -mpentiumpro -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -pipe -fno-implicit-templates -fno-exceptions -fno-rtti
-fpermissive -I/usr/local/glibc-2.2.4/include -L/usr/local/glibc-2.2.4/lib -o
mysqlbinlog mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o
password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a
../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a
../regex/libregex.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
/usr/local/glibc-2.2.4/lib/libpthread.so: undefined reference to `_dl_cpuclock_offset'
/usr/local/glibc-2.2.4/lib/libc.so.6: undefined reference to
`[EMAIL PROTECTED]'
/usr/local/glibc-2.2.4/lib/libc.so.6: undefined reference to
`[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[3]: *** [mysqlbinlog] Error 1
make[3]: Leaving directory `/home/mysql/mysql-3.23.41g/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mysql/mysql-3.23.41g/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mysql/mysql-3.23.41g'
make: *** [all-recursive-am] Error 2
This is rather strange as static option is not passed therefor I'm
compiling it with --all-static option.
--
Best regards,
Peter mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php