hey need help
can't compile with new kernel 2.6-30
give me :
root@kad:/home/kad/Desktop# cd microdia
root@kad:/home/kad/Desktop/microdia# make
make -C /lib/modules/2.6.30/build SUBDIRS=/home/kad/Desktop/microdia modules
make[1]: Entering directory `/usr/src/linux-2.6.30'
CC [M] /home/kad/Desktop/microdia/microdia-usb.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/kad/Desktop/microdia/microdia-usb.c:28:
include/linux/mmzone.h:18:26: error: 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/kad/Desktop/microdia/microdia-usb.c:28:
include/linux/mmzone.h:290: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
make[2]: *** [/home/kad/Desktop/microdia/microdia-usb.o] Error 1
make[1]: *** [_module_/home/kad/Desktop/microdia] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30'
make: *** [driver] Error 2
how i can fix this issue!
many sources the same error
i install ctags and libv4l libv4l-dev libv4l-0 the same error
is 2.6-30 not good kernel ?
i decompress my kernel at : /usr/src
i'm using ubuntu
when i compile it i copy the default ubuntu and copy config to new kernel and i use make menuconfig and load alternative configuration then i save and i do make modules then make modules_install then make bzImage and after that make clean then i copy arch/x86/bzImage to /boot and config grub and initrd , finally i reboot.
after that can't compile any source
Thanks for your help