[lkml]   [2002]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: include/asm/irq_vectors.h not found
On Wed, Oct 02, 2002 at 01:59:39PM -0700, tim wrote:
> when installing dri drivers for my gfx card (r200-20020927-linux.i386) i get the following error during kernel module compilation:

VMware suffers from same problem. Because of I do not support VMware
on SGI visual workstation, I now use an additional
-I/lib/modules/`uname -r`/build/arch/i386/mach-generic
in vmmon/vmnet Makefile, and for 2.5.x it is required to have full kernel
source installed, not only kernel-headers package (if there is some distro
that distributes kernel-headers 2.5.x package...).

> cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS -DMODVERSIONS -include /lib/modules/2.5.39/build/include/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/2.5.39/build/include -c radeon_drv.c -o radeon_drv.o
> In file included from /lib/modules/2.5.39/build/include/linux/irq.h:19,
> from /lib/modules/2.5.39/build/include/asm/hardirq.h:6,
> from /lib/modules/2.5.39/build/include/linux/interrupt.h:44,
> from drm_os_linux.h:3,
> from drmP.h:75,
> from radeon_drv.c:32:
> /lib/modules/2.5.39/build/include/asm/irq.h:16: irq_vectors.h: No such file or directory
> make: *** [radeon_drv.o] Error 1

I think that behavior should be changed. irq_vectors.h (and eventually other .h) should
be moved to include/asm-i386/irq_vectors-generic.h (or irq_vectors-visws.h) and irq_vectors.h
should be either appropriate symlink, or simple

#include <irq_vectors-visws.h>
#include <irq_vectors-generic.h>

Or vendors should be taught to install properly configured kernel-sources by default,
so that we can use (cd /lib/modules/`uname -r`/build; make SUBDIRS=`pwd` modules) (or how
it works in 2.5.x kbuild) instead of just trying to guess compiler, compiler options
and include paths because of by default vendors's sources are configured for something
else than running kernel (f.e. -Xcustom instead of -X in EXTRAVERSION in main makefile).

Best regards,
Petr Vandrovec

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:29    [W:0.027 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site