Saturday, May 9, 2009

Error: gnu/stubs-32.h: No such file or directory when using "make menuconfig" or "make xconfig"

I'm trying to recompile the kernel but I can't get to the config menu.





After downloading and extracting:





zer0ne:/tmp/linux-2.6.19# make menuconfig


HOSTCC scripts/basic/fixdep


In file included from /usr/local/include/features.h:346,


from /usr/include/sys/types.h:27,


from scripts/basic/fixdep.c:105:


/usr/local/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory


make[1]: *** [scripts/basic/fixdep] Error 1


make: *** [scripts_basic] Error 2





zer0ne:/tmp/linux-2.6.19# make xconfig


HOSTCC scripts/basic/fixdep


In file included from /usr/local/include/features.h:346,


from /usr/include/sys/types.h:27,


from scripts/basic/fixdep.c:105:


/usr/local/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory


make[1]: *** [scripts/basic/fixdep] Error 1


make: *** [scripts_basic] Error 2





I'm using Debian Etch and do have linux-kernel-headers and kernel-package. How do I make it work?

Error: gnu/stubs-32.h: No such file or directory when using "make menuconfig" or "make xconfig"
The only things I can think of is that file is supposed to be on your system and is missing, the kernel source you got has a problem, or you have something in an environment variable that confuses it. Can't be any more help, sorry.





The Debian website has some very active forums, you might get better help there.

gardenia

No comments:

Post a Comment