LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling Fragrouter!! (https://www.linuxquestions.org/questions/linux-software-2/compiling-fragrouter-43056/)

RKris 01-28-2003 04:59 AM

Compiling Fragrouter!!
 
Hi,
I get these errors while compiling Fragrouter, can anyone help??

make[1]: Leaving directory `/home/kris/fragrouter-1.6/Libnet-0.99b'
gcc -pipe -Wall -o fragrouter attack.o fragrouter.o ip_frag.o list.o misc.o print.o send.o sniff.o tcp_seg.o -L./libpcap-0.4 -lpcap -L./Libnet-0.99b/lib -lnet -lnsl
./libpcap-0.4/libpcap.a(gencode.o): In function `pcap_compile':
gencode.o(.text+0x1e8): undefined reference to `lex_init'
./libpcap-0.4/libpcap.a(grammar.o): In function `pcap_parse':
grammar.o(.text+0x1a5): undefined reference to `pcap_lex'
collect2: ld returned 1 exit status
make: *** [fragrouter] Error 1

regards
Krishna

Mara 01-28-2003 01:56 PM

It looks like a problem with linking lex. Do you have (f)lex installed?


All times are GMT -5. The time now is 10:12 AM.