Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 19:22:03 +0200
From:      Ewald Jenisch <a@jenisch.at>
To:        <freebsd-questions@freebsd.org>
Subject:   make buildkernel -> error: 'IOSIZE_MAX' undeclared
Message-ID:  <20120403172203.GA1808@aurora.oekb.co.at>

next in thread | raw e-mail | index | archive | help
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



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