[Winpcap-users] (no subject)

Goran Štrok goran.strok at uni-mb.si
Tue Apr 24 08:49:01 GMT 2007


I would ask, how to install libpcap, which is needed for pcap programing. I use libpcap-0.9.5 from web, try to configure it (with: gcc ./configure). Then give me on screen this error:


$ ./configure
checking build system type... ii586-pc-cygwin
checking host system type... ii586-pc-cygwin
checking target system type... i586-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version...
./configure: test: -gt: unary operator expected
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
cheching for netinet/if_ether.h... no
configure: Recheching with some additional includes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info



So I can not to compile pcap programs. If I try to compile anyway, gives me an error: undefined reference to ´pcap_lookupdev´.
If know, what goes wrong when I try to configure libpcap pleasse help. I use win2000 and gcc.

Regards, Goran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070424/bd1d728b/attachment.htm


More information about the Winpcap-users mailing list