[patch] Solves syslib/m8260_setup.c ROOT_DEV problem

Tom Rini trini at kernel.crashing.org
Fri Nov 19 03:03:39 EST 2004


On Fri, Nov 12, 2004 at 02:09:13PM +0100, alebas at televes.com wrote:

> Hi,
> 
> This patch applies against head versions of both linuxppc-2.5 in ppc.bkbits.net
> and linux-2.5 in linux.bkbits.net
> 
> I don't now if this has been corrected in some other tree.
> 
> The patch corrects the following error during compilation
> 
>   LD      arch/ppc/lib/built-in.o
>   CC      arch/ppc/syslib/m8260_setup.o
> arch/ppc/syslib/m8260_setup.c: In function `m8260_setup_arch':
> arch/ppc/syslib/m8260_setup.c:56: `ROOT_DEV' undeclared (first use in this
> function)
> arch/ppc/syslib/m8260_setup.c:56: (Each undeclared identifier is reported only
> once
> arch/ppc/syslib/m8260_setup.c:56: for each function it appears in.)
> arch/ppc/syslib/m8260_setup.c:56: `Root_RAM0' undeclared (first use in this
> function)
> arch/ppc/syslib/m8260_setup.c: In function `m8260_show_cpuinfo':
> arch/ppc/syslib/m8260_setup.c:149: warning: unsigned int format, long unsigned
> int arg (arg 5)
> arch/ppc/syslib/m8260_setup.c:149: warning: int format, long unsigned int arg
> (arg 6)
> arch/ppc/syslib/m8260_setup.c:149: warning: unsigned int format, long unsigned
> int arg (arg 7)
> arch/ppc/syslib/m8260_setup.c:149: warning: unsigned int format, long unsigned
> int arg (arg 8)
> arch/ppc/syslib/m8260_setup.c:149: warning: unsigned int format, long unsigned
> int arg (arg 9)
> make[1]: *** [arch/ppc/syslib/m8260_setup.o] Error 1
> make: *** [arch/ppc/syslib] Error 2
> 
> Here, arch was ppc and configuration was ads8272_defconfig.

I'll push something similar, thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-embedded mailing list