LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-09-2005, 11:23 PM   #1
realnewatthis
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
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.
 
Old 01-10-2005, 07:48 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Well there's no errors
everything is fine, you can do the next step: make install

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install libpcap question in debian lnx8 Linux - Software 2 09-27-2004 11:23 PM
Can't access libpcap library :( inthefuture Programming 8 06-24-2004 05:30 PM
Two questions about libpcap. smn Programming 2 11-19-2003 06:02 PM
libpcap trojan baduba Linux - Security 3 11-20-2002 06:00 AM
libpcap oulevon Linux - General 1 09-25-2001 09:06 AM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration