Hi Guilhem,
Thank you for your response, here is my objdump output.
$ objdump -t ../libmysql/.libs/libmysqlclient.so
../libmysql/.libs/libmysqlclient.so: file format elf32-i386
SYMBOL TABLE:
000000d4 l d .hash 00000000 .hash
.
.
.
00000000 *UND* 00000000 _db_enter_
I am using the unmodified configure script(version 6.0 source pull).
Do I need to do anything to include libtool ?
Thanks,
Hiromichi
--- On Mon, 2/9/09, Guilhem Bichot <guilhem@stripped> wrote:
> From: Guilhem Bichot <guilhem@stripped>
> Subject: Re: Build with debug option
> To: hiromichiwatari@stripped
> Cc: "Chad MILLER" <chad@stripped>, internals@stripped
> Date: Monday, February 9, 2009, 4:30 PM
> Hello,
>
> Hiromichi Watari a écrit, Le 02/09/2009 09:46 PM:
> > Hi Chad,
> > Thank you for your input, maybe I didn't make
> myself clear but I got the errors on make with the
> unmodified source. Here is more details,
> >
> >
> >
> > //***************** make errors (partial)
> > $ ./configure --with-debug
> > $ make
> > .
> > .
> > .
> >
> > g++ -g -O -DSAFE_MUTEX -fno-implicit-templates
> -fno-exceptions -fno-rtti -rdynamic -o .libs/mysql mysql.o
> readline.o sql_string.o completion_hash.o
> ../cmd-line-utils/libedit/libedit.a -lncurses -lpthread
> ../libmysql/.libs/libmysqlclient.so -lstdc++
> ../zlib/.libs/libzlt.a -lrt -lcrypt -lnsl -lm -Wl,--rpath
> -Wl,/usr/local/lib/mysql
> > mysql.o: In function `build_completion_hash':
> > /usr/local/mysql-6.0/client/mysql.cc:2520: undefined
> reference to `_db_enter_'
> > /usr/local/mysql-6.0/client/mysql.cc:2523: undefined
> reference to `_db_return_'
> > /usr/local/mysql-6.0/client/mysql.cc:2525: undefined
> reference to `_db_return_'
> > /usr/local/mysql-6.0/client/mysql.cc:2583: undefined
> reference to `_db_return_'
> > /usr/local/mysql-6.0/client/mysql.cc:2590: undefined
> reference to `_db_return_'
> > /usr/local/mysql-6.0/client/mysql.cc:2628: undefined
> reference to `_db_return_'
>
> I have a g++ line which is similar to yours but don't
> get the error. For you it's saying that nowhere in the
> list of modules and libraries, can it find _db_enter_.
> For me, _db_enter_ is provided by
> ../libmysql/.libs/libmysqlclient.so:
> "objdump -t ../libmysql/.libs/libmysqlclient.so"
> says:
> <cut>
> ../libmysql/.libs/libmysqlclient.so
> 00070ce7 g F .text 000002cb _db_enter_
>
> What does it say for you?
> I don't see libtool in your command line, I have it,
> maybe that's a reason too.
>
> -- Mr. Guilhem Bichot <guilhem@stripped>
> Sun Microsystems / MySQL, Lead Software Engineer
> Bordeaux, France
> www.sun.com / www.mysql.com
>
> -- MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe:
> http://lists.mysql.com/internals?unsub=1