[Intel-gfx] Error compiling drm-intel-next: ‘EINVAL’ undeclared
yakui
yakui.zhao at intel.com
Tue Jul 7 04:26:56 CEST 2009
On Mon, 2009-07-06 at 22:48 +0800, dolphinling wrote:
> CC [M] drivers/gpu/drm/i915/i915_drv.o
> CC [M] drivers/gpu/drm/i915/i915_dma.o
> CC [M] drivers/gpu/drm/i915/i915_irq.o
> In file included from drivers/gpu/drm/i915/i915_irq.c:29:
> include/linux/sysrq.h: In function ‘__reterr’:
> include/linux/sysrq.h:66: error: ‘EINVAL’ undeclared (first use in this function)
> include/linux/sysrq.h:66: error: (Each undeclared identifier is reported only once
> include/linux/sysrq.h:66: error: for each function it appears in.)
> make[4]: *** [drivers/gpu/drm/i915/i915_irq.o] Error 1
> make[3]: *** [drivers/gpu/drm/i915] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
> I'm not entirely sure when this started happening; based on an ls -l /boot, it
> looks like it was sometime between 2009-06-19 and now.
>
> .config attached, in case it's needed. If there's anything else you need let me
> know.
It seems that the header file of "linux/errno.h" is not included.
will you please try the attached patch and see whether it works for
you?
Thanks.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i915_irq_test.patch
Type: text/x-vhdl
Size: 558 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090707/d415a1c1/attachment.bin>
More information about the Intel-gfx
mailing list