Fwd: Nessus - Mysql Compiling errors

"curious one" <[email protected]> Mon, 12 Jun 2006 15:36:35 +0000
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
--===============1580583001==
Content-Type: multipart/alternative; 
	boundary="----=_Part_6460_16120480.1150126595340"

------=_Part_6460_16120480.1150126595340
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

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=3D\"/usr/local/etc\""
"-DNESSUSD_STATEDIR=3D\"/usr/local/var/nessus\""
"-DNESSUSD_DATADIR=3D\"/usr/local/etc/nessus\""
"-DNESSUSD_LIBDIR=3D\"/usr/local/lib/nessus\""
"-DNESSUSD_PLUGINS=3D\"/usr/local/lib/nessus/plugins\""
"-DNESSUSD_REPORTS=3D\"/usr/local/lib/nessus/reports\""
-DNESSUSD_SHAREDSTATEDIR=3D\"/usr/local/com/nessus\"
-DNESSUSD_LOGDIR=3D\"/usr/local/var/nessus/logs\" -I.
-I/root/nessus/nessus-core/include    -DHAVE_CONFIG_H     -c nessus-fetch.c
nessus-fetch.c: In function =E2=80=98http_recv=E2=80=99:
nessus-fetch.c:398: warning: implicit declaration of function
=E2=80=98http_recv_headers=E2=80=99
nessus-fetch.c: In function =E2=80=98fetch_file=E2=80=99:
nessus-fetch.c:786: warning: =E2=80=98fd=E2=80=99 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.ht=
ml
as well , but no success. I get the same error.

Regards

------=_Part_6460_16120480.1150126595340
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br><span class=3D"gmail_quote"><br>
</span><div><span class=3D"gmail_quote"></span>Hi,<br>
<div>
<br>
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:<br>
1. ./configure --with-mysql<br>
2. make <br>
<br>
at step 2 I start getting errors which are as follows<br>
<br>
make[1]: Entering directory `/root/nessus/nessus-core/nessus-fetch'<br>
gcc -Wall -I. -I/root/nessus/nessus-core/include&nbsp;&nbsp; -g
-O2&nbsp; -I/usr/local/include/nessus -DNESSUS_ON_SSL -DHAVE_SSL
-I/usr/include/openssl&nbsp; -I/usr/local/include/nessus&nbsp;
&quot;-DNESSUSD_CONFDIR=3D\&quot;/usr/local/etc\&quot;&quot;
&quot;-DNESSUSD_STATEDIR=3D\&quot;/usr/local/var/nessus\&quot;&quot;
&quot;-DNESSUSD_DATADIR=3D\&quot;/usr/local/etc/nessus\&quot;&quot;
&quot;-DNESSUSD_LIBDIR=3D\&quot;/usr/local/lib/nessus\&quot;&quot;
&quot;-DNESSUSD_PLUGINS=3D\&quot;/usr/local/lib/nessus/plugins\&quot;&quot;
&quot;-DNESSUSD_REPORTS=3D\&quot;/usr/local/lib/nessus/reports\&quot;&quot;
-DNESSUSD_SHAREDSTATEDIR=3D\&quot;/usr/local/com/nessus\&quot;
-DNESSUSD_LOGDIR=3D\&quot;/usr/local/var/nessus/logs\&quot; -I.
-I/root/nessus/nessus-core/include&nbsp;&nbsp;&nbsp;
-DHAVE_CONFIG_H&nbsp;&nbsp;&nbsp;&nbsp; -c nessus-fetch.c<br>
nessus-fetch.c: In function =E2=80=98http_recv=E2=80=99:<br>
nessus-fetch.c:398: warning: implicit declaration of function =E2=80=98http=
_recv_headers=E2=80=99<br>
nessus-fetch.c: In function =E2=80=98fetch_file=E2=80=99:<br>
nessus-fetch.c:786: warning: =E2=80=98fd=E2=80=99 may be used uninitialized=
 in this function<br>
gcc nessus-fetch.o -o nessus-fetch -L/usr/local/lib -lnessus
-lhosts_gatherer -lpcap-nessus&nbsp; -lutil -lnsl -lresolv&nbsp;&nbsp;
-L/usr/lib -lssl -lcrypto -ldl <br>
nessus-fetch.o: In function `http_recv':<br>
/root/nessus/nessus-core/nessus-fetch/nessus-fetch.c:398: undefined referen=
ce to `http_recv_headers'<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [nessus-fetch] Error 1<br>
make[1]: Leaving directory `/root/nessus/nessus-core/nessus-fetch'<br>
make: *** [fetchtool] Error 2<br>
<br>
Please guide me about how to get rid of this error. I have tried to
follow the steps given in
<a href=3D"http://www.networksecurityarchive.org/html/Nessus-Users/2005-09/=
msg00238.html" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(windo=
w,event,this)">http://www.networksecurityarchive.org/html/Nessus-Users/2005=
-09/msg00238.html
</a>
as well , but no success. I get the same error.<br>
<br>
Regards<br>

</div>

</div>

------=_Part_6460_16120480.1150126595340--

--===============1580583001==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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