[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed To Compile Kernel 2.4.2
- To: Aharon Schkolnik <aharon(at-nospam)health.gov.il>, Israeli Linux users list <Linux-il(at-nospam)linux.org.il>
- Subject: Re: Failed To Compile Kernel 2.4.2
- From: Hetz Ben Hamo <hetz-home(at-nospam)cobol2java.com>
- Date: Tue, 17 Apr 2001 10:42:07 +0000
- Delivered-To: linux.org.il-Linux-il@linux.org.il
- In-Reply-To: <m3elusvzkq.fsf@netstats.matat.health.gov.il>
- References: <m3elusvzkq.fsf@netstats.matat.health.gov.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Aharon,
The best advice I can give you is to use a normal tarball file (something
like linux-2.4.3.tar.bz2), with the following simple steps
1. download the 2.4.3 file (the .bz2 file - it's shorter)
2. become a root
3. go to /usr/src
4. mv linux linux.old
5. tar -Ixvf ~<your-normal-user>/linux-2.4.3.tar.bz2
6. mv linux linux-2.4.3
7. ln -s linux-2.4.3 linux
8. cd linux
9. make xconfig
config it, compile it, do whatever it needs ;)
Hetz
On Tuesday 17 April 2001 05:56, Aharon Schkolnik wrote:
> 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.
=================================================================
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