tcpdump mailing list archives
Re: Unable to build tcpdump 4.0.0 [Debian 2.6.26-2
From: Javier Gálvez Guerrero <javier.galvez.guerrero () gmail com>
Date: Mon, 4 May 2009 09:31:58 +0200
Hi, Michael. Thanks for your attention. Here is the ./configure output (attached is the config.log file): spike:/home/dulceangustia/libpcap-1.0.0# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ISO C89... none needed checking gcc version... 4 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 for u_int64_t using gcc... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGEFILE_SOURCE value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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... yes checking for stdint.h... yes 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 checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for net/pfvar.h... no checking for netinet/if_ether.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... no checking for vsnprintf... yes checking for snprintf... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... none required checking for ether_hostton... yes checking whether ether_hostton is declared... no checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled checking packet capture type... linux checking Linux kernel version... 2 checking for linux/wireless.h... no checking if if_packet.h has tpacket_stats defined... yes checking if tpacket_auxdata struct has tp_vlan_tci member... no checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for socklen_t... yes checking for getaddrinfo... yes checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking whether we have /proc/net/dev... yes checking whether we have DAG API headers... no (/usr/local/include) checking whether we have the DAG API... no checking whether we have Septel API... no 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 sockaddr_storage struct exists... yes checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no rm: cannot remove `net': Is a directory checking for USB sniffing support... yes configure: Device for USB sniffing is /dev/usbmon checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no configure: Bluetooth sniffing is not supported; install bluez-lib devel to enable it checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating config.h Here the make output: spike:/home/dulceangustia/libpcap-1.0.0# make gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-linux.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-usb-linux.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' ./VERSION > version.h gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c bpf_filter.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c scanner.l bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-linux.o pcap-usb-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a sed -e 's|@includedir[@]|/usr/local/include|g' \ -e 's|@libdir[@]|/usr/local/lib|g' \ -e 's|@DEPLIBS[@]||g' \ pcap-config.in >pcap-config.tmp mv pcap-config.tmp pcap-config chmod a+x pcap-config And here the make install output: spike:/home/dulceangustia/libpcap-1.0.0# make install [ -d /usr/local/lib ] || \ (mkdir -p /usr/local/lib; chmod 755 /usr/local/lib) /usr/bin/install -c -m 644 libpcap.a /usr/local/lib/libpcap.a ranlib /usr/local/lib/libpcap.a [ -d /usr/local/include ] || \ (mkdir -p /usr/local/include; chmod 755 /usr/local/include) [ -d /usr/local/include/pcap ] || \ (mkdir -p /usr/local/include/pcap; chmod 755 /usr/local/include/pcap) [ -d /usr/local/share/man/man1 ] || \ (mkdir -p /usr/local/share/man/man1; chmod 755 /usr/local/share/man/man1) [ -d /usr/local/share/man/man3 ] || \ (mkdir -p /usr/local/share/man/man3; chmod 755 /usr/local/share/man/man3) [ -d /usr/local/share/man/man5 ] || \ (mkdir -p /usr/local/share/man/man5; chmod 755 /usr/local/share/man/man5) [ -d /usr/local/share/man/man7 ] || \ (mkdir -p /usr/local/share/man/man7; chmod 755 /usr/local/share/man/man7) /usr/bin/install -c -m 644 ./pcap/pcap.h \ /usr/local/include/pcap/pcap.h /usr/bin/install -c -m 644 ./pcap/bpf.h \ /usr/local/include/pcap/bpf.h /usr/bin/install -c -m 644 ./pcap/namedb.h \ /usr/local/include/pcap/namedb.h /usr/bin/install -c -m 644 ./pcap/sll.h \ /usr/local/include/pcap/sll.h /usr/bin/install -c -m 644 ./pcap/usb.h \ /usr/local/include/pcap/usb.h /usr/bin/install -c -m 644 ./pcap.h /usr/local/include/pcap.h /usr/bin/install -c -m 644 ./pcap-bpf.h \ /usr/local/include/pcap-bpf.h /usr/bin/install -c -m 644 ./pcap-namedb.h \ /usr/local/include/pcap-namedb.h /usr/bin/install -c pcap-config /usr/local/bin/pcap-config for i in pcap-config.1; do \ /usr/bin/install -c -m 644 ./$i \ /usr/local/share/man/man1/$i; done for i in pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap pcap_close.3pcap pcap_create.3pcap pcap_datalink_name_to_val.3pcap pcap_datalink_val_to_name.3pcap pcap_dump.3pcap pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap pcap_dump_ftell.3pcap pcap_file.3pcap pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freealldevs.3pcap pcap_freecode.3pcap pcap_free_datalinks.3pcap pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_inject.3pcap pcap_is_swapped.3pcap pcap_lib_version.3pcap pcap_lookupdev.3pcap pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap pcap_next_ex.3pcap pcap_offline_filter.3pcap pcap_open_live.3pcap pcap_set_buffer_size.3pcap pcap_set_datalink.3pcap pcap_set_promisc.3pcap pcap_set_rfmon.3pcap pcap_set_snaplen.3pcap pcap_set_timeout.3pcap pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap pcap_strerror.3pcap pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_list_datalinks.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap; do \ /usr/bin/install -c -m 644 ./$i \ /usr/local/share/man/man3/$i; done ln /usr/local/share/man/man3/pcap_datalink_val_to_name.3pcap \ /usr/local/share/man/man3/pcap_datalink_val_to_description.3pcap ln: creating hard link «/usr/local/share/man/man3/pcap_datalink_val_to_description.3pcap»: El fichero ya existe make: *** [install] Error 1 spike:/home/dulceangustia/libpcap-1.0.0# I assume this 3pcap error (file already exists) has nothing to do with my problem, although I'm not sure about it and I don't know how to avoid it. Any idea about how can I solve this issue? Hope to get any help in such 'simple' problem (which I'm not able to solve =) ). Thanks for your time, Javi 2009/5/1 Michael Richardson <mcr () sandelman ottawa on ca>
"Javier" == Javier Gálvez Guerrero <javier.galvez.guerrero () gmail com>writes: Javier> I'm using Debian Lenny (kernel 2.6.26-2) and I had libpcap I run the same distro. what is the ./configure, etc. output when you built libpcap? -- ] Y'avait une poule de jammé dans l'muffler!!!!!!!!! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mcr () sandelman ottawa on ca http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Attachment:
config.log
Description:
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 - libpcap 1.0.0] Javier Gálvez Guerrero (Apr 30)
- Re: Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 - libpcap 1.0.0] Michael Richardson (Apr 30)
- Re: Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 Javier Gálvez Guerrero (May 04)
- Re: Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 Javier Gálvez Guerrero (May 04)
- Re: Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 - libpcap 1.0.0] Michael Richardson (Apr 30)