p5-Net-Pcap fails to compile

Jukka A. Ukkonen jau at iki.fi
Thu Dec 27 21:00:38 PST 2007


	See this...

Running Mkbootstrap for Net::Pcap ()
chmod 644 Pcap.bs
rm -f blib/arch/auto/Net/Pcap/Pcap.so
LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib Pcap.o -o
blib/arch/auto/Net/Pcap/Pcap.so       -lpcap
/usr/local/lib/libpcap.a(pcap.o)(.text+0x650): In function
`pcap_list_datalinks':
: multiple definition of `pcap_list_datalinks'
Pcap.o(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `pcap_list_datalinks' changed from 32 in
Pcap.o to 228 in /usr/local/lib/libpcap.a(pcap.o)
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15.
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap.

	I hope that helps. - Happy new year.


	Cheers,
		// jau
.---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
  /    Jukka A. Ukkonen,                             Oxit Ltd, Finland
 /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
   /   Internet: Jukka.Ukkonen(a)Oxit.Fi        (Home) +358-9-6215-280
  /    Internet: jau(a)iki.fi
 v
        .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
+ + + + My opinions are mine and mine alone, not my employers. + + + +


More information about the freebsd-perl mailing list