Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!psinntp!psinntp!psinntp!ivgreen2.cellerity.com!pubxfer.news.psi.net!dan.emsphone.com!not-for-mail From: dan@dan.emsphone.com (Dan Nelson) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: pcap Date: 24 Aug 1996 23:01:27 GMT Organization: Executive Marketing Services, Inc. Lines: 22 Message-ID: <4vo1k7$k6t@client3.news.psi.net> References: <321E250C.41C67EA6@kzin.dorm.umd.edu> Reply-To: dnelson@emsphone.com (Dan Nelson) NNTP-Posting-Host: 199.67.51.101 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960805] Gary L. Jackson <garyj@kzin.dorm.umd.edu> 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