hi people

I was wondering if somebody might be able to help me out with an error
that I am getting during the 'make' of nessus-core.

I have successfully built nessus-libraries and libnasl and
have /usr/local/bin in $PATH and /usr/local/lib is in /etc/ld.so.conf.

Here is the output just b4 the error ...

---snip---

make[1]: Leaving directory `/root/nessus/source/nessus-core/nessusd'
cd ssl && make
make[1]: Entering directory `/root/nessus/source/nessus-core/ssl'
gcc -g -O2  -c nessus-mkrand.c
gcc nessus-mkrand.o  -o nessus-mkrand -lm
make[1]: Leaving directory `/root/nessus/source/nessus-core/ssl'
cd nessus-fetch && make
make[1]: Entering directory `/root/nessus/source/nessus-core/nessus-
fetch'
gcc -Wall -I. -I/root/nessus/source/nessus-core/include   -
I/usr/local/include/nessus    -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/source/nessus-core/include    -DHAVE_CONFIG_H
-c nessus-fetch.c
nessus-fetch.c:81: error: syntax error before '*' token
nessus-fetch.c: In function `ssl_connect_timeout':
nessus-fetch.c:94: warning: implicit declaration of function
`SSL_get_fd'
nessus-fetch.c:94: error: `ssl' undeclared (first use in this function)
nessus-fetch.c:94: error: (Each undeclared identifier is reported only
once
nessus-fetch.c:94: error: for each function it appears in.)
nessus-fetch.c:100: error: `tmo' undeclared (first use in this function)
nessus-fetch.c:111: warning: implicit declaration of function
`SSL_connect'
nessus-fetch.c:112: warning: implicit declaration of function
`SSL_set_mode'
nessus-fetch.c:112: error: `SSL_MODE_ENABLE_PARTIAL_WRITE' undeclared
(first use in this function)
nessus-fetch.c:117: warning: implicit declaration of function
`SSL_get_error'
nessus-fetch.c:119: error: `SSL_ERROR_WANT_READ' undeclared (first use
in this function)
nessus-fetch.c:125: error: `SSL_ERROR_WANT_WRITE' undeclared (first use
in this function)
nessus-fetch.c:132: error: `SSL_ERROR_SSL' undeclared (first use in this
function)
nessus-fetch.c:133: error: `SSL_ERROR_SYSCALL' undeclared (first use in
this function)
nessus-fetch.c: In function `proxy_connect_method':
nessus-fetch.c:638: error: syntax error before '*' token
nessus-fetch.c:639: error: syntax error before '*' token
nessus-fetch.c:640: error: `SSL' undeclared (first use in this function)
nessus-fetch.c:640: error: `ssl' undeclared (first use in this function)
nessus-fetch.c:665: error: `ssl_mt' undeclared (first use in this
function)
nessus-fetch.c:665: warning: implicit declaration of function
`TLSv1_client_method'
nessus-fetch.c:673: error: `ssl_ctx' undeclared (first use in this
function)
nessus-fetch.c:673: warning: implicit declaration of function
`SSL_CTX_new'
nessus-fetch.c:680: warning: implicit declaration of function
`SSL_CTX_set_options'
nessus-fetch.c:680: error: `SSL_OP_ALL' undeclared (first use in this
function)
nessus-fetch.c:686: warning: implicit declaration of function `SSL_new'
nessus-fetch.c:693: warning: implicit declaration of function
`SSL_set_fd'
nessus-fetch.c:694: warning: implicit declaration of function
`SSL_set_connect_state'
nessus-fetch.c: In function `main':
nessus-fetch.c:902: warning: implicit declaration of function
`nessus_SSL_init'
make[1]: *** [nessus-fetch.o] Error 1
make[1]: Leaving directory `/root/nessus/source/nessus-core/nessus-
fetch'
make: *** [fetchtool] Error 2

---snip---

I'm guessing it has something to do with ssl but I am not great at
debugging building stuff from source ...

Any help would be appreciated - thanks

pantz

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to