From owner-freebsd-current@FreeBSD.ORG Tue Jul 9 15:57:14 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E9C5258B for ; Tue, 9 Jul 2013 15:57:14 +0000 (UTC) (envelope-from alie@afflemedialab.com) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) by mx1.freebsd.org (Postfix) with ESMTP id B119619BE for ; Tue, 9 Jul 2013 15:57:14 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id l10so3059941qcy.4 for ; Tue, 09 Jul 2013 08:57:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=84VwvKJ/ZhWU+rtGLur7sex2U/MxjB6Jp43f2z3ED+A=; b=pZIKIAgPBK3lQRYa6X3pTGyx38eezh0JTJ4agJ4lCdgyboSi5m9TyflwVwLRrul+HU KMPhnkqptKTfsg6axynaq6BGFFrmP41tLwCpM87/Ppw6/VTRAR7F8uMf3dS1w61CfVB7 ZCcYmpXcge6lQxSgtiXejg3D3CDXSjm0p13HsveV3jY1LORVyJ/r9vNMm2Ui8oDDt0Cc fvZNsFVPmdwcz6RZ1Ge0027piZf3lW3WAWbwpJgPx4QrxyGIH5ET5CU/5utj2ThnBe3z qVyWP9iuYSMLd7bNCCRhQ6L7ZqnabAYgqz1UySj/C9EbcJIJ9zkiBnrDDEGcOltCr9pc zebQ== MIME-Version: 1.0 X-Received: by 10.49.85.199 with SMTP id j7mr21049467qez.45.1373385057932; Tue, 09 Jul 2013 08:50:57 -0700 (PDT) Received: by 10.49.84.168 with HTTP; Tue, 9 Jul 2013 08:50:57 -0700 (PDT) In-Reply-To: <20130709173233.275469b4@ernst.home> References: <20130709173233.275469b4@ernst.home> Date: Tue, 9 Jul 2013 23:50:57 +0800 Message-ID: Subject: Re: kernel compile broken in latest HEAD From: Alie Tan To: gljennjohn@googlemail.com X-Gm-Message-State: ALoCoQm/UETuAmwUuo6WcgI4Q9OYbSg8hpx0BzueUEpYCLfb+znkEEr4bmRbb33d/6Smkfc0kqNj X-Mailman-Approved-At: Tue, 09 Jul 2013 17:16:16 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 09 Jul 2013 15:57:15 -0000 On Tue, Jul 9, 2013 at 11:32 PM, Gary Jennejohn wrote: > I just saw this breakage while compiling a kernel on HEAD updated > minutes ago: > > -------------------------------------------------------------- > >>> stage 3.2: building everything > -------------------------------------------------------------- > cc1: warnings being treated as errors > Try declare below lines to your /etc/src.conf as workaround NO_WERROR= WERROR= > In file included from > /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:91: > @/contrib/v4l/videodev2.h:430: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:460: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:837: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:930: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:1478: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:1600: warning: declaration does not declare > anything > @/contrib/v4l/videodev2.h:1651: warning: declaration does not declare > anything > --- linux_ioctl.o --- > *** [linux_ioctl.o] Error code 1 > > make: stopped in /usr/src/sys/modules/linux > 1 error > > These line numbers all point at nameless unions. > > Seems to me that a union needs a name, otherwise one cannot > access its contents. > > I simply named them all x to get the kernel to compile, which > succeeded. > > It seems that none of these unions are used at the moment. > > -- > Gary Jennejohn > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >