Hi all,

I tried to install mysql version 3.23.46
but when I do the make part I get an error message.

On this server I have another mysql installed (version
3.23.46) and I thought that I will install one more because
this worked fine before.

The same error popped out:(

Step one:


CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro
-felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/var/local/macasa/mysql-3.23.46 \
            --localstatedir=/var/local/macasa/mysql_db/data \
            --enable-assembler \
            --with-mysqld-ldflags= -all-static \
            --with-raid

no problem...

Step two:

make

it makes till this comes along :(

mkdir .libs
gcc -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions
-fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o
libs/mysql mysql.o readline.o sql_string.o completion_hash.o .
/readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -lz
-lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl
/var/local/macasa/mysql-3.23.46/lib/mysql
./libmysql/.libs/libmysqlclient.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/root/kituri/mysql/mysql-3.23.46/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kituri/mysql/mysql-3.23.46'
make: *** [all-recursive-am] Error 2

What is wrong with this?

My gcc is gcc version 2.96 20000731 (Red Hat Linux 7.0).
Should I downgrade to 2.95?
I tried to compile this mysql version before with this gcc and it worked
fine...

Any help is needed...

th

zoli

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