On Mon, 27 Dec 2004 18:48:50 +0800, Paolo Alexis Falcone
<[EMAIL PROTECTED]> wrote:
> On Mon, 27 Dec 2004 16:13:03 +0800, roderick tapang <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > i need your help - i'm compiling pingtunnel on a slacware 10 machine.
> > i can't figure what the following errors are all about:
> >
> > [EMAIL PROTECTED]/pingtunnel# make
> >
> > gcc -Wall -g -MM *.c > .depend
> > gcc -Wall -g -c -o ptunnel.o ptunnel.c
> > gcc -lpthread -lpcap -o ptunnel ptunnel.o
> > ptunnel.o(.text+0x71f): In function `pt_proxy':
> > /home/erik/pingtunnel/ptunnel.c:232: undefined reference to `pcap_open_live'
> > ptunnel.o(.text+0x75a):/home/erik/pingtunnel/ptunnel.c:234: undefined
> > reference to `pcap_lookupnet'
> > ptunnel.o(.text+0x7ca):/home/erik/pingtunnel/ptunnel.c:237: undefined
> > reference to `pcap_compile'
> > ptunnel.o(.text+0x7f2):/home/erik/pingtunnel/ptunnel.c:239: undefined
> > reference to `pcap_close'
> > ptunnel.o(.text+0x816):/home/erik/pingtunnel/ptunnel.c:242: undefined
> > reference to `pcap_setfilter'
> > ptunnel.o(.text+0x83e):/home/erik/pingtunnel/ptunnel.c:244: undefined
> > reference to `pcap_close'
> > ptunnel.o(.text+0x11fd):/home/erik/pingtunnel/ptunnel.c:346: undefined
> > reference to `pcap_dispatch'
> > collect2: ld returned 1 exit status
> > make: *** [ptunnel] Error 1
> >
> > libpcap is installed. google.com/linux search suggest to specify the
> > path for libpcap in the Makefile (ie -l/usr/lib/libpcap.a) - but still
> > has the same error (after running make clean | make all
> >
> 
> Are you sure the developer libraries and headers are installed in the
> right places?

yes they are. the web page for the program only says to make sure libpcap
is installed. compiling other apps is ok. only this one.
any other ideas?
 
> --
> Paolo Alexis Falcone
> [EMAIL PROTECTED]

thanks.

-- 
roderick e. tapang
retapang at gmail dot com

(o_.'       http://counter.li.org/
//\         ----------------------
V_/_        Linux User   #  253842
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to