[CentOS] Re: Get error msg if try to use kernel makefile / build kernel - fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



MikeW <mw_phil@...> writes:

> 
> Using the new method for building a standalone kernel module
> (although seems to happen with the traditional way as well)
> I get "mach_mpspec.h: No such file or directory"
> 
> Same result if I try to do a kernel 'make'.
> 
> Subsequently I get MAX_MP_BUSSES and MAX_IRQ_SOURCES undeclared.
> 
> This should surely work 'out of the box' with Centos ?
> 
> Any ideas about what's missing ?
> 
> Thanks,
> MikeW
> 
Sorted it by adding -I$(KERNELDIR)/include/asm-i386/mach-default to my
make CFLAGS.

Already had KERNELDIR set to /lib/modules/2.6.9-42.0.3.EL/build

Even if this isn't the 'correct' fix, it seems to work ...

Mike




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux