List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:March 16 2003 7:29pm
Subject:Re: How to compile mysql-3.23.55 on Aix 4.3.3.11
View as plain text  
In the last episode (Mar 16), Jose said:
> Now i'm trying to compile 3.23.55 version to probe if it works. I use
> gcc-3.2.1. I have read installation instructions for aix but i get
> this error for "make" process:
> 
> gcc -pipe -mcpu=power -Wa,-many -O3 -DDBUG_OFF -felide-constructors -fno-exceptions
> -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -Wa,-many
> -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ -o .libs/mysqlbinlogmysqlbinlog.o 
> -L../libmysql/.libs -lmysqlclient -lz -lcrypt -lnsl_r -lm -Wl,-bnolibpath
> -Wl,-blibpath:/usr/local/mysql/lib/mysql:/usr/lib:/lib
> ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 error code last command is 1.
> 
> I build with: CC="gcc -pipe -mcpu=power -Wa, -many"
> CXX="gcc -pipe -mcpu=power -Wa, -many"
> CXXFLAGS="-felide-constructors -fnoexceptions -fno-rtti" \
> ./configure --prefix=/usr/local/mysql --with-low-memory

use CXX="g++ -pipe ..." instead.  g++ links in the correct C++
libraries during link time.

-- 
	Dan Nelson
	sql,query
	dnelson@stripped
Thread
How to compile mysql-3.23.55 on Aix 4.3.3.11Jose16 Mar
  • RE: How to compile mysql-3.23.55 on Aix 4.3.3.11Bart Schaerrer16 Mar
    • Re: How to compile mysql-3.23.55 on Aix 4.3.3.11Jose16 Mar
  • Re: How to compile mysql-3.23.55 on Aix 4.3.3.11Dan Nelson16 Mar