From owner-freebsd-stable@FreeBSD.ORG Sun Sep 18 20:07:06 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CD6D16A41F for ; Sun, 18 Sep 2005 20:07:06 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2523943D45 for ; Sun, 18 Sep 2005 20:07:06 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so417873nzk for ; Sun, 18 Sep 2005 13:07:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bmi5cWpXzDo22lGmdvtaj5sRjscMyFfMqAxdkIEgEAF6f/aODJsKxykLRFK7TVbB3exVQm4BiA93wkl271q5DSIvwft7YSFgXdkUXQuSnYArEAE8psVwdEDowvD7pSwypLQrmnxVqD2mb8s7r2K5LDVDJP3mYjtgBMvrvfKys/M= Received: by 10.36.82.16 with SMTP id f16mr2156181nzb; Sun, 18 Sep 2005 13:07:05 -0700 (PDT) Received: by 10.36.86.4 with HTTP; Sun, 18 Sep 2005 13:07:05 -0700 (PDT) Message-ID: <79722fad05091813071477def5@mail.gmail.com> Date: Sun, 18 Sep 2005 23:07:05 +0300 From: Vlad GALU To: freebsd-stable@freebsd.org In-Reply-To: <20050918122614.GA73042@frontfree.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <79722fad05091803272cf4312e@mail.gmail.com> <20050918122614.GA73042@frontfree.net> Subject: Re: RELENG_6 compilation issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vladgalu@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 20:07:06 -0000 On 9/18/05, Xin LI wrote: [snip] Heh, sorry for failing to provide the actual error message. It appears also with -O: -- cut here -- cc -c -O -pipe -ffast-math -march=3Dpentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99=20 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror ../../../fs/devfs/devfs_vnops.c ../../../fs/devfs/devfs_vnops.c:1182: warning: redundant redeclaration of 'devfs_ops_f' ../../../fs/devfs/devfs_vnops.c:71: warning: previous declaration of 'devfs_ops_f' was here ../../../fs/devfs/devfs_vnops.c:1193: warning: redundant redeclaration of 'devfs_vnodeops' ../../../fs/devfs/devfs_vnops.c:69: warning: previous declaration of 'devfs_vnodeops' was here ../../../fs/devfs/devfs_vnops.c:1215: warning: redundant redeclaration of 'devfs_specops' ../../../fs/devfs/devfs_vnops.c:70: warning: previous declaration of 'devfs_specops' was here *** Error code 1 -- and here -- I removed -Wredundant-decls from my /etc/make.conf, but it seems to be read from another place, which leads to the above warning, which is considered an error. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.