Quote:
Originally Posted by jlam I hope to compile kernel (linux-2.6.  under SUSE Linux 10.1 But the error occured as follows: Code: HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’ follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of ‘current_menu’ was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
Anyone can tell me why? and how can I using "make menuconfig" and compile the kernel?
Thanks! |
Are you using custom patches or something? And, why do you want to use 2.6.8? It's quite old. Try a newer kernel.
Quote:
Originally Posted by dxqcanada What kernel are you compiling ?
Could be problem with your kernel headers ... did you update that also ? |
No. The kernel headers package is what user land programs use when they need to know something about the kernel (at least that's the intended way, and what it should be).
The kernel has it's own headers and don't need a external package to get them. That is, ... unless the SuSE packages are sooo weird.