Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-28-2003, 05:59 AM   #1
Registered: May 2002
Location: UK
Distribution: Mandriva linux
Posts: 152

Rep: Reputation: 15
Compiling Fragrouter!!

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

Old 01-28-2003, 02:56 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fragrouter errors | dsniff / mailsnarf kirmet Linux - Newbie 1 09-02-2005 04:53 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 06:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 08:56 PM
Fragrouter won't forward tied2 *BSD 0 07-22-2003 11:41 AM
help installing fragrouter Raulin Linux - Distributions 0 02-26-2003 01:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration