From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 19:06:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8EE41065674; Wed, 28 Apr 2010 19:06:20 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 741D78FC0A; Wed, 28 Apr 2010 19:06:20 +0000 (UTC) Received: by qyk11 with SMTP id 11so18560449qyk.13 for ; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dkxbZtTwHauUQEzVKbUfNWAmIgy8Mtv+399O3Hp9p7Y=; b=DLiks5NRz12eicraSq5pZi5jCRnFNXdPktYl29dyTckciFf/wbJEV3cW2YlfpMrcCX BQDEGSEzzBP6kaHZCVgb1oxznoGRtekkpYCjxuO6NBtJ4Cax5q7ONC88czfSpt529B/u jnKaDiUhn0FPBsgl/LZ77TuRvhaaeuFAcCAS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cJlszrHzqBxhgDuL6CjUf1oajS5RzFREeUVcj9PHG+T3BxQH2vFvaX8BtI/qA8xy+V Cb0OY2n4Rl86IDqvhmREky5BSAct4uXugRGBOp8yIZj6xd5YT7kOYzAE9V22Oz9AsBGj HCCW+oJdGJuODFLEAXol9AnEct9etAqgfbhzM= MIME-Version: 1.0 Received: by 10.229.235.193 with SMTP id kh1mr9851291qcb.106.1272481572640; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) In-Reply-To: <20100428184933.GA27186@Melon.malikania.fr> References: <20100428184933.GA27186@Melon.malikania.fr> Date: Wed, 28 Apr 2010 12:06:12 -0700 Message-ID: From: Garrett Cooper To: Demelier David Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, bms@freebsd.org, freebsd-questions@freebsd.org Subject: Re: buildworld fails on ifmcstat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:06:21 -0000 On Wed, Apr 28, 2010 at 11:49 AM, Demelier David 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