Saqib Ali (saqib) wrote:
> gcc -o .libs/radsniff .libs/radsniff.o 
> /root/freeradius-server-2.1.10/src/lib/.libs/libfreeradius-radius.so
> -lnsl -lresolv -lpthread -lpcap  -Wl,--rpath -Wl,/usr/local/lib
> 
> .libs/radsniff.o(.text+0xd13): In function `main':
> 
> /root/freeradius-server-2.1.10/src/main/radsniff.c:489: undefined
> reference to `pcap_dump_fopen'

  Edit src/main/Makefile.  Find the line saying:

PCAP_LIBS       = -lpcap

  and change it to

PCAP_LIBS       =

  Then "make all install"

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to