Summary: On AIX 4.3.3, using xlc_r/xlC_r compiler, configured with --with-debug, make all in client directory fails with:
ld: 0711-317 ERROR: Undefined symbol: ._db_enter_ ld: 0711-317 ERROR: Undefined symbol: ._db_return_ ld: 0711-317 ERROR: Undefined symbol: _db_on_ ld: 0711-317 ERROR: Undefined symbol: ._db_pargs_ ld: 0711-317 ERROR: Undefined symbol: ._db_doprnt_ ld: 0711-317 ERROR: Undefined symbol: _db_process_ ld: 0711-317 ERROR: Undefined symbol: ._db_push_ MySql 3.23.37 source distribution Machine: IBM RS/6000 % uname -M IBM,7044-170 OS: 4.3.3 % oslevel -r 4330-09 VisualAge C++ C Compiler 5.0 I modified include/*global.h to comment out "#define _AIX32_CURSES". I run: CC="xlc_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192 " \ CXX="xlC_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192" \ CFLAGS="-DHAVE_GETHOSTBYNAME_R_RETURN_INT " \ LDFLAGS="-L/usr/local/lib" \ CPPFLAGS=$CFLAGS \ CXXFLAGS=$CFLAGS \ ./configure --prefix=$INSTALL_PATH \ --libexecdir=$INSTALL_PATH/bin \ --datadir=$INSTALL_PATH/etc \ --with-unix-socket-path=$INSTALL_PATH/bin/.ardbd.sock \ --program-transform-name='s/mysql/ardb/g' \ --with-debug \ --without-docs \ --without-bench \ --enable-thread-safe-client \ --enable-large-files /usr/bin/make all In the client directory, make fails with: /bin/sh ../libtool --mode=link xlC_r -ma -O3 -qstrict -qoptimize=3 -qmax mem=8192 -g -O -DSAFE_MUTEX -DHAVE_GETHOSTBYNAME_R_RETURN_INT -Wa,-many -DUND EF_HAVE_INITGROUPS -L/usr/local/lib -o mysql mysql.o readline.o sql_string.o co mpletion_hash.o ../readline/libreadline.a -lcurses ../libmysql/libmysqlclient.la -lcrypt -lm mkdir .libs xlC_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192 -g -O -DSAFE_MUTEX -DHAVE_GETH OSTBYNAME_R_RETURN_INT -Wa,-many -DUNDEF_HAVE_INITGROUPS -L/usr/local/lib -o .li bs/mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadli ne.a -lcurses -L../libmysql/.libs -lmysqlclient -lcrypt -lm -lcrypt -lm -b nolib path -b libpath:/mysql/3.23.37/lib/mysql:/usr/lib:/lib ld: 0711-224 WARNING: Duplicate symbol: p_xargc ld: 0711-224 WARNING: Duplicate symbol: p_xargv ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg ld: 0711-224 WARNING: Duplicate symbol: p_xrc ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: ._db_enter_ ld: 0711-317 ERROR: Undefined symbol: ._db_return_ ld: 0711-317 ERROR: Undefined symbol: _db_on_ ld: 0711-317 ERROR: Undefined symbol: ._db_pargs_ ld: 0711-317 ERROR: Undefined symbol: ._db_doprnt_ ld: 0711-317 ERROR: Undefined symbol: _db_process_ ld: 0711-317 ERROR: Undefined symbol: ._db_push_ make: 1254-004 The error code from the last command is 8. It looks like ld is not finding dbug.o, which then needs int2str.c Any suggestions on what needs to be changed? More system information: Fileset Level State Description ---------------------------------------------------------------------------- bos.adt.base 4.3.3.75 C Base Application Development Toolkit bos.adt.data 4.3.0.0 C Base Application Development Toolkit Data bos.adt.debug 4.3.3.75 C Base Application Development Debuggers bos.adt.include 4.3.3.78 C Base Application Development Include Files bos.adt.lib 4.3.3.10 C Base Application Development Libraries bos.adt.libm 4.3.3.50 C Base Application Development Math Library bos.adt.prof 4.3.3.80 C Base Profiling Support bos.adt.samples 4.3.3.75 C Base Operating System Samples bos.adt.syscalls 4.3.3.50 C System Calls Application Development Toolkit bos.adt.utils 4.3.3.50 C Base Application Development Utilities - lex and yacc bos.net.nfs.adt 4.3.3.25 C Network File System Development Toolkit bos.rte 4.3.3.75 C Base Operating System Runtime bos.rte.Dt 4.3.0.0 C Desktop Integrator bos.rte.ILS 4.3.3.75 C International Language Support bos.rte.SRC 4.3.3.75 C System Resource Controller bos.rte.X11 4.3.0.0 C AIXwindows Device Support bos.rte.aio 4.3.3.75 C Asynchronous I/O Extension bos.rte.archive 4.3.3.75 C Archive Commands bos.rte.bind_cmds 4.3.3.75 C Binder and Loader Commands bos.rte.boot 4.3.3.75 C Boot Commands bos.rte.bosinst 4.3.3.75 C Base OS Install Commands bos.rte.commands 4.3.3.75 C Commands bos.rte.compare 4.3.3.75 C File Compare Commands bos.rte.console 4.3.3.75 C Console bos.rte.control 4.3.3.75 C System Control Commands bos.rte.cron 4.3.3.75 C Batch Operations bos.rte.date 4.3.3.75 C Date Control Commands bos.rte.devices 4.3.3.0 C Base Device Drivers bos.rte.devices_msg 4.3.3.75 C Device Driver Messages bos.rte.diag 4.3.3.75 C Diagnostics bos.rte.edit 4.3.3.75 C Editors bos.rte.filesystem 4.3.3.75 C Filesystem Administration bos.rte.iconv 4.3.3.0 C Language Converters bos.rte.ifor_ls 4.3.3.75 C iFOR/LS Libraries bos.rte.im 4.3.3.75 C Input Methods bos.rte.install 4.3.3.77 C LPP Install Commands bos.rte.jfscomp 4.3.1.0 C JFS Compression bos.rte.libc 4.3.3.81 C libc Library bos.rte.libcfg 4.3.3.75 C libcfg Library bos.rte.libcur 4.3.3.75 C libcurses Library bos.rte.libdbm 4.3.3.0 C libdbm Library bos.rte.libnetsvc 4.3.0.0 C Network Services Libraries bos.rte.libpthreads 4.3.3.77 C libpthreads Library bos.rte.libqb 4.3.3.75 C libqb Library bos.rte.libs 4.3.3.0 C libs Library bos.rte.loc 4.3.3.75 C Base Locale Support bos.rte.lvm 4.3.3.75 C Logical Volume Manager bos.rte.man 4.3.3.75 C Man Commands bos.rte.methods 4.3.3.75 C Device Config Methods bos.rte.misc_cmds 4.3.3.75 C Miscellaneous Commands bos.rte.net 4.3.3.75 C Network bos.rte.odm 4.3.3.75 C Object Data Manager bos.rte.printers 4.3.3.75 C Front End Printer Support bos.rte.security 4.3.3.80 C Base Security Function bos.rte.serv_aid 4.3.3.75 C Error Log Service Aids bos.rte.shell 4.3.3.75 C Shells (bsh, ksh, csh) bos.rte.streams 4.3.3.75 C Streams Libraries bos.rte.tty 4.3.3.75 C Base TTY Support and Commands vac.C 5.0.2.3 C C for AIX Compiler vacpp.cmp.C 5.0.2.0 C VisualAge C++ C Compiler vacpp.cmp.aix43.lib 5.0.2.3 C VisualAge C++ Libraries for AIX 4.3 vacpp.cmp.batch 5.0.2.3 C VisualAge C++ Batch Compiler vacpp.cmp.core 5.0.2.2 C VisualAge C++ Compiler vacpp.cmp.extension 5.0.2.2 C VisualAge C++ Extension Interface vacpp.cmp.include 5.0.2.3 C VisualAge C++ Compiler Include Files vacpp.cmp.incremental 5.0.2.2 C VisualAge C++ Incremental Compiler vacpp.cmp.lib 5.0.2.3 C VisualAge C++ Libraries vacpp.cmp.rte 5.0.2.0 C VisualAge C++ Compiler Application Runtime vacpp.cmp.tools 5.0.2.3 C VisualAge C++ Tools vacpp.dax.adt 5.0.2.0 C VisualAge C++ Data Access Builder Toolkit vacpp.dax.rte 5.0.2.0 C VisualAge C++ Data Access Builder Runtime vacpp.ide 5.0.2.2 C VisualAge C++ IDE vacpp.ioc.aix43.lib 5.0.2.1 C IBM Open Class Library AIX 4.3 Static Libraries vacpp.ioc.aix43.rte 5.0.2.1 C IBM Open Class Library AIX 4.3 Application Runtime vacpp.ioc.lib 5.0.2.1 C IBM Open Class Library Static Libraries vacpp.ioc.rte 5.0.2.1 C IBM Open Class Library Application Runtime vacpp.lic 5.0.2.0 C VisualAge C++ Licence Files vacpp.loc.en_US.cmp.core 5.0.2.2 C VisualAge Compiler C++ Locale Data--U.S. English vacpp.memdbg.aix43.lib 5.0.2.3 C VA C++ User Heap/Memory Debug AIX 4.3 Libraries vacpp.memdbg.aix43.rte 5.0.2.3 C VA C++ User Heap/Memory Debug AIX 4.3 Runtime vacpp.memdbg.lib 5.0.2.0 C VisualAge C++ User Heap and Memory Debug Static Libraries vacpp.memdbg.rte 5.0.2.0 C VisualAge C++ User Heap and Memory Debug Runtime vacpp.rescmp 5.0.2.0 C VisualAge C++ Resource Compiler vacpp.source.ioc 5.0.2.1 C IBM Open Class Library Source vacpp.vb.lib 5.0.2.0 C Visual Builder Libraries vacpp.vb.rte 5.0.2.0 C VisualAge C++ Visual Builder Runtime xlC.adt.include 5.0.2.0 C C Set ++ Application Development Toolkit xlC.aix43.rte 5.0.2.5 C C Set ++ Runtime for AIX 4.3 xlC.cpp 4.3.0.1 C C for AIX Preprocessor xlC.rte 5.0.2.1 C C Set ++ Runtime Thanks, Chris Gruszka VERITAS Software --------------------------------------------------------------------- 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