I have installed the packages that the FAQ says are needed for compiling in
SuSE but when compiling libnasl I get the following error from the configure
script:

no yacc restart func found
perhaps libpcap-nessus wasn't compiled with bison/flex?

If I try to "make" I get the following:

send_packet.c:25: nessus/pcap.h: No such file or directory
In file included from send_packet.c:28:
pkt_pcap.h:4: parse error before `*'
pkt_pcap.h:4: warning: data definition has no type or storage class
pkt_pcap.h:5: parse error before `*'
pkt_pcap.h:5: warning: data definition has no type or storage class
pkt_pcap.h:6: parse error before `pcap_t'
send_packet.c: In function `send_packet':
send_packet.c:61: `pcap_t' undeclared (first use in this function)
send_packet.c:61: (Each undeclared identifier is reported only once
send_packet.c:61: for each function it appears in.)
send_packet.c:61: `pcap' undeclared (first use in this function)
send_packet.c:62: parse error before `struct'
send_packet.c:71: `ar' undeclared (first use in this function)
send_packet.c:72: `ip' undeclared (first use in this function)
send_packet.c:73: `sip' undeclared (first use in this function)
send_packet.c:81: `sockaddr' undeclared (first use in this function)
make[1]: *** [send_packet.o] Error 1
make[1]: Saliendo directorio `/usr/src/libnasl/nasl'
make: *** [all] Error 2

Anyone knows what could be happening?


Reply via email to