Synopsis: 3.23.42 & 3.23.41 won't compile

Release:       mysql-3.23.42 (Source distribution)

Environment:
Redhat Linux 7.0 w/
Linux version 2.2.16-22
gcc version 3.0.1 (3.0 has same results)
glibc: 1.2

Build options:
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --with-named-z-libs=z  --with-innodb 
--enable-assembler --with-mysqld-ldflags=-all-static

Error message during make:


make[2]: Entering directory `/usr/local/src/mysql-3.23.42/client'
/bin/sh ../libtool --mode=link
gcc  -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions 
-fno-enforce-eh-specs -fno-rtti  -fno-implicit-templates -
fno-exceptions -fno-rtti -rdynamic -o mysqlbinlog  mysqlbinlog.o -all-static 
../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm
gcc -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions 
-fno-enforce-eh-specs -fno-rtti -fno-implicit-templates -fn
o-exceptions -fno-rtti -rdynamic -o mysqlbinlog mysqlbinlog.o -static
../libmysql/.libs/libmysqlclient.a -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0xc): undefined reference to 
`__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x1c): undefined reference to 
`__cxa_pure_virtual'
collect2: ld returned 1 exit status
make[2]: *** [mysqlbinlog] Error 1
make[2]: Leaving directory `/usr/local/src/mysql-3.23.42/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-3.23.42'
make: *** [all-recursive-am] Error 2


---------------------------------------------------------------------
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

Reply via email to