2006-01-12 01:06:26

by john stultz

[permalink] [raw]
Subject: PPC build broken (last two days)

Hey,
I've been getting the following compile error w/ Linus' git tree for
the last two days:

CC arch/ppc/platforms/pmac_feature.o
arch/ppc/platforms/pmac_feature.c:66: error: static declaration of
'feature_lock' follows non-static declaration
arch/ppc/include/asm/pmac_feature.h:381: error: previous declaration of
'feature_lock' was here
arch/ppc/platforms/pmac_feature.c:119: error: static declaration of
'uninorth_node' follows non-static declaration
arch/ppc/include/asm/pmac_feature.h:382: error: previous declaration of
'uninorth_node' was here
arch/ppc/platforms/pmac_feature.c:120: error: static declaration of
'uninorth_base' follows non-static declaration
arch/ppc/include/asm/pmac_feature.h:383: error: previous declaration of
'uninorth_base' was here
arch/ppc/platforms/pmac_feature.c: In function
'pmac_tweak_clock_spreading':
arch/ppc/platforms/pmac_feature.c:1648: warning: implicit declaration of
function 'pmac_low_i2c_open'
arch/ppc/platforms/pmac_feature.c:1651: warning: implicit declaration of
function 'pmac_low_i2c_setmode'
arch/ppc/platforms/pmac_feature.c:1651: error:
'pmac_low_i2c_mode_combined' undeclared (first use in this function)
arch/ppc/platforms/pmac_feature.c:1651: error: (Each undeclared
identifier is reported only once
arch/ppc/platforms/pmac_feature.c:1651: error: for each function it
appears in.)
arch/ppc/platforms/pmac_feature.c:1652: warning: implicit declaration of
function 'pmac_low_i2c_xfer'
arch/ppc/platforms/pmac_feature.c:1652: error: 'pmac_low_i2c_read'
undeclared (first use in this function)
arch/ppc/platforms/pmac_feature.c:1655: warning: implicit declaration of
function 'pmac_low_i2c_close'
arch/ppc/platforms/pmac_feature.c:1693: error:
'pmac_low_i2c_mode_stdsub' undeclared (first use in this function)
arch/ppc/platforms/pmac_feature.c:1694: error: 'pmac_low_i2c_write'
undeclared (first use in this function)
arch/ppc/platforms/pmac_feature.c: In function 'pmac_feature_init':
arch/ppc/platforms/pmac_feature.c:2873: warning: implicit declaration of
function 'pmac_init_low_i2c'
CC arch/powerpc/kernel/of_device.o
make[1]: *** [arch/ppc/platforms/pmac_feature.o] Error 1
make: *** [arch/ppc/platforms] Error 2
make: *** Waiting for unfinished jobs....


Attached is the .config

thanks
-john


Attachments:
ppc-broke.config (33.76 kB)

2006-01-12 01:44:33

by David Woodhouse

[permalink] [raw]
Subject: Re: PPC build broken (last two days)

On Wed, 2006-01-11 at 17:06 -0800, john stultz wrote:
> I've been getting the following compile error w/ Linus' git
> tree for the last two days:

Use ARCH=powerpc for pmac builds. I believe the plan is to drop
chrp/prep/pmac support from the legacy arch/ppc and leave it for the
embedded platforms alone.

--
dwmw2