LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error while trying recompile: make menuconfg (https://www.linuxquestions.org/questions/linux-software-2/error-while-trying-recompile-make-menuconfg-166072/)

false-hopes 04-04-2004 10:45 AM

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#


shanenin 04-04-2004 11:05 AM

are you missing the header file, /usr/include/asm/socket.h ?

false-hopes 04-04-2004 11:12 AM

it appears I am, I don't have any /asm/ directory, is there any way to get this file?

shanenin 04-04-2004 11:56 AM

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.


All times are GMT -5. The time now is 03:05 PM.