linux-mips
[Top] [All Lists]

Re: compile problem with kernel

To: Ulf Carlsson <grimsy@zigzegv.ml.org>
Subject: Re: compile problem with kernel
From: ralf@uni-koblenz.de
Date: Tue, 31 Mar 1998 09:14:52 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <Pine.LNX.3.96.980331092426.411B-100000@calypso.saturn>; from Ulf Carlsson on Tue, Mar 31, 1998 at 09:26:20AM +0200
References: <19980330154244.19782@uni-koblenz.de> <Pine.LNX.3.96.980331092426.411B-100000@calypso.saturn>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, Mar 31, 1998 at 09:26:20AM +0200, Ulf Carlsson wrote:

> On Mon, 30 Mar 1998 ralf@uni-koblenz.de wrote:
> 
> > 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
> > > 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.
> 
> What are the vanilla FSF sources? The only FSF I have knowlegde of is the
> Free Software Foundation :-)

Sorry, but the FSF doesn't over any other flavour except vanilla ;-)

> Do I need a new crosscompiler?

Not really, if you have a native compiler setup.  A crosscompiler is
however very handy and sometimes even necessary when bootstrapping for a
new system.

  Ralf

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