Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-15-2004, 08:12 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
"Make menuconfig" error / Reiser4 issue

I have just downloaded the latest kernel source (, I have unpacked it into /usr/src/linux-, I have created a /usr/src/linux link to that directory. Then I switched to the source directory and did: "make mrproper" and then "make menuconfig". All I got was this (sorry, it's a German version):

root@dkserver:/usr/src/linux# make mrproper
CLEAN scripts/package
root@dkserver:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
In Datei, eingefügt von /usr/include/sys/socket.h:35,
von /usr/include/netinet/in.h:24,
von scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: Datei oder Verzeichnis nicht gefunden
make[1]: *** [scripts/basic/fixdep] Fehler 1
make: *** [scripts_basic] Fehler 2

How can I resolve this? I mean it's a clean kernel source without patches, so at least "make menuconfig" should work...

Any help would be greatly appreciated.

Thanks in advance,


Last edited by Linuxshark; 09-15-2004 at 03:39 PM.
Old 09-15-2004, 08:42 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
menuconfig uses the ncurses library installed on your system to handle the user interface. To use it, you need to have a working ncurses installation, including ncurses-devel.

It looks like you're missing asm/socket.h, which is part of the standard C library's include files I think (but it could be symlinked into /usr/src/linux/include?) You will need to (re)install whatever package is supposed to provide this on your system before it will work.

  • make config — simple question/answer interface, no library dependencies
  • make cloneconfig — copies your existing configuration as far as possible
  • make xconfig — uses the Gtk library and an X-Windows interface
  • emacs .config — write the file out longhand

There are others; see the Makefile for more details.
Old 09-15-2004, 09:25 AM   #3
LQ Newbie
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
rjlee, thank you very much for your answer.

ncurses and stdc libraries are all up to date. At least I think so, I just checked that with kpackage and apt-get.

I am getting the exact error message posted above regardless of the config tool I use (xconfig, cloneconfig...)

Could the problem maybe be something else?
Old 09-15-2004, 09:31 AM   #4
LQ Newbie
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
hum, I just did

ln -s /usr/src/linux- /usr/src/linux-

and now it works. I wonder why I have to do this manually. This step is not mentioned in any of the kernel compilation howtos.
Old 09-15-2004, 02:59 PM   #5
LQ Newbie
Registered: Jul 2004
Posts: 6

Original Poster
Rep: Reputation: 0
ugh, config went well, patching with apt-gotten Reiser4 patch, too, but during compilation the following occured:

CC fs/reiser4/debug.o
In Datei, eingefügt von fs/reiser4/debug.c:32:
fs/reiser4/reiser4.h:18:2: #error "Please turn 4k stack off"
make[2]: *** [fs/reiser4/debug.o] Fehler 1
make[1]: *** [fs/reiser4] Fehler 2
make: *** [fs] Fehler 2

Is there any way to solve this or is it because the patch is not applicable to the kernel?

Thanks a lot,

Old 09-15-2004, 04:44 PM   #6
Registered: Sep 2004
Location: KS
Distribution: Slack 10-current
Posts: 87

Rep: Reputation: 15
turn off CONFIG_4KSTACKS or it may be fixed in newer kernels, dunno.

I don't know why you had to make that asm link like you did - if you keep having problems you might run scripts/ver_linux to see that you have all the right version utilities.

Also wanted to say that reiser4 isn't as stable as v3, it might munch your data, so be careful.

Last edited by fphillips; 09-15-2004 at 04:47 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to use "make menuconfig" ONLY for new options after a Kernel upgrade ? nasty_daemon Linux - General 9 09-08-2005 11:21 AM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
Slack 9.1 & "make menuconfig" options bawbag Slackware 3 10-08-2003 02:49 AM
problem with executing "make menuconfig" foxy17 Slackware 9 09-14-2003 07:17 AM
debian woody: error at "make menuconfig" Lingo Linux - Newbie 3 11-29-2002 05:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration