From owner-freebsd-stable@FreeBSD.ORG Tue May 1 15:05:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3E2B106566B for ; Tue, 1 May 2012 15:05:32 +0000 (UTC) (envelope-from james@slohall.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF088FC1E for ; Tue, 1 May 2012 15:05:32 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SPEdw-0000LT-3r for freebsd-stable@freebsd.org; Tue, 01 May 2012 08:05:32 -0700 Date: Tue, 1 May 2012 08:05:32 -0700 (PDT) From: kcuf To: freebsd-stable@freebsd.org Message-ID: <1335884732114-5678227.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Stable buildkernel warning: no previous prototype for legacy_pcib_map_msi X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 15:05:32 -0000 I'm running stable that I built 1/12/12 on an amd64 system and I just updated the sources and now every time I try to compile the kernel I get the error: ===================== cc1: warnings being treated as errors /usr/src/sys/x86/pci/pci_bus.c:118: warning: no previous prototype for 'legacy_pcib_map_msi' [-Wmissing-prototypes] /usr/src/sys/x86/pci/pci_bus.c: In function 'legacy_pcib_map_msi': /usr/src/sys/x86/pci/pci_bus.c:127: warning: implicit declaration of function 'legacy_get_pcislot' /usr/src/sys/x86/pci/pci_bus.c:127: warning: nested extern declaration of 'legacy_get_pcislot' [-Wnested-externs] /usr/src/sys/x86/pci/pci_bus.c:128: warning: implicit declaration of function 'legacy_get_pcifunc' /usr/src/sys/x86/pci/pci_bus.c:128: warning: nested extern declaration of 'legacy_get_pcifunc' [-Wnested-externs] /usr/src/sys/x86/pci/pci_bus.c: In function 'legacy_pcib_identify': /usr/src/sys/x86/pci/pci_bus.c:470: warning: implicit declaration of function 'legacy_set_pcislot' /usr/src/sys/x86/pci/pci_bus.c:470: warning: nested extern declaration of 'legacy_set_pcislot' [-Wnested-externs] /usr/src/sys/x86/pci/pci_bus.c:471: warning: implicit declaration of function 'legacy_set_pcifunc' /usr/src/sys/x86/pci/pci_bus.c:471: warning: nested extern declaration of 'legacy_set_pcifunc' [-Wnested-externs] *** Error code 1 Stop in /usr/obj/usr/src/sys/ICKERN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ===================== I have tried both my custom kernel config and the generic config with the same errror. My src.conf only has the line LOADER_ZFS_SUPPORT="YES" and my make.conf has WRKDIRPREFIX=/usr/obj NOPORTDOCS="YES" WITHOUT_CUPS="YES" WITH_NEW_XORG="YES" WITH_VIM_OPTIONS="YES" # added by use.perl 2012-02-15 23:09:33 PERL_VERSION=5.12.4 If it makes any difference, my current kernel does not have COMPAT_FREEBSD32 enable, however enabling and disabling this option still caused this error. Anyone have any advice? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Stable-buildkernel-warning-no-previous-prototype-for-legacy-pcib-map-msi-tp5678227.html Sent from the freebsd-stable mailing list archive at Nabble.com.