*BSD News Article 76868


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!chi-news.cic.net!newspump.sol.net!nntp04.primenet.com!nntp.primenet.com!news.mathworks.com!newsfeed.internetmci.com!solaris.cc.vt.edu!server.cs.vt.edu!ceharris
From: ceharris@mal.com (Carl Harris)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pcap
Date: 25 Aug 1996 10:53:23 GMT
Organization: Maladjusted Communications
Lines: 17
Message-ID: <4vpbb3$ji3@server.cs.vt.edu>
References: <321E250C.41C67EA6@kzin.dorm.umd.edu> <4vogao$37g@dhp.com>
Reply-To: ceharris@mal.com
NNTP-Posting-Host: mal9000.mal.com
X-Newsreader: TIN [version 1.2 PL2]

jaeger (jaeger@dhp.com) wrote:
: : 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 need to declare an 'int fddipad' globally for pcap programs to
: link.  This really should be documented; libpcap has been upgraded recently
: but I'm not sure if the docs have.


Another workaround is to link against libpcap.a instead of the shared
library libpcap.so.2.0 -- evidently the static library declares fddipad.

--
Carl Harris
Systems Engineer
CNS Research and Planning, Virginia Tech
ceharris@vt.edu