Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1113 - tcpdump doesn't link with libpcap

Attached to Project: Arch Linux
Opened by Jason Chu (jason) - Monday, 12 July 2004, 19:29 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

gcc -O2 -march=i586 -O2 -pipe -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -I. -I./missing -I/usr//include -L/usr//lib -o tcpdump addrtoname.o gmpls.o gmt2local.o machdep.o oui.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-chdlc.o print-cip.o print-cnfp.o print-decnet.o print-domain.o print-dvmrp.o print-enc.o print-egp.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-krb.o print-l2tp.o print-lane.o print-ldp.o print-llc.o print-lwres.o print-mobile.o print-mpls.o print-msdp.o print-nfs.o print-ntp.o print-null.o print-ospf.o print-pflog.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-sl.o print-sll.o print-snmp.o print-stp.o print-sunatm.o print-sunrpc.o print-tcp.o print-telnet.o print-tftp.o print-timed.o print-token.o print-udp.o print-vjc.o print-vrrp.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 -lpcap
tcpdump.o(.text+0x89a): In function `main':
: undefined reference to `pcap_debug'
collect2: ld returned 1 exit status
make: *** [tcpdump] Error 1

Earlier, the configure script finds that exact function:
checking whether pcap_debug is defined by libpcap... yes

but if you nm the libpcap.so file, you won't find that exact symbol name.
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 12 July 2004, 19:59 GMT
Reason for closing:  Fixed

Loading...