Messages in this thread |  | | Date | Mon, 26 Mar 2001 18:00:36 +0200 | | From | Theodoor Scholte <> | | Subject | Compiling problem kernel 2.4.2 |
| |
Hello,
I have a problem with compiling kernel-2.4.2. When I want to make a bzImage on a RedHat Linux 5.2 box, then I get this error-message:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i486 -c -o init/main.o init/main.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 fomit-frame-pointer -fno-strict-aliasing -pipe -march=i486 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c cpp: /usr/src/linux/include/linux/compile.h: Input/output error init/version.c:20: `UTS_VERSION' undeclared here (not in a function) init/version.c:20: initializer element for `system_utsname.version' is not constant init/version.c:25: parse error before `LINUX_COMPILE_BY' make: *** [init/version.o] Error 1
I have installed these software revisions: GNU C egcs-2.91.66 GNU make 3.78.1 binutils 2.9.5.0.22-6 util-linux 2.10f modutils 2.4.2 e2fsprogs 1.19
What is the solution for this problem? On a Slackware 7.1-box with the same software-revisions I have no problems with compiling kernel 2.4.2.
Thanks in advance,
Theodoor Scholte
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |