[root@localhost Param]# make
make -C /lib/modules/linux2.6.28/linux2.6.28/linux-2.6.28.7 M=/home/azeale/Param modules
make[1]: Entering directory `/lib/modules/linux2.6.28/linux2.6.28/linux-2.6.28.7'
CC [M] /home/azeale/Param/param.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/azeale/Param/param.c:2:
include/linux/mmzone.h:18:26: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/azeale/Param/param.c:2:
include/linux/mmzone.h:277: error: `MAX_NR_ZONES' undeclared here (not in a function)
make[2]: *** [/home/azeale/Param/param.o] Error 1
make[1]: *** [_module_/home/azeale/Param] Error 2
make[1]: Leaving directory `/lib/modules/linux2.6.28/linux2.6.28/linux-2.6.28.7'make: *** [all] Error 2 |