Hello Everyone!
This happens when i try to compile with gcc 3.1 (redhat) on my redhat 7.2
installation. (yes i have upgraded to 3.1 from the
"default" 2.96 version). I get the same result with 3.0.1 also from Redhat.

any ideas ?

regards, Johan


gcc -DUNDEF_THREADS_HACK -I./../include                                 -I..
/include -I./.. -I..                                -I..    -O3 -DDBUG_OFF -
O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=athlon -march=athlon
  -fno-implicit-templates -fno-exceptions -fno-rtti -c mysqlbinlog.cc
/bin/sh ../libtool --mode=link
gcc  -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu
=athlon -march=athlon  -fno-implicit-templates -fno-exceptions -fno-rtti -rd
ynamic -o mysqlbinlog  mysqlbinlog.o
../libmysql/libmysqlclient.la -lcrypt -lnsl -lm
gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=
athlon -march=athlon -fno-implicit-templates -fno-exceptions -fno-rtti -rdyn
amic -o mysqlbinlog mysqlbinlog.o
../libmysql/.libs/libmysqlclient.a -lcrypt -lnsl -lm -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 `/root/mysql-3.23.47/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-3.23.47'
make: *** [all-recursive-am] Error 2
[root@sql3 mysql-3.23.47]#

gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=
athlon -march=athlon -fno-implicit-templates -fno-exceptions -fno-rtti -rdyn
amic -o mysqlbinlog mysqlbinlog.o
../libmysql/.libs/libmysqlclient.a -lcrypt -lnsl -lm -lcrypt -lnsl -lm
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x14): undefined reference to
`__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x18): undefined reference to
`__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x30): undefined reference to
`__cxa_pure_virtual'
collect2: ld returned 1 exit status
make[2]: *** [mysqlbinlog] Error 1
make[2]: Leaving directory `/root/mysql-4.0.1-alpha/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-4.0.1-alpha'
make: *** [all-recursive-am] Error 2
[root@sql3 mysql-4.0.1-alpha]#


[root@sql3 mysql-3.23.47]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.1/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --disable-checking --host=i386-redha
t-linux --with-system-zlib
Thread model: posix
gcc version 3.1 20020103 (Red Hat Linux Rawhide 3.1-0.14)

-----------------------------
sql  table  database


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