-
Upgrading kernel help
Hi, I want to upgrade my kernel from version 2.6.12-12mdksmp to version 2.6.6, I downloaded the .tar.gz to /usr/src and untarred it, i created a symbolic link by ln -s linux-2.6.6 linux, i run under /linux <# make menuconfig> but i got this error message from shell:
[root@localhost linux]# make menuconfig
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
I don't know how to solve it, i need however to upgrade to this kernel, to be able to install ndiswrapper, to get my wireless card to work. Any advice is appreciated...
--thank you
-
Looks like there's an error in the source itself. Where'd you get this source code from? Get the source from the authorised site for your distribution or kernel.org. Also, if your distribution has binary vanilla kernels available (not a great option, I know), you might want to get one of those.
Cheers,
cgkanchi
-
I got it from a mirror site of the kernel, in my location (UAE) ae.kernel.org. BTW maybe i didn't install all packages needed for a kernel compiling/customization, i installed however gcc, make tools, ncurses are there others not included in standard package selection?
Thanks
-
What distro are you using?
-
Im using the free version of Mandriva (3 CD)