RELENG_7: Kernel Compile Failure

Larry Rosenman ler at lerctr.org
Sun Nov 15 18:37:26 UTC 2009


Just csup'd off cvsup17.us.freebsd.org:
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror 
/usr/src/sys/kern/kern_conf.c
/usr/src/sys/kern/kern_conf.c: In function 'giant_mmap':
/usr/src/sys/kern/kern_conf.c:483: error: 'D_MMAP2' undeclared (first use
in this function)
/usr/src/sys/kern/kern_conf.c:483: error: (Each undeclared identifier is
reported only once
/usr/src/sys/kern/kern_conf.c:483: error: for each function it appears in.)
/usr/src/sys/kern/kern_conf.c:484: error: 'struct cdevsw' has no member
named 'd_mmap2'
/usr/src/sys/kern/kern_conf.c: In function 'prep_cdevsw':
/usr/src/sys/kern/kern_conf.c:677: error: 'D_MMAP2' undeclared (first use
in this function)
/usr/src/sys/kern/kern_conf.c:698: error: 'struct cdevsw' has no member
named 'd_mmap2'
/usr/src/sys/kern/kern_conf.c:698: error: 'struct cdevsw' has no member
named 'd_mmap2'
/usr/src/sys/kern/kern_conf.c:698: error: 'd_mmap2_t' undeclared (first
use in this function)
/usr/src/sys/kern/kern_conf.c:698: error: expected expression before ')'
token
/usr/src/sys/kern/kern_conf.c:698: error: 'struct cdevsw' has no member
named 'd_mmap2'
*** Error code 1

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

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

Stop in /usr/src.
#


Ideas?


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




More information about the freebsd-stable mailing list