[CentOS] Re: Get error msg if try to use kernel makefile / build kernel - fix
MikeW
mw_phil at yahoo.co.uk
Mon Nov 27 17:06:10 UTC 2006
MikeW <mw_phil at ...> 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
More information about the CentOS
mailing list