Skip to contentSkip to conversation

Can't compilete 2.4.2 kernel

DISCUSSION David Anderson 3 participants 3 messages Feb 28, 2001

lore
Share & tools
lore
#0 lore raw

Please CC [email protected] on your replies - I'm not on the mailing list.

Slackware 7.1
cd /usr/src
tar -xvyf linux-2.4.2.tar.bz2
mv linux linux-2.4
cd linux-2.4
make mrproper
make menuconfig - {selection options, etc.}
make dep
make clean
make bzImage

Get this with bzImage:

gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o scripts/split-include scripts/split-include.c In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

THANKS!

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

#1 lore raw

Hello David ,
do a 'ln -s linux-2.4 linux' in directory /usr/src . Hth , JimL

Quoted 25 lines · David Anderson

Please CC [email protected] on your replies - I'm not on the mailing list.

Slackware 7.1
cd /usr/src
tar -xvyf linux-2.4.2.tar.bz2
mv linux linux-2.4
cd linux-2.4
make mrproper
make menuconfig - {selection options, etc.}
make dep
make clean
make bzImage

Get this with bzImage:

gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o scripts/split-include scripts/split-include.c In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

THANKS!

Quoted 7 lines

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

       +----------------------------------------------------------------+
       | James   W.   Laferriere | System  Techniques | Give me VMS     |
       | Network        Engineer | 25416      22nd So |  Give me Linux  |
       | [email protected] | DesMoines WA 98198 |   only  on  AXP |
       +----------------------------------------------------------------+
#2 lore raw
In reply to David Anderson
Quoted 1 line · [email protected] said:

/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

Your glibc include files are broken. Rather than having their own copy of the /usr/include/linux/ directory, they have a symlink into /usr/src/linux/include/linux.

The correct fix is to put the kernel header files against which your glibc was compiled into the /usr/include/linux/ directory. But it should suffice, for now, to fix the symlink which you've broken by moving your kernel sources.

--
dwmw2