|
libpcap install errors
Hi. First post, so mock me if you must. i'm trying to install libpcap 0.4. when i do, i get errors. i'm running red hat 9. Here's the damage......
[root@localhost libpcap-0.4]# ls
aclocal.m4 ethertype.h linux-include pcap-enet.c pcap-pf.h
bpf FILES Makefile.in pcap.h pcap-snit.c
bpf_image.c gencode.c mkdep pcap-int.h pcap-snoop.c
CHANGES gencode.h nametoaddr.c pcap-linux.c ppp.h
config.guess grammar.y optimize.c pcap-namedb.h README
config.sub inet.c pcap.3 pcap-nit.c savefile.c
configure INSTALL pcap-bpf.c pcap-nit.h scanner.l
configure.in install-sh pcap.c pcap-null.c SUNOS4
etherent.c lbl pcap-dlpi.c pcap-pf.c VERSION
[root@localhost libpcap-0.4]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking gcc version... 3
checking how to run the C preprocessor... gcc -E
checking for malloc.h... yes
checking for sys/ioccom.h... no
checking for sys/sockio.h... no
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... yes
checking packet capture type... linux
checking for net/if_arp.h... yes
checking Linux kernel version... 2
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if unaligned accesses fail... no
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
[root@localhost libpcap-0.4]# make
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./pcap-linux.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./pcap.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./inet.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./gencode.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./optimize.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./nametoaddr.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./etherent.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./savefile.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./bpf_filter.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./bpf_image.c
flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
bison -y -p pcap_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./scanner.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -Dyylval=pcap_lval -c grammar.c
sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c
gcc -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STR
ERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./version.c
ar rc libpcap.a pcap-linux.o pcap.o inet.o gencode.o optimize.o nametoaddr.o eth
erent.o savefile.o bpf_filter.o bpf_image.o scanner.o grammar.o version.o
ranlib libpcap.a
and i'm completely lost. any advice would be nice.
|