Hi again,

Th for the answer, but I still don't understand
why do I get this error message. :(


EZ> mkdir .libs
EZ> gcc -O3 -DDBUG_OFF -O3 -mpentiumpro -felide-constructors -fno-exceptions
EZ> -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o

EZ> libs/mysql mysql.o readline.o sql_string.o completion_hash.o .
EZ> /readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so
-lz
EZ> -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl
EZ> /var/local/macasa/mysql-3.23.46/lib/mysql
EZ> ./libmysql/.libs/libmysqlclient.so: undefined reference to `atexit'
EZ> collect2: ld returned 1 exit status
EZ> make[2]: *** [mysql] Error 1
EZ> make[2]: Leaving directory `/root/kituri/mysql/mysql-3.23.46/client'
EZ> make[1]: *** [all-recursive] Error 1
EZ> make[1]: Leaving directory `/root/kituri/mysql/mysql-3.23.46'
EZ> make: *** [all-recursive-am] Error 2

EZ> What is wrong with this?

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

It looks like you have conflict with your MySQL servers (old and new) ...
Take down your MySQL server and install it afresh ..
-------------
I have more then one Mysql server on this redhat7.0 server.
There are working on different ip-s and ports.

Which one should I take down?

This conflict results upon the fact that the compiler uses some
older lib -files instead of this 49 version distribution libs?

All these Mysql servers were compiled( not rpms) so I have all
servers placed in different folders.

How can this compiler know where are these older lib files placed?

I tried to downgrade my gcc to 2.95 version with an rpm
which recuired an older cpp but with that the configure
part dies.

I get some error which notice me that gcc could not make any executable
files :(.

I upgraded back my gcc and tried to compile with
-with-low-memory \
option but with no luck this time, too. :(

My basic problem is:

I want to install the 49 version Mysql and integrate the reverse_lookup and
lookup
functions which are included in the source distrubution, in the sql folder,
in the
udf_example.cc file.

If this is possible by installing the binary then please let me know because
I am
at the end of my soplution list. :)

I have compiled several mysql servers before but this is the first time when
I experience
such problems with it.


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