linux-mips
[Top] [All Lists]

Re: compile problem with kernel

To: Oliver Frommel <oliver@aec.at>
Subject: Re: compile problem with kernel
From: ralf@uni-koblenz.de
Date: Mon, 30 Mar 1998 15:42:44 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <Pine.LNX.3.96.980330093827.20663A-100000@web.aec.at>; from Oliver Frommel on Mon, Mar 30, 1998 at 09:42:56AM +0200
References: <Pine.LNX.3.96.980330093827.20663A-100000@web.aec.at>
Sender: owner-linux@cthulhu.engr.sgi.com
On Mon, Mar 30, 1998 at 09:42:56AM +0200, Oliver Frommel wrote:

> i got the kernel (linux-980326) from linux.sgi.com and had the following
> problems crosscompiling it from intel-linux (which appeared on list once, but
> without any answer/solution as far as i remember):
> 
> mips-linux-gcc -D__KERNEL__ -I/mnt/dsk1/devel/mips/linux-980326/include -Wall 
> -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic 
> -mcpu=r4600 -mips2 -pipe -c entry.S -o entry.o
> entry.S: Assembler messages:
> entry.S:147: Error: .previous without corresponding .section; ignored
> entry.S:147: Error: .previous without corresponding .section; ignored
> entry.S:148: Error: .previous without corresponding .section; ignored
> entry.S:148: Error: .previous without corresponding .section; ignored
> entry.S:154: Error: .previous without corresponding .section; ignored
> entry.S:154: Error: .previous without corresponding .section; ignored
> entry.S:156: Error: .previous without corresponding .section; ignored
> entry.S:156: Error: .previous without corresponding .section; ignored
> entry.S:157: Error: .previous without corresponding .section; ignored
> entry.S:157: Error: .previous without corresponding .section; ignored
> entry.S:158: Error: .previous without corresponding .section; ignored
> entry.S:158: Error: .previous without corresponding .section; ignored
> make[1]: *** [entry.o] Error 1
> make[1]: Leaving directory 
> `/mnt/dsk1/devel/mips/linux-980326/arch/mips/kernel'
> make: *** [linuxsubdirs] Error 2
> 
> 
> i'd appreciate an explanation what's happening here very much ..

In the vanilla FSF sources the .previous pseudo is broken resulting in
these messages.  The fix is in 2.7-4 and newer.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>