From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 19:30:28 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E97106564A for ; Mon, 4 Aug 2008 19:30:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id A7F5C8FC15 for ; Mon, 4 Aug 2008 19:30:27 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-001-120.pools.arcor-ip.net [88.66.1.120]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1KQ5lC1uFe-0000hy; Mon, 04 Aug 2008 21:30:26 +0200 Received: (qmail 66404 invoked from network); 4 Aug 2008 19:30:26 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by ns1.laiers.local with SMTP; 4 Aug 2008 19:30:26 -0000 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org, Beech Rintoul Date: Mon, 4 Aug 2008 21:30:25 +0200 User-Agent: KMail/1.9.52 (FreeBSD/8.0-CURRENT; KDE/4.0.83; i386; ; ) References: <200808041127.25511.beech@freebsd.org> In-Reply-To: <200808041127.25511.beech@freebsd.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_Sj1lI1KUefLoqCS" Message-Id: <200808042130.26025.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/G4M5znaUIN4b5zFsA/Ezoi3+enuOTLk+VKuU EJ0W5iVYC++s6rbLFYzrh86m0kHXYV/tjna6ua1bxrsnkO8KyE kckClUgPQA8WaentEwGcg== Cc: Subject: Re: IPFilter build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 19:30:28 -0000 --Boundary-00=_Sj1lI1KUefLoqCS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Monday 04 August 2008 21:27:22 Beech Rintoul wrote: > I've been getting the following trying to build current. I > nuked /usr/obj and have downloaded fresh sources: > > 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+0x240): 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 > > uname -a: > FreeBSD stargate.alaskaparadise.com 8.0-CURRENT FreeBSD 8.0-CURRENT > #31: Sun Jul 27 02:48:49 AKDT 2008 > > Anyone have a clue how to fix this? Please test the attached ... sent it to a similar report in cvs@ a few days back, but did not get any feedback. Are you using WITHOUT_DYNAMICROOT? -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-00=_Sj1lI1KUefLoqCS Content-Type: text/x-patch; charset="iso-8859-1"; name="ip_fil.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ip_fil.c.diff" Index: ip_fil.c =================================================================== --- ip_fil.c (revision 180989) +++ ip_fil.c (working copy) @@ -803,6 +803,7 @@ } +#ifndef ipf_random u_32_t ipf_random() { static int seeded = 0; @@ -816,3 +817,4 @@ } return rand(); } +#endif --Boundary-00=_Sj1lI1KUefLoqCS--