Hi!

>>>>> "Chang-Ping" == Chang-Ping Hsiao <[EMAIL PROTECTED]> writes:

>> The problem with gcc 3.0.x, as I have understood it, is that for this
>> to work you must also have libstdc++v3 installed.
>> 
>> I have now updated our documentation about this.

Chang-Ping>     According to the web page
Chang-Ping> (http://gcc.gnu.org/libstdc++/status.html), gcc 3.0 should already have
Chang-Ping> libstdc++-v3, and I did compile and install gcc 3.0.2 successfully.  Any
Chang-Ping> idea?

What is your exact configure line?
Note that you should NOT have CXX=gcc on this command line!
If you have configured MySQL before, you should do:

make clean
rm config.cache
./configure

You know that things goes right if configure says that it's using
'g++' as the C++ compiler;  If it's reporting 'gcc' then something is
wrong!

Have you checked that you have a file named libstdc++.a and that
'nm libstdc++.a' | grep __cxa_pure_virtual' returns a string that
contains __cxa_pure_virtual ?

The link line your compilation used:

gcc -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T 
-o .libs/mysqlbinlog mysqlbinlog.o ../libmysql/.libs/libmysqlclient.so -lcrypt -lgen 
-lsocket -lnsl -lm -lcrypt -lgen -lsocket -lnsl -lm -R/usr/local/lib/mysql

Is wrong. It should be:

g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T 
-o .libs/mysqlbinlog mysqlbinlog.o ../libmysql/.libs/libmysqlclient.so -lcrypt -lgen 
-lsocket -lnsl -lm -lcrypt -lgen -lsocket -lnsl -lm -R/usr/local/lib/mysql

Can you check if this works ?

Regards,
Monty

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