Date: Tue, 9 Jul 2013 23:50:57 +0800 From: Alie Tan <alie@afflemedialab.com> To: gljennjohn@googlemail.com Cc: FreeBSD Current <current@freebsd.org> Subject: Re: kernel compile broken in latest HEAD Message-ID: <CANuCnH-ktvxO_27hW3DGfQRZb6MAg%2Be0V7xFT8UfqbdhwROZ7g@mail.gmail.com> In-Reply-To: <20130709173233.275469b4@ernst.home> References: <20130709173233.275469b4@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 9, 2013 at 11:32 PM, Gary Jennejohn <gljennjohn@googlemail.com>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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH-ktvxO_27hW3DGfQRZb6MAg%2Be0V7xFT8UfqbdhwROZ7g>