From: Ryan W G. <rw...@us...> - 2005-07-27 17:11:12
|
Hi, I have recently been trying to install perfparse to go along with t= he current nagios setup which I have gotten to run on the AIX machine that= I was given. I ran into trouble when compiling. When I run make, I get th= e message "ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc" as well as = "ld: 0711-317 ERROR: Undefined symbol: .rpl_realloc" I know that this is du= e to imcompatibilities between autoconf and AIX malloc and realloc. I have removed the AC_FUNC_MALLOC and AC_FUNC_REALLOC lines from configure.ac and rebuilt the package (libtoolize -f;aclocal -I m4;autoconf;autoheader;automake -a -c) and this will allow the package = to build, however, running any of the tools installed from this build resu= lts in a seg fault (ex. perfparse-db-tool, perfparsed). Thus, I am wondering if you have any suggestions as to getting perfpars= e to compile and run on AIX. Listed below are some of the basic parameters o= f the system that relate to the installation of perfparse. Thanks, Ryan System Info: perfarse: LDFLAGS=3D"-L/usr/local/lib" ./configure --prefix=3D/usr/loca= l/nagios --with-imagedir=3D/usr/local/nagios/share/images --with-cgidir=3D/usr/local/nagios/sbin --with-http_image_path=3D/nagios= /images --with-mysql_config_dir=3D/usr/local/mysql/bin --with-gdlib_config_dir=3D/usr/local/bin AIX 5.3 Gcc version 3.3.2 configured with: ../configure --with-as=3D/usr/bin/as= --with-ld=3D/usr/bin/ld --disable-nls --enable-languages=3Dc,c++ --prefix=3D/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host-powerpc-ibm-aix5.3.0.0 GD Library: 2.0.33 includedir: /usr/local/include cflags: -I/usr/local/include ldflags: -L/opt/freeware/lib -L/usr/lib/lib libs: -ljpeg, -lfreetype -lpng -lz -lm -liconv libdir: /usr/local/lib features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF MySQL: 4.0.25 cflags: -I/sr/local/mysql/include/mysql include: -I/usr/local/mysql/include/mysql libs: -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lcrypt libs_r: -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lcrypt -lnsl_= r -lm -lpthread libmysqld-libs: -L/usr/local/mysql/lib/mysql -lmysqld -lz -lcrypt -lnsl= _r -lm -lpthread -lrt Glib: 2.2.3 cflags: -I/opt/freeware.include/glib-2.0 -I/opt/freeware/lib/glib-2.0 /include libs: -L/opt/freeware/lib -lglib-2.0 -lintl -liconv pkg-config 0.15= |