[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-bugs
Subject:    undefined symbols under AIX 4.3.3
From:       Michael Widenius <monty () mysql ! com>
Date:       2001-09-12 11:17:23
[Download RAW message or body]


Hi!

>>>>> "Armin" == Armin Kunaschik <Armin.Kunaschik@varetis.de> writes:

Armin> Hi there,

Armin> the gethostbyname_r issue seems to be solved in 3.23.42.
Armin> But now I'm getting undefined symbols:
Armin> How-To-Repeat: (to satisfy the spam filter)

Armin> <snip>
Armin> creating mysqltest
Armin> xlC_r -DUNDEF_THREADS_HACK -I./../include
Armin> -I../include -I./.. -I..                                -I..  -ma -O3
Armin> -qstrict  -O3 -DDBUG_OFF   -Wa,-many -DUNDEF_HAVE_INITGROUPS
Armin> -DSIGNALS_DONT_BREAK_READ -c mysqlbinlog.cc
Armin> /bin/sh ../libtool --mode=link xlC_r  -O3 -DDBUG_OFF   -Wa,-many
Armin> -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ  -o mysqlbinlog
Armin> mysqlbinlog.o ../libmysql/libmysqlclient.la -lcrypt -lm
Armin> xlC_r -O3 -DDBUG_OFF -Wa,-many -DUNDEF_HAVE_INITGROUPS
Armin> -DSIGNALS_DONT_BREAK_READ -o .libs/mysqlbinlog mysqlbinlog.o
Armin> -L../libmysql/.libs -lmysqlclient -lcrypt -lm -lcrypt -lm -b nolibpath -b
Armin> libpath:/usr/local/lib/mysql:/usr/lib:/lib
Armin> ld: 0711-224 WARNING: Duplicate symbol: p_xargc
Armin> ld: 0711-224 WARNING: Duplicate symbol: p_xargv
Armin> ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
Armin> ld: 0711-224 WARNING: Duplicate symbol: p_xrc
Armin> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
Armin> information.
Armin> ld: 0711-317 ERROR: Undefined symbol: ._my_b_write
Armin> gmake[2]: *** [mysqlbinlog] Error 8
Armin> gmake[2]: Leaving directory `mysql-3.23.42/client'
Armin> <snip>

Armin> I don't care about the warnings.. they appear very often.. but how about
Armin> the error?
Armin> How to solve this one?

Sorry, but I can't understand why you get this error.

The symbol '_my_b_write' should be defined in libmysqlclient.a

Here is an example how it looks at my machine.

(/my/mysql/libmysql) nm .libs/libmysqlclient.a | grep my_b_write
0000066c T _my_b_write

Hope you can find out where things goes wrong in your machine.

Regards,
Monty

---------------------------------------------------------------------
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 bugs-thread11358@lists.mysql.com
To unsubscribe, e-mail <bugs-unsubscribe@lists.mysql.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic