Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

Rep: Reputation: 0 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, 06:51 AM   #2
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, 06:52 AM   #3
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58

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

Old 09-05-2004, 07:09 AM   #4
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 07:17 AM.
Old 09-06-2004, 01:31 AM   #5
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- /usr/include/asm-generic" solved everything
Old 02-03-2005, 05:25 PM   #6
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?


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

All times are GMT -5. The time now is 04:02 AM.

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