LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2004, 05:44 AM   #1
Haniblectre
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
2.6.8.1 strange kernel compile problem


I recently installed Slack 10.0. When I type in make menuconfig or make xconfig, etc, I get this error in the console:

/usr/src/linux# make menuconfig
HOSTCC scripts/basic/split-include
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from scripts/basic/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/basic/split-include] Error 1
make: *** [scripts_basic] Error 2


Any ideas?
 
Old 09-05-2004, 05:51 AM   #2
Haniblectre
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Update: I just tried compiling 2.6.7, and I get the exact same error.

This is a fresh install of slack, so I'm thinking there may be something seriously corrupted.
 
Old 09-05-2004, 05:52 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

try
make mrproper
and then try make xconfig
if that too does not work then
get urself a new kernel source from kernel.org
the source u hve might be incloplete

regards
 
Old 09-05-2004, 06:09 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Check your glibc package with the requerid by the kernel and make sure it's correctly installed.

Last edited by gbonvehi; 09-05-2004 at 06:17 AM.
 
Old 09-06-2004, 12:31 AM   #5
DarkCaesar
Member
 
Registered: Oct 2003
Distribution: Slackware 10 Kernel 2.4.26
Posts: 35

Rep: Reputation: 15
try make a link to ur kernel source's asm-generic in ur /usr/include/
i had a similar problem but a "ln -s /usr/src/linux-2.6.8.1/include/asm-generic /usr/include/asm-generic" solved everything
 
Old 02-03-2005, 04:25 PM   #6
_InTeNsDoWn_
Member
 
Registered: Dec 2004
Location: Portugal
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
I updated Linux 2.4.26 to Linux 2.4.29 (by TGZ), when i do a 'make', appens the same thing, i tryed make a link from /usr/src/linux-2..4.29/include/asm-generic to /usr/include/asm-generic, and appened the same thing
Anyone know what is the resolution?
 
  


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
strange kernel compile error mushmaster Linux - Software 4 03-22-2005 01:50 PM
Strange Kernel Keyboard Problem dgeronimo Linux - Software 1 12-25-2004 10:06 PM
Strange problem regarding ethernet in kernel 2.6.9 bilalmughal Slackware 0 11-28-2004 06:45 AM
strange Glibc compile problem Blaza Linux - Software 1 09-01-2004 01:50 PM
Strange problem with X and new kernel. RefriedBean Linux - Software 2 12-27-2002 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration