Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-11-2006, 12:58 AM   #1 (permalink)
Apprentice
 
Join Date: Aug 2006
Posts: 62
Exclamation problem in compiling kernel


I use knoppix 5.0.1 hd-installed
i try to configure kernek b4 compilation and get the following error
pls help:

HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
ravi.xolve is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-11-2006, 03:45 AM   #2 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: problem in compiling kernel

Do you have kernel-headers/linux-headers (what ever knoppix calls it) installed? You need it to compile anything.
eddie is offline  
Old 11-11-2006, 10:50 AM   #3 (permalink)
Apprentice
 
Join Date: Aug 2006
Posts: 62
Default Re: problem in compiling kernel

ya all are in the dir /usr/include
ravi.xolve is offline  
Old 11-11-2006, 09:22 PM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: problem in compiling kernel

Post the output of following commands
Code:
ls -l /usr/include/asm/socket.h
cat /usr/include/linux/version.h
cat /usr/src/linux/include/linux/version.h
ls -l /usr/src/
uname -r
It looks like some kind of symlink problem. Are you using vanilla kernel or some knoppix package?
eddie is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by icebags
- by Sujeet
- by clinton

Advertisement




All times are GMT +5.5. The time now is 10:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2