[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling & installing kernels



just wondering..

I am attempting to install a new kernel into my debian woody when I run make menuconfig  i get this:

gilbertd:/usr/src/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-source-2.4.18/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

Unable to find the Ncurses libraries.

You must have Ncurses installed in order
to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/scripts/lxdialog'
make: *** [menuconfig] Error 2

or make xconfig:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/kernel-source-2.4.18/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/scripts'
wish -f scripts/kconfig.tk
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Application initialization failed: couldn't connect to display ":0"
Error in startup script: invalid command name "button"
   while executing
"button .ref"
   (file "scripts/kconfig.tk" line 51)
make: *** [xconfig] Error 1

how do i go about installing Ncurses? I have tried apt-get but Ncurses doesn't seem to exist.
I have also tried make oldconfig which I believe should compile based on my existing configuration (is this right?)
when i try make bzImage after running make oldconfig i get this at the end:

init/main.o init/main.c
init/main.c: In function `root_dev_setup':
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:298: sizeof applied to an incomplete type
make: *** [init/main.o] Error 1


any idea what I am doing wrong?

essentially I am trying to upgrade my kernel to use APCI. my existing kernel source is 2.4.18bf24 which i have patched to 2.4.2

I have also tried kernel 2.5.67 as a shot in the dark, but this didn't compile..

Halp!!

Ben





Reply to: