Re: /coda/coda_fbsd.c:215: error: `NVCODA' undeclared when building kernel.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 31 Aug 2004 17:05:50 +0200
The problem is that NVCODA is not defined for the coda module.

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

In message <20040831145833.GA33987_at_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_at_
>> >-I_at_/contrib/altq -I_at_/../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_at_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_at_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.
Received on Tue Aug 31 2004 - 13:05:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC