Title: nessus.2.0.10a , nessus-libraries , pcap.c: In function `getinterfaces': Error
We noticed that from 2.0.9 to 2.0.10 the pcap.c file changed in the following way.  We undid the change and it worked fine...
 
 
In the following file, make the following changes:
nessus-libraries/libnessus/pcap.c
 
change from
#else
    len = sizeof(struct ifmap);
to
#else
    len = sizeof(struct sockaddr);
thanks
Jase MacLeod
Network Architect
* 248 827 6196
* [EMAIL PROTECTED]
http://www.covisint.com
-----Original Message-----
From: Garrett, Matt M SITI-ITDIEEE [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 12:03 PM
To: [EMAIL PROTECTED]
Subject: nessus.2.0.10a , nessus-libraries ,pcap.c: In function `getinterfaces': Error

Folks

I am trying to compile and install Nessus 2.0.10a
With nessus-libraries , the configure seems to work fine
but the make fails with the following

gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/local/openssl/include -I/usr/local/openssl/include/openssl -I/ldata3/nessus.2.0.10a/src/nessus-libraries/include -I/ldata3/nessus.2.0.10a/src/nessus-libraries/libpcap-nessus -c pcap.c  -fPIC -DPIC -o .libs/pcap.lo

pcap.c: In function `getinterfaces':
pcap.c:319: sizeof applied to an incomplete type
*** Error code 1
make: Fatal error: Command failed for target `pcap.o'
Current working directory /ldata3/nessus.2.0.10a/src/nessus-libraries/libnessus
*** Error code 1

It would seem to me that nessus has its own built in version of libpcap , which looks to be version 0.4
Is this the problem ?

I have the following versions installed.
libpcap 0.7.2
glib 1.2.10
gtk+ 1.2.10
flex 2.5.4
bison (GNU Bison) 1.875
OS is Sun solaris 8
Gcc 2.95.3

I had installed nessus 2.0.6 which worked very well , and thought I should upgrade.

Any idea's

Thanks

Matt

Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom

Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email:
Internet: http://www.shell.com

_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to