ich wollte mir den mySQL Server neu bauen.
Was ich gemacht habe:
Code: Select all
cp configure configure.old &&
sed -e "s%mysql-test/Makefile%%" -e "s% mysql-test%%" configure.old > configure
./configure
--prefix=/usr
--sysconfdir=/etc
--libexecdir=/usr/sbin
--enable-thread-safe-client
--enable-assembler
--localstatedir=/home/mysqld
--with-raid
--with-mysqld-user=mysqld
--without-debug
--with-openssl
--with-vio
--without-bench
Code: Select all
source='isamchk.c' object='isamchk.o' libtool=no
depfile='.deps/isamchk.Po' tmpdepfile='.deps/isamchk.TPo'
depmode=gcc3 /bin/sh ../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF -c `test -f isamchk.c || echo './'`isamchk.c
source='sort.c' object='sort.o' libtool=no
depfile='.deps/sort.Po' tmpdepfile='.deps/sort.TPo'
depmode=gcc3 /bin/sh ../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF -c `test -f sort.c || echo './'`sort.c
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -rdynamic -o isamchk isamchk.o sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
mkdir .libs
gcc -O3 -DDBUG_OFF -rdynamic -o isamchk isamchk.o sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
../mysys/libmysys.a(my_tempnam.o): In function `my_tempnam':
my_tempnam.o(.text+0x52): the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(raid.o): In function `my_raid_create':
raid.o(.text+0xa5): undefined reference to `operator new(unsigned)'
raid.o(.text+0x132): undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o): In function `my_raid_open':
raid.o(.text+0x185): undefined reference to `operator new(unsigned)'
raid.o(.text+0x20f): undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o): In function `my_raid_close':
raid.o(.text+0x7a2): undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[2]: Leaving directory `/INSTALL/mysql-4.0.13/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/INSTALL/mysql-4.0.13'
make: *** [all] Error 2
Alexander Newald