From: Hiromichi Watari Date: February 10 2009 12:49pm Subject: Re: Build with debug option List-Archive: http://lists.mysql.com/internals/36236 Message-Id: <66422.57770.qm@web55901.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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=0900000000 .hash . . . 00000000 *UND*=0900000000 _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 wrote: > From: Guilhem Bichot > Subject: Re: Build with debug option > To: hiromichiwatari@stripped > Cc: "Chad MILLER" , internals@stripped > Date: Monday, February 9, 2009, 4:30 PM > Hello, >=20 > Hiromichi Watari a =E9crit, 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, > >=20 > >=20 > >=20 > > //***************** make errors (partial) > > $ ./configure --with-debug > > $ make > > . > > . > > . > >=20 > > 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=20 > ../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_' >=20 > 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: > > ../libmysql/.libs/libmysqlclient.so > 00070ce7 g F .text 000002cb _db_enter_ >=20 > What does it say for you? > I don't see libtool in your command line, I have it, > maybe that's a reason too. >=20 > -- Mr. Guilhem Bichot > Sun Microsystems / MySQL, Lead Software Engineer > Bordeaux, France > www.sun.com / www.mysql.com >=20 > -- MySQL Internals Mailing List > For list archives: http://lists.mysql.com/internals > To unsubscribe: =20 > http://lists.mysql.com/internals?unsub=3Dhiromichiwatari@stripped=0A=0A= =0A