Hi, Cannot compile the libnasl, it fails on the following error when I run "make":
/usr/local/lib/libpcap-nessus.so: undefined reference to `lex_init' /usr/local/lib/libpcap-nessus.so: undefined reference to `yylex' collect2: ld returned 1 exit status make[1]: *** [nasl] Error 1 make[1]: Leaving directory `/tmp/libnasl/nasl' make: *** [all] Error 2 I've read the nessus FAQ which suggested to install bison/flex, which I've done, latest versions installed: bison 1.34, flex 2.5.4. which bison /usr/local/bin/bison which flex /usr/local/bin/flex PATH: echo $PATH /usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/etc:/sbin:/usr/sbin:/usr/o penwin/bin:/usr/ucb:/usr/openwin/demo:/usr/ccs/bin:/usr/proc/bin:/etc/ma il:. cat /etc/ld.so.conf /usr/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-2.3.0/lib /usr/local/lib Tried then to compile from scratch: Nessus-libraries install OK. While running "./configure" in libnasl dir, see the following checking for pcap_restart in -lpcap-nessus... (cached) no checking for pcap_yyrestart in -lpcap-nessus... (cached) no checking for yyrestart in -lpcap-nessus... (cached) no no yacc restart func found perhaps libpcap-nessus wasn't compiled with bison/flex? I then run "make", and the compiling aborts: /usr/local/lib/libpcap-nessus.so: undefined reference to `lex_init' /usr/local/lib/libpcap-nessus.so: undefined reference to `yylex' collect2: ld returned 1 exit status make[1]: *** [nasl] Error 1 make[1]: Leaving directory `/tmp/libnasl/nasl' make: *** [all] Error 2 Anyone know how to get around this/what I am doing wrong? Thanks!
