linux-mips
[Top] [All Lists]

Re: compiling error of linux 2.6.12 recent cvs head for db1550 using def

To: rolf liu <rolfliu@gmail.com>
Subject: Re: compiling error of linux 2.6.12 recent cvs head for db1550 using defconfig
From: Pete Popov <ppopov@embeddedalley.com>
Date: Wed, 06 Jul 2005 17:08:06 -0700
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <2db32b7205070616124fa47ef3@mail.gmail.com>
Organization: Embedded Alley Solutions, Inc
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <2db32b7205070616124fa47ef3@mail.gmail.com>
Reply-to: ppopov@embeddedalley.com
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2005-07-06 at 16:12 -0700, rolf liu wrote:
> I use gcc 3.4.4 to compile the recent 2.6.12, got the following errors:
> 
>   CC      arch/mips/au1000/common/setup.o
> In file included from include/asm/io.h:29,
>                  from include/asm/mach-au1x00/au1000.h:43,
>                  from arch/mips/au1000/common/setup.c:42:
> include/asm-mips/mach-au1x00/ioremap.h:25: warning: static declaration
> of 'fixup_bigphys_addr' follows non-static declaration
> include/asm/pgtable.h:363: warning: 'fixup_bigphys_addr' declared
> inline after being called
> include/asm/pgtable.h:363: warning: previous declaration of
> 'fixup_bigphys_addr' was here
> include/asm-mips/mach-au1x00/ioremap.h: In function `fixup_bigphys_addr':
> include/asm-mips/mach-au1x00/ioremap.h:26: warning: implicit
> declaration of function `__fixup_bigphys_addr'
> arch/mips/au1000/common/setup.c: At top level:
> arch/mips/au1000/common/setup.c:159: error: conflicting types for
> '__fixup_bigphys_addr'
> include/asm-mips/mach-au1x00/ioremap.h:26: error: previous implicit
> declaration of '__fixup_bigphys_addr' was here
> make[1]: *** [arch/mips/au1000/common/setup.o] Error 1
> make: *** [arch/mips/au1000/common] Error 2
> 
> Not sure if it is just compiler's problem

No, it's not. Looks like Maciej's patch on Thursday broke the above. 

Maciej, I assume you built a kernel for one of the Au1x boards before
you applied the patch ;)?

Pete


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