[CentOS] Re: Get error msg if try to use kernel makefile / build kernel - fix
MikeW
mw_phil at yahoo.co.ukMon Nov 27 17:06:10 UTC 2006
- Previous message: [CentOS] Re: Get error msg if try to use kernel makefile / build kernel
- Next message: [CentOS] Get error msg if try to use kernel makefile / build kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] Re: Get error msg if try to use kernel makefile / build kernel
- Next message: [CentOS] Get error msg if try to use kernel makefile / build kernel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list