>Description:
Unable to build. The ./configure script runs completely, but then
make stops with a linkage error at this point:
make[3]: Entering directory /usr/src/mysql-3.23.39/sql'
(...)
gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implici
t-templates -fno-exceptions -fno-rtti -rdynamic -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/libhe
ap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystr
ings.a -static ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myi
sammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../r
egex/libregex.a ../strings/libmystrings.a -ldl -lpthread -lz -lcrypt -lnsl -lm -lp
thread
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0xc): undefined reference to `__cxa_p
ure_virtual'
(long lines wrapped as dumped on the shell)
>How-To-Repeat:
Just following literally the compiling instructions stated in
http://www.mysql.com/documentation/mysql/bychapter/
manual_Installing.html#Installing_source
[...]# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions
-fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler
--with-mysqld-ldflags=-all-static
[...]# make
>Fix:
Can't know. Maybe's just some broken library or... whatever
>Submitter-Id: Antonio Su�rez
>Originator:
>Organization:
Icos�s, S. L.
>MySQL support: none
>Synopsis: Unable to build source tarball
>Severity: critical
>Priority: low
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.39 (Source distribution)
>Environment:
gcc 3.0 installed recently
System: Linux icolinux 2.2.18 #1 SMP Mon Feb 19 12:26:53 CET 2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ./configure
Thread model: single
gcc version 3.0
Compilation info: CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors
-fno-exceptions -fno-rtti" LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Jul 19 2000 /lib/libc.so.6 -> libc-2.1.1.so
-rwxr-xr-x 1 root root 4016683 Apr 17 1999 /lib/libc-2.1.1.so
-rw-r--r-- 1 root root 19533408 Apr 17 1999 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Apr 17 1999 /usr/lib/libc.so
Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client
--with-berkeley-db --with-innodb
Perl: This is perl, version 5.005_03 built for i386-linux
---------------------------------------------------------------------
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