make buildkernel -> error: 'IOSIZE_MAX' undeclared

Ewald Jenisch a at jenisch.at
Tue Apr 3 17:23:20 UTC 2012


Hi,

Today I tried to build a new system/kernel for one of my boxes running
FreeBSD9. 

make buildworld went ok, however during "make buildkernel" I got this:

------------------------------ < Cut here > ------------------------------
/usr/src/sys/kern/subr_uio.c: In function 'uiomove_faultflag':
/usr/src/sys/kern/subr_uio.c:194: error: 'TDP_RESETSPUR' undeclared (first use in this function)
/usr/src/sys/kern/subr_uio.c:194: error: (Each undeclared identifier is reported only once
/usr/src/sys/kern/subr_uio.c:194: error: for each function it appears in.)
/usr/src/sys/kern/subr_uio.c: In function 'uiomove_frombuf':
/usr/src/sys/kern/subr_uio.c:259: error: 'IOSIZE_MAX' undeclared (first use in this function)
/usr/src/sys/kern/subr_uio.c: In function 'copyinuio':
/usr/src/sys/kern/subr_uio.c:486: error: 'IOSIZE_MAX' undeclared (first use in this function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
------------------------------ < Cut here > ------------------------------

Has anybody seen this? Better yet - any known cure against this
problem?

Please note that I've cvsup-ed the sources right before building the
system/kernel, so they should be up to date. I also tried re-cvsuping
several times, but the error stays.

Thanks much in advance for your help,
-ewald


More information about the freebsd-questions mailing list