I am trying to work out nessus with mysql support. I am using the CVS code with NESSUS_SQL tag. the steps I take are as follows:
1. ./configure --with-mysql
2. make
at step 2 I start getting errors which are as follows
make[1]: Entering directory `/root/nessus/nessus-core/nessus-fetch'
gcc -Wall -I. -I/root/nessus/nessus-core/include -g -O2 -I/usr/local/include/nessus -DNESSUS_ON_SSL -DHAVE_SSL -I/usr/include/openssl -I/usr/local/include/nessus "-DNESSUSD_CONFDIR=\"/usr/local/etc\"" "-DNESSUSD_STATEDIR=\"/usr/local/var/nessus\"" "-DNESSUSD_DATADIR=\"/usr/local/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/local/lib/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/local/lib/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/local/lib/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/local/com/nessus\" -DNESSUSD_LOGDIR=\"/usr/local/var/nessus/logs\" -I. -I/root/nessus/nessus-core/include -DHAVE_CONFIG_H -c nessus-fetch.c
nessus-fetch.c: In function âhttp_recvâ:
nessus-fetch.c:398: warning: implicit declaration of function âhttp_recv_headersâ
nessus-fetch.c: In function âfetch_fileâ:
nessus-fetch.c:786: warning: âfdâ may be used uninitialized in this function
gcc nessus-fetch.o -o nessus-fetch -L/usr/local/lib -lnessus -lhosts_gatherer -lpcap-nessus -lutil -lnsl -lresolv -L/usr/lib -lssl -lcrypto -ldl
nessus-fetch.o: In function `http_recv':
/root/nessus/nessus-core/nessus-fetch/nessus-fetch.c:398: undefined reference to `http_recv_headers'
collect2: ld returned 1 exit status
make[1]: *** [nessus-fetch] Error 1
make[1]: Leaving directory `/root/nessus/nessus-core/nessus-fetch'
make: *** [fetchtool] Error 2
Please guide me about how to get rid of this error. I have tried to follow the steps given in http://www.networksecurityarchive.org/html/Nessus-Users/2005-09/msg00238.html as well , but no success. I get the same error.
Regards
_______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
