I trying to build ndoutils on Solaris 10 without any success. The configure completes without probelms but the make exits with errors. Any one out there have an insight into what might be wrong? Any help is greatly appreciated.
./configure --disable-pgsql --with-mysql-lib=/usr/local/lib/mysql
…
…
…
make
cd ./src/; make ; cd …
make[1]: Entering directory /usr/local/src/ndoutils-1.4b7/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lz -lm -lnsl -lsocket gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lz -lm -lnsl -lsocket make ndo2db-2x make[2]: Entering directory
/usr/local/src/ndoutils-1.4b7/src’
gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c
gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c
gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/local/lib/mysql -lz -lnsl -lsocket -lmysqlclient -lm
Undefined first referenced
symbol in file
asprintf /var/tmp//ccikjTHS.o
ld: fatal: Symbol referencing errors. No output written to ndo2db-2x
collect2: ld returned 1 exit status
make[2]: *** [ndo2db-2x] Error 1
make[2]: Leaving directory /usr/local/src/ndoutils-1.4b7/src' make[1]: *** [ndo2db] Error 2 make[1]: Leaving directory
/usr/local/src/ndoutils-1.4b7/src’