[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failed To Compile Kernel 2.4.2
- To: Israeli Linux users list <Linux-il(at-nospam)linux.org.il>
- Subject: Failed To Compile Kernel 2.4.2
- From: Aharon Schkolnik <aharon(at-nospam)health.gov.il>
- Date: 17 Apr 2001 08:56:53 +0300
- Delivered-To: linux.org.il-Linux-il@linux.org.il
- Sender: aharon(at-nospam)netstats.matat.health.gov.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
Hi.
I just installed the kernel 2.4.2 source rpm -
kernel-source-2.4.2-0.1.49.
I then went through make xconfig and make dep with no problems.
I then did make bzImage. Here's the log:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.2/include/linux/rhconfig.h:13,
from /usr/src/linux-2.4.2/include/linux/version.h:1,
from /usr/src/linux-2.4.2/include/linux/raid/md_compatible.h:16,
from /usr/src/linux-2.4.2/include/linux/raid/md.h:40,
from init/main.c:24:
/boot/kernel.h:1:1: unterminated #if
make: *** [init/main.o] Error 1
/boot/kernel.h contains exactly one line:
#if 0
Anyone know what went wrong ?
What's the best way to continue ?
TIA.
--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward | Israel Health Ministry
is great, and the Master of the house is | Aharon@health.gov.il
impatient. - Ethics Of The Fathers Ch. 2 | +972 2 670 6954/5
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il