Can't compilete 2.4.2 kernel
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
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 bzImageGet this with bzImage:
gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o
scripts/split-includescripts/split-include.cIn file included from/usr/include/errno.h:36,
fromscripts/split-include.c:26:/usr/include/bits/errno.h:25:linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1THANKS!
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 |
+----------------------------------------------------------------+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