![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Cowboy Stumbler!
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
|
when ever i go to compile airsnort, i get this error, and i can't find where the problem would be really coming from.... can someone help?
"[root@localhost Airsnort-0.2.1a]# make make all-recursive make[1]: Entering directory `/root/Desktop/Airsnort-0.2.1a' Making all in src make[2]: Entering directory `/root/Desktop/Airsnort-0.2.1a/src' gcc -g -O2 -Wall -o airsnort main.o support.o interface.o callbacks.o crack.o RC4.o crc-32.o capture.o Packet.o bssidlist.o display.o -lpthread -lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm /usr/bin/ld: cannot find -lpcap collect2: ld returned 1 exit status make[2]: *** [airsnort] Error 1 make[2]: Leaving directory `/root/Desktop/Airsnort-0.2.1a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/Airsnort-0.2.1a' make: *** [all-recursive-am] Error 2 [root@localhost Airsnort-0.2.1a]#" that "/usr/bin/ld isn't a directory, its a file, so i can't even see whats in it... and i have pcap installed. (kismet works... thats fine, but i just can't get this running) please help? RAMBO |
|
|
|
|
|
#2 (permalink) |
|
Registered Member
Join Date: Apr 2002
Posts: 11
|
Maybe you have pcap installed, but the linker can not find it. So you have to tell him where to look.
- Find Library-Directory with libpcap.so - Include -Ldirname in Makefile (i.e. -L/usr/local/lib) - compile Hope this helps ew123 |
|
|
|
|
|
#4 (permalink) | |
|
Cowboy Stumbler!
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
|
Quote:
they're not on the airsnort sourceforge page and a loooong google search turned up nothing... are they trying to hide them from me???RAMBO |
|
|
|
|