hello sir/madam
  When I install Libpcap I found the error...

  While doing ./configure the make file is not created

  here the display of ./configure

[EMAIL PROTECTED] libpcap-0.6.2]# ./configure
loading 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... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... (cached) 3
checking for inline... (cached) inline
checking for __attribute__... (cached) yes
checking for u_int8_t using gcc... (cached) yes
checking for u_int16_t using gcc... (cached) yes
checking for u_int32_t using gcc... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/ioccom.h... (cached) no
checking for sys/sockio.h... (cached) no
checking for ifaddrs.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for ANSI ioctl definitions... (cached) yes
checking for ether_hostton... (cached) yes
checking for strerror... (cached) yes
checking for freeifaddrs... (cached) yes
checking for strlcpy... (cached) no
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking if --enable-ipv6 option is specified... no
checking for netpacket/packet.h... (cached) yes
checking Linux kernel version... (cached) 2
checking for flex... (cached) flex
checking for flex 2.4 or higher... (cached) yes
checking for bison... (cached) bison
checking for ranlib... (cached) ranlib
checking if sockaddr struct has sa_len member... (cached) no
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... (cached) no
checking if unaligned accesses fail... (cached) no
ln: creating symbolic link `net' to `./bpf/net': Operation not permitted
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
[EMAIL PROTECTED] libpcap-0.6.2]#


So when I type "make all" Its is full of error

 Here are there

[EMAIL PROTECTED] libpcap-0.6.2]# make all
gcc -O2 -I.  -DHAVE_CONFIG_H -c ./pcap-linux.c
In file included from pcap-int.h:43,
                 from pcap-linux.c:61:
pcap.h:42:21: net/bpf.h: No such file or directory
In file included from pcap-int.h:43,
                 from pcap-linux.c:61:
pcap.h:145: warning: `struct bpf_program' declared inside parameter list
pcap.h:145: warning: its scope is only this definition or declaration, which is
probably not what you want
pcap.h:150: warning: `struct bpf_program' declared inside parameter list
pcap.h:152: warning: `struct bpf_program' declared inside parameter list
pcap.h:153: warning: `struct bpf_program' declared inside parameter list
pcap.h:169: warning: `struct bpf_insn' declared inside parameter list
pcap.h:170: warning: `struct bpf_insn' declared inside parameter list
pcap.h:171: warning: `struct bpf_insn' declared inside parameter list
pcap.h:172: warning: `struct bpf_program' declared inside parameter list
In file included from pcap-linux.c:61:
pcap-int.h:105: field `fcode' has incomplete type
pcap-linux.c:165: warning: `struct bpf_insn' declared inside parameter list
pcap-linux.c:466: conflicting types for `pcap_setfilter'
pcap.h:145: previous declaration of `pcap_setfilter'
pcap-linux.c: In function `map_arphrd_to_dlt':
pcap-linux.c:606: `DLT_EN10MB' undeclared (first use in this function)
pcap-linux.c:606: (Each undeclared identifier is reported only once
pcap-linux.c:606: for each function it appears in.)
pcap-linux.c:607: `DLT_EN3MB' undeclared (first use in this function)
pcap-linux.c:608: `DLT_AX25' undeclared (first use in this function)
pcap-linux.c:609: `DLT_PRONET' undeclared (first use in this function)
pcap-linux.c:610: `DLT_CHAOS' undeclared (first use in this function)
pcap-linux.c:615: `DLT_IEEE802' undeclared (first use in this function)
pcap-linux.c:616: `DLT_ARCNET' undeclared (first use in this function)
pcap-linux.c:617: `DLT_FDDI' undeclared (first use in this function)
pcap-linux.c:622: `DLT_ATM_CLIP' undeclared (first use in this function)
pcap-linux.c:635: `DLT_RAW' undeclared (first use in this function)
pcap-linux.c: In function `live_open_new':
pcap-linux.c:704: `DLT_EN10MB' undeclared (first use in this function)
pcap-linux.c:707: `DLT_RAW' undeclared (first use in this function)
pcap-linux.c:746: `DLT_LINUX_SLL' undeclared (first use in this function)
pcap-linux.c: In function `fix_program':
pcap-linux.c:1269: invalid use of undefined type `struct bpf_insn'
pcap-linux.c:1269: dereferencing pointer to incomplete type
pcap-linux.c:1273: dereferencing pointer to incomplete type
pcap-linux.c:1281: dereferencing pointer to incomplete type
pcap-linux.c:1295: dereferencing pointer to incomplete type
pcap-linux.c:1296: dereferencing pointer to incomplete type
pcap-linux.c:1306: dereferencing pointer to incomplete type
pcap-linux.c:1319: warning: passing arg 1 of `fix_offset' from incompatible 
pointer type
pcap-linux.c: At top level:
pcap-linux.c:1337: warning: `struct bpf_insn' declared inside parameter list
pcap-linux.c:1338: conflicting types for `fix_offset'
pcap-linux.c:165: previous declaration of `fix_offset'
pcap-linux.c: In function `fix_offset':
pcap-linux.c:1342: dereferencing pointer to incomplete type
pcap-linux.c:1349: dereferencing pointer to incomplete type
pcap-linux.c:1350: dereferencing pointer to incomplete type
pcap-linux.c:1355: dereferencing pointer to incomplete type
make: *** [pcap-linux.o] Error 1
[EMAIL PROTECTED] libpcap-0.6.2]#

I am in the need of help plz. do reply me soon 

 Thanking you for the reply......



LaNgEsHfOrYoU-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to