buildkernel broken

From: Sergey V. Dyatko <sergey.dyatko_at_gmail.com>
Date: Sat, 13 Mar 2010 19:35:49 +0200
Hi, 
I'm trying to build kernel (update from  204272 to 205122) and
got following error:

===> drm/i915 (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS
-include /usr/obj/usr/src/sys/b450/opt_global.h -I. -I_at_
-I_at_/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common -g
-fno-omit-frame-pointer -I/usr/obj/usr/src/sys/b450 -mcmodel=kernel
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions
-c /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:
In function
'i915_dma_cleanup': /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:159:
error: 'DEV' undeclared (first use in this
function) /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:159:
error: (Each undeclared identifier is reported only
once /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:159:
error: for each function it appears
in.) /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c: In
function
'i915_set_status_page': /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:807:
error: 'DEV' undeclared (first use in this
function) /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c: In
function
'i915_driver_load': /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_dma.c:847:
error: 'DEV' undeclared (first use in this function) *** Error code 1

Stop in /usr/src/sys/modules/drm/i915.
*** Error code 1

Stop in /usr/src/sys/modules/drm.
*** Error code 1

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

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

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

Stop in /usr/src.


--
wbr, tiger
Received on Sat Mar 13 2010 - 17:05:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC