[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Can\'t compile own kernel on RH 7.0
- From: Irger Armin <irger fh-rosenheim de>
- To: redhat-install-list redhat com
- Subject: Re: Can\'t compile own kernel on RH 7.0
- Date: Sat, 30 Sep 2000 10:18:35 +0200
Thomas Dodd wrote:
> irger fh-rosenheim de wrote:
> >
> > i try to compile the 2.2.17 kernel from ftp.kernel.org
> > and got always the the error.
> > ------------
> > make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib\'
> > cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__ -traditional -
> > c checksum.S -o checksum.o
> > checksum.S:231: badly punctuated parameter list in #define
> > checksum.S:237: badly punctuated parameter list in #define
>
> Try using kgcc instead of gcc.
>
> also change the symlink in /usr/src
> so linux points to the 2.2.17 tree not the 2.4.0
> header tree.
>
> -Thomas
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
Let's work around.
# cd /usr/bin
# mv gcc gcc.orig
# ln -sf kgcc gcc
# cd /usr/include
# rm -rf linux scsi asm
# ln -sf ../src/linux/include/linux linux
# ln -sf ../src/linux/include/scsi scsi
# ln -sf ../src/linux/include/asm-i386 asm
# cd /usr/src
# ln -sf linux-2.2.17 linux
this work's for me
cu armin
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]