Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2005 23:07:05 +0300
From:      Vlad GALU <vladgalu@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_6 compilation issues
Message-ID:  <79722fad05091813071477def5@mail.gmail.com>
In-Reply-To: <20050918122614.GA73042@frontfree.net>
References:  <79722fad05091803272cf4312e@mail.gmail.com> <20050918122614.GA73042@frontfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/18/05, Xin LI <delphij@frontfree.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79722fad05091813071477def5>