Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 12:15:52 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildkernel broken
Message-ID:  <1268504152.2608.311.camel@balrog.2hip.net>
In-Reply-To: <20100313193549.52d3c8a2@notebook>
References:  <20100313193549.52d3c8a2@notebook>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2010-03-13 at 19:35 +0200, Sergey V. Dyatko wrote:
> 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@
> -I@/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

Typo, pointyhat to me... Fixed in rev 205126.

robert.

> 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
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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