A long time ago, in a galaxy far, far way, someone said...

> I just reinstalled debian and used the dialup profile.  I'm trying to
> compile kernel v2.2.13, and getting the following error when I do make
> menuconfig:
> 
> d-bm6-17:/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/linux-2.2.13/scripts/lxdialog'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
> -DCURSES_LOC="<curses.h>"   -c lxdialog.c -o lxdialog.o
> In file included from lxdialog.c:22:
> dialog.h:22: sys/types.h: No such file or directory
> dialog.h:23: fcntl.h: No such file or directory
> dialog.h:24: unistd.h: No such file or directory
> dialog.h:25: ctype.h: No such file or directory
> dialog.h:26: stdlib.h: No such file or directory
> dialog.h:27: string.h: No such file or directory
> dialog.h:29: curses.h: No such file or directory
> lxdialog.c:53: locale.h: No such file or directory
> make[1]: *** [lxdialog.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.2.13/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> 
> 
> I'm having difficulty figuring out what packages I need to install to make
> this work.

You need to install these packages:

libc6-dev
ncurses3.4-dev

They aren't strictly needed to compile the kernel, but the kernel does
include a menu-driven configuration program which needs to be compiled,
and you're missing the needed headers to compile that program.

-- 
----------------------------------------------------------------------
Phil Brutsche                                   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein

Reply via email to