From owner-freebsd-current@FreeBSD.ORG Tue Sep 20 11:08:07 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC8E116A41F for ; Tue, 20 Sep 2005 11:08:07 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12F5A43D48 for ; Tue, 20 Sep 2005 11:08:06 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) X-Envelope-From: stsp@stsp.in-berlin.de X-Envelope-To: Received: from dice.bliss.lan (e178191008.adsl.alicedsl.de [85.178.191.8]) (authenticated bits=0) by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id j8KB83Hx015667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 20 Sep 2005 13:08:04 +0200 Received: by dice.bliss.lan (nbSMTP-1.01-cvs) for uid 1001 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) stsp@stsp.in-berlin.de; Tue, 20 Sep 2005 13:08:04 +0200 (CEST) Date: Tue, 20 Sep 2005 13:08:00 +0200 From: Stefan Sperling To: freebsd-current@freebsd.org Message-ID: <20050920110800.GA32409@dice.bliss.lan> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: (0.148) AWL,BAYES_50,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: devfs_vnops.c:1182: warning: redundant redeclaration of 'devfs_ops_f' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Sep 2005 11:08:07 -0000 Hi, I am trying to upgrade from BETA2 to BETA4. A simple make buildkernel (with GENERIC) results in: cc -c -O -pipe -march=athlon-xp -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/home/FreeBSD/FreeBSD-6/src/sys -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/dev/acpica -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/altq -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/ipfilter -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/pf -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/dev/ath -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/dev/ath/freebsd -I/home/FreeBSD/FreeBSD-6/src/sys/contrib/ngatm -I/home/FreeBSD/FreeBSD-6/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:1182: warning: redundant redeclaration of 'devfs_ops_f' /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:71: warning: previous declaration of 'devfs_ops_f' was here /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:1193: warning: redundant redeclaration of 'devfs_vnodeops' /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:69: warning: previous declaration of 'devfs_vnodeops' was here /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:1215: warning: redundant redeclaration of 'devfs_specops' /home/FreeBSD/FreeBSD-6/src/sys/fs/devfs/devfs_vnops.c:70: warning: previous declaration of 'devfs_specops' was here *** Error code 1 as if the compiler (gcc 3.4.4 [FreeBSD] 20050518) forgot the difference between a declaration and a definition... thanks, -- stefan http://stsp.in-berlin.de PGP Key: 0xF59D25F0