Hi,
when I compilling mysql that occur something error below on solaris.
Soft Spc.
Solaris 8
Mysql 3.23.42
gcc 3.0.1
GNU Make 3.79.1
My steps:
gunzip -d -c mysql-3.23.4.tar.gz | tar xvf -
cd mysql-3.23.42
CC=gcc CFLAGS="-O3" CXXLD=g++ \
CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
./configure \
--prefix=/usr/local/mysql \
--with-low-memory \
--with-extra-charsets=complex \
--enable-assembler
make
Error:
creating mysqltest
gcc -DUNDEF_THREADS_HACK -I./../include
-I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -felide-constructors
-fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions
-fno-rtti
-DHAVE_CURSES_H -I/usr/local/mysql-3.23.42/include -DHAVE_RWLOCK_T -c
mysqlbinlog.cc
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -O3 -felide-constructors
-fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions
-fno-rtti
-DHAVE_CURSES_H -I/usr/local/mysql-3.23.42/include -DHAVE_RWLOCK_T -o
mysqlbinlog mysqlbinlog.o ../libmysql/libmysqlclient.la -lz -lcrypt -lgen
-lsocket -lnsl -lm
gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H
-I/usr/local/mysql-3.23.42/include -DHAVE_RWLOCK_T -o .libs/mysqlbinlog
mysqlbinlog.o ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lgen
-lsocket
-lnsl -lm -lz -lcrypt -lgen -lsocket -lnsl -lm -Wl,--rpath
-Wl,/usr/local/mysql/lib/mysql
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/mysql-3.23.42/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-3.23.42'
make: *** [all-recursive-am] Error 2
Anybody help-me?
Thanks!
-----------------------------------------------------------------------
José Raimundo S. Barbosa mailto:[EMAIL PROTECTED]
Setor de Informação DDR 621-0350/0324
-----------------------------------------------------------------------
Embrapa Amazônia Ocidental http://www.cpaa.embrapa.br
Rod. AM-010 KM 29 CEP: 69011-970 Cx. Postal 319 Manaus, AM - Brasil
Fone:(092)621-0300 FAX:(092)622-1100/232-8101 Embrapa-Sat: 81 Fax:
-----------------------------------------------------------------------
---------------------------------------------------------------------
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