From owner-freebsd-hackers Sun Aug 25 13:26:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02860 for hackers-outgoing; Sun, 25 Aug 1996 13:26:59 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA02793 for ; Sun, 25 Aug 1996 13:26:51 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id GAA24851 for ; Sun, 25 Aug 1996 06:50:05 -0700 (PDT) Received: from axp5.physik.fu-berlin.de (axp5.fddi5B.fu-berlin.de) by mail.crl.com with SMTP id AA24130 (5.65c/IDA-1.5 for ); Sun, 25 Aug 1996 06:47:29 -0700 Received: from mordillo (graichen.dialup.fu-berlin.de [160.45.217.183]) by axp5.physik.fu-berlin.de (8.7.1/8.7.1) with ESMTP id MAA10458 for ; Sun, 25 Aug 1996 12:48:48 +0200 (MET DST) Received: (from graichen@localhost) by mordillo (8.6.12/8.6.12) id KAA02135 for hackers@FreeBSD.org; Sun, 25 Aug 1996 10:04:39 +0200 Date: Sun, 25 Aug 1996 10:04:39 +0200 From: Thomas Graichen Message-Id: <199608250804.KAA02135@mordillo> To: hackers@FreeBSD.ORG Subject: (fwd) Re: pcap Newsgroups: comp.unix.bsd.freebsd.misc Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk from comp.unix.bsd.freebsd.misc - is this fixed in -current ? Gary L. Jackson wrote: > This is probably the entirely wrong place to pose this question, but > I'm not sure where to ask it so I'm going to go ahead and ask it > here: > > I am trying to learn how to use pcap, so I wrote this very simple > program so I can start testing the waters: [program snipped] > And I get this error: > ld.so failed: Undefined symbol "_fddipad" in a.out:/usr/lib/libpcap.so.2.0 > > What the heck am I missing? And where should I go for more information? You're missing a bug-free libpcap :). The pcap library included with FreeBSD mis-declares fddipad as extern (in /usr/src/lib/libpcap/gencode.c). Remove the extern keyword and recompile. Or you could get the latest and greatest libpcap from ftp.ee.lbl.gov/libpcap.tar.Z, which compiles on FreeBSD out of the box. -Dan Nelson dnelson@emsphone.com -- thomas graichen graichen@mail.physik.fu-berlin.de graichen@FreeBSD.org perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away antoine de saint-exupery