linux-l: Compilieren von libnasl
Markus Hubig
markus.hubig at gmx.net
Mo Mai 8 17:19:18 CEST 2000
Mario Thaten schrieb am Sonntag, den 07. Mai 2000:
> > $/usr/local/src/libnasl# make
> > cd nasl && make
> > make[1]: Entering directory `/usr/local/src/libnasl/nasl'
> > gcc -pipe `./cflags` -I. -I/usr/local/include
> > -I/usr/local/src/libnasl/include -o nasl -DVERSION=\"1.0.0\" nasl.c
> > init.o parser.o function_call.o sanitize.o send_packet.o pkt_utils.o
> > prompt.o udp.o tcp.o ip.o pcap.o instruction.o pcap_next.o boolean.o
> > strutils.o inet.o execute.o nessus_extensions.o igmp.o icmp.o nasl_rpc.o
> > nasl_memory.o regex.o `/usr/local/bin/nessus-config --libs`
> > /usr/local/lib/libpcap-nessus.so: undefined reference to `lex_init'
> > /usr/local/lib/libpcap-nessus.so: undefined reference to `pcap_parse'
> > /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 `/usr/local/src/libnasl/nasl'
> > make: *** [all] Error 2
>
> Ich tippe mal ins Blaue, ohne mich näher damit auszukennen. lex war
> ein Parser, oder? Offensichtlich fehlen ihm dessen Bibliotheken.
> Probier mal Installation von lex oder flex.
> Wie gesagt, ist nur eine Vermutung.
Hatte mal so einen ähnlichen Error, habe dann in einem Makefile
YACC = yacc -d in
YACC = byacc -d ausgetauscht
weil yacc bei mir nur ein Link nach bison --yacc gewesen ist und damit
hat das nicht funktioniert.
Natürlich musst du vorher Berkley YACC (byacc) instalieren ...
--
.~. ____________Debian powered!___________ .~.
/V\ / \ /V\
// \\ ---< mailto: markus.hubig at gmx.net >--- // \\
/( )\ \ ______________________________________ / /( )\
^ ~ ^ ^ ~ ^
Mehr Informationen über die Mailingliste linux-l