LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-04-2004, 10:45 AM   #1
false-hopes
LQ Newbie
 
Registered: Mar 2004
Location: I don't remeber, something about an asylum, something about insane too.
Distribution: Gentoo, Knoppix, Debian
Posts: 20

Rep: Reputation: 0
Error while trying recompile: make menuconfg


I'm trying to recompile my kernel to upgrade to a 2.6 kernel. I downloaded the latest 2.6.5 kernel, extracted, made the symlinks, and went to configure it using make menuconfig, and i got an error. So i figured, since I'm using the latest stable kernel, maybe theres still a bug in it that hasn't been worked out, so I decided to get 2.6.4 and try it. Same error, so I am left with nowhere else to turn. Can anyone help.

Code:
root@box:/usr/src/linux# make menuconfig
  HOSTCC  scripts/fixdep
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
root@box:/usr/src/linux#
 
Old 04-04-2004, 11:05 AM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
are you missing the header file, /usr/include/asm/socket.h ?
 
Old 04-04-2004, 11:12 AM   #3
false-hopes
LQ Newbie
 
Registered: Mar 2004
Location: I don't remeber, something about an asylum, something about insane too.
Distribution: Gentoo, Knoppix, Debian
Posts: 20

Original Poster
Rep: Reputation: 0
it appears I am, I don't have any /asm/ directory, is there any way to get this file?
 
Old 04-04-2004, 11:56 AM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
I think they can be copied over from you kernel source directory. I think you will have problems if they are copied from a different verion of the kernel that your glibc was compiled against. I am not sure. Wait and see what someone with more knowledge says.
 
  


Reply



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
Kernel Recompile Error bmccorm2 Fedora 1 11-10-2005 07:40 AM
kernel 2.6.9 recompile error wnaLinux Slackware 14 12-20-2004 02:41 PM
Recompile error ryedunn Linux - General 2 02-28-2004 02:01 PM
when changing values under make xconfig, need to recompile the whole kernel? sirpelidor Linux - Newbie 2 02-01-2004 11:15 PM
recompile kernel error kylnas Linux - General 4 08-15-2003 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration