Hi,

Ok, upgraded my gcc and then ran into a byson problem at nasl install.
Once I got that installed, reran the nessus-installer.sh and got the
following error show below during compilation. Anyone know how to fix
this or what package I might be missing?


plugutils.c: In function `shared_socket_register': plugutils.c:2012: warning: passing arg 5 of `getsockopt' from incompatible pointer type network.c: In function `open_socket': network.c:1578: warning: passing arg 5 of `getsockopt' from incompatible pointer type pcap.c: In function `getsourceip': pcap.c:386: warning: passing arg 3 of `ngetsockname' from incompatible pointer type ids_send.c: In function `ids_send': ids_send.c:396: warning: passing arg 3 of `ngetpeername' from incompatible pointer type

I still believe your problem is with Bison. I can bet you that bison was not installed properily. Just reinstall it or upgrade to latest 2.0 version.

Also, Bison have the dependency of GNU m4. If you dont have installed
GNU m4, then always you are in trouble,when using Bison. Note down that the regular M4 will never help you, should have GNU M4 installed.


NOTE:
You can do the following simple things to check bison is working or not
on your system?


create a file called foo.y with following lines
cat >ssp.y
%%
exp: 'a';

Run it with bison
#bison --trace=tools ssp.y
Here, you should get no warning and errors.
And you will have a ssp.tab.c generated by bison.

If it goes otherway, you can reinstall bison and GNU M4.


Hope this helps, --

Senthil Prabu.S
If you are smart enough to know that you're not smart enough to be an
Engineer, then you're in Business.
_________________________________________________________________





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

Reply via email to