Francois-Xavier Le Bail wrote:
Hi,
I try to build tcpdump-current (tcpdump-2007.07.20) and have these errors (no
problem with build of v3.9.5) :
System : x86 - gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
-----------------------------------------------------------------------------------
gcc -O2 -DHAVE_CONFIG_H -I./missing -D_U_="__attribute__((unused))" -I.
-I./../libpcap-2007.07.20 -I./missing -o tcpdump addrtoname.o af.o checksum.o cpack.o
gmpls.o oui.o gmt2local.o ipproto.o nlpid.o l2vpn.o machdep.o parsenfsfh.o print-802_11.o
print-ap1394.o print-ah.o print-arcnet.o print-aodv.o print-arp.o print-ascii.o
print-atalk.o print-atm.o print-beep.o print-bfd.o print-bgp.o print-bootp.o print-cdp.o
print-cfm.o print-chdlc.o print-cip.o print-cnfp.o print-dccp.o print-decnet.o
print-domain.o print-dtp.o print-dvmrp.o print-enc.o print-egp.o print-eap.o
print-eigrp.o print-esp.o print-ether.o print-fddi.o print-fr.o print-gre.o print-hsrp.o
print-icmp.o print-igmp.o print-igrp.o print-ip.o print-ipcomp.o print-ipfc.o print-ipx.o
print-isakmp.o print-isoclns.o print-juniper.o print-krb.o print-l2tp.o print-lane.o
print-ldp.o print-llc.o print-lmp.o print-lspping.o print-lwres.o print-mobile.o
print-mpcp.o print-mpls.o print-msdp.o print-nfs.o print-ntp.o
print-null.o print-olsr.o print-ospf.o print-pflog.o print-pgm.o print-pim.o
print-ppp.o print-pppoe.o print-pptp.o print-radius.o print-raw.o print-rip.o
print-rsvp.o print-rx.o print-sctp.o print-sip.o print-sl.oprint-sll.o
print-slow.o print-snmp.o print-stp.o print-sunatm.o
print-sunrpc.oprint-symantec.o print-syslog.o print-tcp.o print-telnet.o
print-tftp.o print-timed.o print-token.o print-udld.o print-udp.o print-vjc.o
print-vqp.o print-vrrp.o print-vtp.o print-wb.o print-zephyr.o setsignal.o
tcpdump.o util.o version.o print-ip6.o print-ip6opts.o print-mobility.o
print-ripng.o print-icmp6.o print-frag6.o print-rt6.o print-ospf6.o
print-dhcp6.o print-smb.o smbutil.o strlcat.o strlcpy.o datalinks.o dlnames.o
pcap_dump_ftell.o bpf_dump.o ./../libpcap-2007.07.20/libpcap.a
./../libpcap-2007.07.20/libpcap.a(pcap.o)(.text+0x270): In function
`pcap_list_datalinks':
: multiple definition of `pcap_list_datalinks'
datalinks.o(.text+0x0): first defined here
It appears that the configure script thinks libpcap doesn't have
pcap_list_datalinks() and that your libpcap *does* have it (and that
this is true of a bunch of other newer libpcap functions as well).
Do you have the config.log script from when you ran configure?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.