Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 17:05:50 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ruslan Ermilov <ru@freebsd.org>, peter@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: /coda/coda_fbsd.c:215: error: `NVCODA' undeclared when building kernel. 
Message-ID:  <76429.1093964750@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 31 Aug 2004 17:58:33 %2B0300." <20040831145833.GA33987@ip.net.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help

The problem is that NVCODA is not defined for the coda module.

This is a fallout from peter@'s config(8) work.

In message <20040831145833.GA33987@ip.net.ua>, Ruslan Ermilov writes:
>
>--M9NhX3UHpAaciwkO
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On Tue, Aug 31, 2004 at 09:47:51AM -0400, Andre Guibert de Bruet wrote:
>>=20
>> On Tue, 31 Aug 2004, Edwin Culp wrote:
>>=20
>> >cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include
>> >/usr/obj/usr/src/sys/ENCONTACTO/opt_global.h -I. -I@
>> >-I@/contrib/altq -I@/../inc
>> >lude -finline-limit=3D8000 -fno-common
>> >-I/usr/obj/usr/src/sys/ENCONTACTO -mno-align-long-strings
>> >-mpreferred-stack-boundary=3D2 -ffreestanding -
>> >Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>> >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
>> >-fformat-extensions -
>> >std=3Dc99 -c /usr/src/sys/modules/coda/../../coda/coda_fbsd.c
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c: In function
>> >`coda_fbsd_drvinit':
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c:205: error:
>> >`NVCODA' undeclared (first use in this function)
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c:205: error:
>> >(Each undeclared identifier is reported only once
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c:205: error: for
>> >each function it appears in.)
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c: In function
>> >`coda_fbsd_drvuninit':
>> >/usr/src/sys/modules/coda/../../coda/coda_fbsd.c:215: error:
>> >`NVCODA' undeclared (first use in this function)
>> >*** Error code 1
>> >
>> >Stop in /usr/src/sys/modules/coda.
>> >*** Error code 1
>>=20
>> "Me too". I cvsup'ed again, and it does the same thing using:
>>=20
>>  Edit src/sys/modules/coda/Makefile,v
>>   Add delta 1.14 2004.08.31.12.17.47 ru
>>=20
>Was this a -DNOCLEAN build maybe?
>
>
>Cheers,
>--=20
>Ruslan Ermilov
>ru@FreeBSD.org
>FreeBSD committer
>
>--M9NhX3UHpAaciwkO
>Content-Type: application/pgp-signature
>Content-Disposition: inline
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.5 (FreeBSD)
>
>iD8DBQFBNJIZqRfpzJluFF4RAuncAKCfCB5qTg8gRZ26CCZlx1lBW5Fk9gCcDAtJ
>LAmXQF/PhjHjMHo5YVfyUSw=
>=PPMV
>-----END PGP SIGNATURE-----
>
>--M9NhX3UHpAaciwkO--
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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