[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel compile error



Hi,

I try to compile the 2.4.20 Kernel. It worked before, but on that
(older) computer it does not. I do the following steps:

I download the kernel-source-2.4.20 package, unpack the source and enter
the source dir. Then:

cp /boot/config-2.4.20-3-k6 .config

make-kpkg clean

make-kpkg --initrd --append_to_version -self-k6 kernel_image

Then comes (after a lot more output) the following:

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-DMODULE -DMODVERSIONS -include
/usr/src/kernel-source-2.4.20/include/linux/modversions.h  -nostdinc
-iwithprefix include -DKBUILD_BASENAME=zftape_compress  -c -o
zftape-compress.o zftape-compress.c
gcc: Internal compiler error: program cc1 got fatal signal 4
make[5]: *** [zftape-compress.o] Error 1
make[5]: Leaving directory
`/usr/src/kernel-source-2.4.20/drivers/char/ftape/compressor'
make[4]: *** [_modsubdir_compressor] Error 2
make[4]: Leaving directory
`/usr/src/kernel-source-2.4.20/drivers/char/ftape'
make[3]: *** [_modsubdir_ftape] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers/char'
make[2]: *** [_modsubdir_char] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
make: *** [stamp-build] Error 2
buerobian:/usr/src/kernel-source-2.4.20# {standard input}: Assembler
messages:
{standard input}:0: Warning: end of file not at end of a line; newline
inserted
{standard input}:441: Error: suffix or operands invalid for `add'
cpp0: output pipe has been closed


Can anyone help me? 

This also happens if I try to compile 2.4.18 .

Thanks in advance.

Regards,
Florian.



Reply to: