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

Re: packages needed to compile kernel ?



*- On 24 Oct, Darxus wrote about "packages needed to compile kernel ?"
> 
> 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.
> 

As others have pointed out you need the libc6-dev and libncurses4-dev
packages.  You will also need the bin86 package if you are on a x86 box. 

The best way to find out which packages these files are in is to go to
the Debian package search page at
http://www.debian.org/distrib/packages.html. Then scroll down to the
"Search the Contents of the Latest Release" search and enter in the
files from above, such as sys/types.h.  It will return a list of package
that contain those files.  If you don't have them installed then they
need to be.

Enjoy,

Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: