Date: Wed, 28 Apr 2010 12:06:12 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: Demelier David <demelier.david@gmail.com> Cc: freebsd-stable@freebsd.org, bms@freebsd.org, freebsd-questions@freebsd.org Subject: Re: buildworld fails on ifmcstat Message-ID: <i2j7d6fde3d1004281206o23b317efy98e8b68f1a8c574@mail.gmail.com> In-Reply-To: <20100428184933.GA27186@Melon.malikania.fr> References: <20100428184933.GA27186@Melon.malikania.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 28, 2010 at 11:49 AM, Demelier David <demelier.david@gmail.com> wrote: > Hi, > =A0 =A0 =A0 =A0I tried to make buildworld with a custom src.conf to preve= nt many > =A0 =A0 =A0 =A0useless things since I want to build for a jail. > > =A0 =A0 =A0 =A0This is what I added: > > =A0 =A0 =A0 =A0.if defined(BUILD_JAIL) > =A0 =A0 =A0 =A0WITHOUT_ACPI=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_APM=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GAMES=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AMD=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AUTHPF=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AUDIT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BLUETOOTH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BOOT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BSNMP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_CDDL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_DICT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_EXAMPLES=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_FORTH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GCOV=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_FLOPPY=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GPIB=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_HTML=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPFILTER=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPX=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPFW=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_JAIL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_KVM=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LEGACY_CONSOLE=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LIB32=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LPR=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NDIS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NETCAT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NETGRAPH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NIS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NTP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PF=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PORTSNAP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PPP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_QUOTAS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SENDMAIL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_RESCUE=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SHAREDOCS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SYSCONS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SYSINSTALL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_USB=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_WIRELESS=3D"YES" > =A0 =A0 =A0 =A0.endif > > =A0 =A0 =A0 =A0make BUILD_JAIL=3Dyes buildworld now fails on : > > =A0 =A0 =A0 =A0=3D=3D=3D> usr.sbin/ifmcstat (all) > =A0 =A0 =A0 =A0cc -O2 -pipe =A0-DINET6 -std=3Dgnu99 -fstack-protector -Ws= ystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer= -sign -c /usr/src/usr.sbin/ifmcstat/ifmcstat.c > =A0 =A0 =A0 =A0cc1: warnings being treated as errors > =A0 =A0 =A0 =A0/usr/src/usr.sbin/ifmcstat/ifmcstat.c:170: warning: 'in6_i= finfo' used but never defined > =A0 =A0 =A0 =A0*** Error code 1 I would avoid the cross-post next time. The issue might be that that application should be properly compiled when WITHOUT_INET6 is specified, but it's kind of odd though because you don't have that specified above... If you looked through the source around line 170 you'll find out that that function requires WITH_KVM to be defined as well in order for you to use the function definition (and not just the prototype). I've CCed bms@ for assistance. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?i2j7d6fde3d1004281206o23b317efy98e8b68f1a8c574>