Problem compiling Kernel with RedHat 5.0 (Linux v2.0.32)

Problem compiling Kernel with RedHat 5.0 (Linux v2.0.32)

Post by Mathieu Sutte » Wed, 01 Jul 1998 04:00:00



Hi all,

I tried to recompile mu kernel using xconfig. All seems to work, until I
get an error message (while "make zImage"):

gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall ..... -c -o
genhd.o genhd.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[3]: *** [genhd.o] Error 1
...
Do you have an idea of what the problem could be? I tried to uninstall
the kernel sources packages, and to re-install it in order to be sure
having a "good" source. But it is exactly the same...

Help. Thanks in advance.

--
Mathieu Sutter
EDS France, GM\Delphi Europe SBU

 
 
 

Problem compiling Kernel with RedHat 5.0 (Linux v2.0.32)

Post by James McIninc » Wed, 01 Jul 1998 04:00:00



> Hi all,

> I tried to recompile mu kernel using xconfig. All seems to work, until I
> get an error message (while "make zImage"):

> gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall ..... -c -o
> genhd.o genhd.c
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[3]: *** [genhd.o] Error 1
> ...
> Do you have an idea of what the problem could be? I tried to uninstall
> the kernel sources packages, and to re-install it in order to be sure
> having a "good" source. But it is exactly the same...

> Help. Thanks in advance.

> --
> Mathieu Sutter
> EDS France, GM\Delphi Europe SBU


The problem indicates one of three hardware problems:
        1. A memory module is faulty (small fault)
        2. The external cache module is faulty
        3. You are using a Cyrix processor without the Cyrix hardware
           bug fixes applied.

--
Dr. James D. McIninch                                  Projects Director
GenePro, Inc.    451 Bishop St., NW    Suite B   Atlanta, GA 30318   USA
Phone: (404) 875-4131     Fax: (404) 875-9698

 
 
 

Problem compiling Kernel with RedHat 5.0 (Linux v2.0.32)

Post by Mathieu Sutte » Wed, 08 Jul 1998 04:00:00


Thank you very much for your help.

It is true that I use a Cyrix P166+ processor. How can I correct the bug you
are talking about? Is there a patch to download?

Thanks in advance for your help.

James McIninch a crit:

Quote:> The problem indicates one of three hardware problems:
>         1. A memory module is faulty (small fault)
>         2. The external cache module is faulty
>         3. You are using a Cyrix processor without the Cyrix hardware
>            bug fixes applied.

> --
> Dr. James D. McIninch                                  Projects Director
> GenePro, Inc.    451 Bishop St., NW    Suite B   Atlanta, GA 30318   USA
> Phone: (404) 875-4131     Fax: (404) 875-9698

 --
Mathieu Sutter
EDS France, GM\Delphi Europe SBU

 
 
 

1. Linux-2.0.32 - errors on compiling

Hi there,

I do have problems to compile the Linux-2.0.32 release (on a
P133 PCI, SCSI).  I currently use the kernel 2.0.0 (ok, it's
really time for a change...), gcc v2.7.2 and ld version
cygnus-2.6 (with BFD 2.6.0.12). On "make zImage" or "make lilo"
I get the following messages:

[...]
ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o
init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/f
s.o ipc/ipc.o net/network.a \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/scsi
/scsi.a drivers/pci/pci.a \
        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/lin
ux/arch/i386/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol _start; defaulting to
00000000000fffe0
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort >
System.map
make[1]: Entering directory `/usr/src/linux-2.0.32/arch/i386/boot'
make[2]: Entering directory
`/usr/src/linux-2.0.32/arch/i386/boot/compressed'
gcc -I/usr/src/linux/include -O2 -DSTDC_HEADERS -o xtract xtract.c
gcc -I/usr/src/linux/include -O2 -DSTDC_HEADERS -o piggyback piggyback.c
./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to
0000000000000fe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1c18): undefined reference to `input_data'
misc.o(.text+0x1c1d): undefined reference to `input_len'
misc.o(.text+0x1c33): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory
`/usr/src/linux-2.0.32/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.32/arch/i386/boot'
make: *** [zImage] Error 2
src/linux#

The extern declared variables (input_data, etc.) in
linux-2.0.32/arch/i386/boot/compressed/misc.c
don't emerge somewhere else as definitions in the src/
 What ist the problem with this _start symbol which ld cannot
find?
I guess it's not really a problem of the distribution.

If anyone has a hint - I would appreciate it!

Andreas Huck


2. parport_pc, printer device problem!

3. Problem Updating RH5.0 to kernel-2.0.32-3 w/pcmcia-cs-2.9.12-3

4. WinTV card, PVR version needed?

5. Help with linux-2.0.32 kernel build..

6. Kernel pauses randomly

7. pre-patch-2.0.32-1 and freelist problem

8. Optimizing compilation with gcc

9. V2.2.0 & V2.2.2 kernel do not compile on a m68k Amiga A1200

10. Problems Compiling v2.0 on Caldera/RedHat Dist.

11. RedHat 5.0 compile kernel

12. Redhat 5.0 (2.0.31) kernel compile errors

13. Redhat 5.0, kernel compile and mkinitrd