<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE></TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>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:<BR>
<BR>
<BR>
$ ./configure<BR>
checking build system type... ii586-pc-cygwin<BR>
checking host system type... ii586-pc-cygwin<BR>
checking target system type... i586-pc-cygwin<BR>
checking for gcc... gcc<BR>
checking for C compiler default output file name... a.exe<BR>
checking whether the C compiler works... yes<BR>
checking whether we are cross compiling... no<BR>
checking for suffix of executables... .exe<BR>
checking for suffix of object files... o<BR>
checking whether we are using the GNU C compiler... yes<BR>
checking whether gcc accepts -g... yes<BR>
checking for gcc option to accept ANSI C... none needed<BR>
checking gcc version...<BR>
./configure: test: -gt: unary operator expected<BR>
checking for inline... inline<BR>
checking for __attribute__... yes<BR>
checking for u_int8_t using gcc... yes<BR>
checking for u_int16_t using gcc... yes<BR>
checking for u_int32_t using gcc... yes<BR>
checking how to run the C preprocessor... gcc -E<BR>
checking for egrep... grep -E<BR>
checking for ANSI C header files... yes<BR>
checking for sys/types.h... yes<BR>
checking for sys/stat.h... yes<BR>
checking for stdlib.h... yes<BR>
checking for string.h... yes<BR>
checking for memory.h... yes<BR>
checking for strings.h... yes<BR>
checking for inttypes.h... no<BR>
checking for stdint.h... no<BR>
checking for unistd.h... yes<BR>
checking sys/ioccom.h usability... no<BR>
checking sys/ioccom.h presence... no<BR>
checking for sys/ioccom.h... no<BR>
checking sys/sockio.h usability... no<BR>
checking sys/sockio.h presence... no<BR>
checking for sys/sockio.h... no<BR>
checking limits.h usability... yes<BR>
checking limits.h presence... yes<BR>
checking for limits.h... yes<BR>
cheching for netinet/if_ether.h... no<BR>
configure: Recheching with some additional includes<BR>
checking for netinet/if_ether.h... no<BR>
checking for ANSI ioctl definitions... no<BR>
configure: error: see the INSTALL for more info<BR>
<BR>
<BR>
<BR>
So I can not to compile pcap programs. If I try to compile anyway, gives me an error: undefined reference to ´pcap_lookupdev´.<BR>
If know, what goes wrong when I try to configure libpcap pleasse help. I use win2000 and gcc.<BR>
<BR>
Regards, Goran</FONT>
</P>
</BODY>
</HTML>