LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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


I have just downloaded the latest kernel source (2.6.8.1), I have unpacked it into /usr/src/linux-2.6.8.1, 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
root@dkserver:/usr/src/linux#


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,

Linuxshark

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

Rep: Reputation: 66
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.

Alternatives:
  • 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
Linuxshark
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
Linuxshark
LQ Newbie
 
Registered: Jul 2004
Posts: 6

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

ln -s /usr/src/linux-2.6.8.1/include/asm-i386 /usr/src/linux-2.6.8.1/include/asm

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
Linuxshark
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 2.6.8.1 kernel?

Thanks a lot,

Linuxshark
 
Old 09-15-2004, 04:44 PM   #6
fphillips
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 06:39 PM.

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