Ryn writes:
> Has anyone received the following [Exhibit 1] when building mysql 3.23.47 on
> Solaris 8? I am following
> the directions from the source installation web page on mysql.com.
>
> Thanks for any info,
>
> Ryan
>
> [Exhibit 1]
> gcc -DUNDEF_THREADS_HACK -I./../include -I../inc
> lude -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -feli
> de-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptio
> ns -fno-rtti -DHAVE_CURSES_H -I/export/home/desc/pkg/mysql-3.23.47/include -DHAV
> E_RWLOCK_T -c mysqlbinlog.cc
> /bin/sh ../libtool --mode=link
> gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-imp
> licit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/export/home/desc/pk
> g/mysql-3.23.47/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-impli
> cit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/export/home/desc/pkg/
> mysql-3.23.47/include -DHAVE_RWLOCK_T -o .libs/mysqlbinlog mysqlbinlog.o
> ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lgen -lsocket -lnsl -lm -lz -lc
> rypt -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 `/export/home/desc/pkg/mysql-3.23.47/client'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/desc/pkg/mysql-3.23.47'
> make: *** [all-recursive-am] Error 2
>
Hi!
You have to define CXXLD as g++ with 3.0.* in order to link mysqld.
There is a better workaround for this in our 4.0.2 BK repository.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
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