Build fails with IPF

From: Beech Rintoul <beech_at_freebsd.org>
Date: Mon, 28 Jul 2008 10:10:45 -0800
Hi, I'm getting this build failure on -current since the recent update 
of IPF:

cc -O2 -pipe  -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP  -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -I. -I/usr/src/sbin/ipf/ipftest/../../../contrib/ipfilter -I/usr/src/sbin/ipf/ipftest/../../../contrib/ipfilter/tools -I/usr/src/sbin/ipf/ipftest/../../../sys -I/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -fstack-protector -Wno-pointer-sign  -static -o 
ipftest ipftest.o fil.o ip_frag.o ip_state.o ip_nat.o ip_proxy.o 
ip_auth.o ip_htable.o ip_lookup.o ip_pool.o ip_scan.o ip_sync.o 
ip_rules.o ip_fil.o ip_log.o ippool_y.o ippool_l.o ipf_y.o ipf_l.o 
ipnat_y.o ipnat_l.o md5.o radix.o 
bpf_filter.o /usr/obj/usr/src/sbin/ipf/ipftest/../libipf/libipf.a -lkvm
/usr/obj/usr/src/tmp/usr/lib/libc.a(arc4random.o)(.text+0x230): In 
function `arc4random':
: multiple definition of `arc4random'
ip_fil.o(.text+0x80): first defined here
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `arc4random' 
changed from 43 in ip_fil.o to 421 
in /usr/obj/usr/src/tmp/usr/lib/libc.a(arc4random.o)
*** Error code 1

Any suggestions?

Beech
-- 
---------------------------------------------------------------------------------------
Beech Rintoul - FreeBSD Developer - beech_at_FreeBSD.org
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---------------------------------------------------------------------------------------
Received on Mon Jul 28 2008 - 16:26:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC