lkml.org 
[lkml]   [1996]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Compiling problems 1.3.85
On Tue, 9 Apr 1996, Alex Frausin wrote:
> I get this strange problem on two of my machines (ELF gcc 2.7.2p), but it
> works like a charm on my third machine (a.out gcc 2.6.3):
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o floppy.o floppy.c
> cpp: output pipe has been closed
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[3]: *** [floppy.o] Error 1
>
> If i restart the compilation, I get this error at the end:
>
>
> init/main.o(.data+0x104): undefined reference to `floppy_setup'
> drivers/block/block.a(ll_rw_blk.o): In function `blk_dev_init':
> ll_rw_blk.o(.text+0xe8a): undefined reference to `floppy_init'
> make: *** [vmlinux] Error 1
>
> Any suggestions/patches/fixes ????

Sure:

1) rm floppy.o when the compilation dies, then continue the
compilation...when GCC dies, a zero-length floppy.o is being left
behind and linked in, but the symbols needed there are missing, so the
final link fails.

2) Check your RAM/CPU/etc. You have a hardware problem (GCC getting a
signal 11 generally means a problem with ram, cpu, and company).
There's a web page for SIG11 information, but the URL eludes me at the
moment.

--
.-----------------------------------------------------------------------------.
| Edward S. Marshall <emarshal@common.net> | CII Technical Administrator, |
| http://www.common.net/~emarshal/ | Vice-President, Common Internet |
| Finger for PGP public key. | Inc, and Linux & LPmud (ab)user. |
`-----------------------------------------------------------------------------'



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.128 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site