[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-2.6.0-test9-benh fails to build



On Thu, 20 Nov 2003, Arnaud Vandyck wrote:

> CPU: G4 - 1.250 Ghz
>
> I've rsync'ed the benh 2.6.0-test9 kernel and tried to build it but it
> fails with these lines just before it stop making it:
>
> [...]
>
>   CPP     arch/ppc/kernel/vmlinux.lds.s
>   CC      arch/ppc/platforms/pmac_pic.o
>   CC      arch/ppc/platforms/pmac_setup.o
>   CC      arch/ppc/platforms/pmac_time.o
>   CC      arch/ppc/platforms/pmac_feature.o
> arch/ppc/platforms/pmac_feature.c: In function `probe_motherboard':
> arch/ppc/platforms/pmac_feature.c:2281: error: `powersave_lowspeed' undeclared (first use in this function)
> arch/ppc/platforms/pmac_feature.c:2281: error: (Each undeclared identifier is reported only once
> arch/ppc/platforms/pmac_feature.c:2281: error: for each function it appears in.)
> make[2]: *** [arch/ppc/platforms/pmac_feature.o] Error 1
> make[1]: *** [arch/ppc/platforms] Error 2
> make[1]: Leaving directory `/usr/src/kernel-source-2.6.0-test9'
> make: *** [stamp-build] Error 2
>
> I did use `make defconfig' as read on #debianppc
>
> If anyone as an idea...
i

yes
edit arch/ppc/platforms/pmac_feature.c
goto line 53
add the following line
extern int powersave_lowspeed;

for me. this allows the compilation

	Eric
-- 
 Et je constate que je suis moins seul à la défendre sur quelques cas
 concrets, par exemple je ne suis pas le seul, loin de là, à avoir
 critiqué le manque de transparence des listes noires.
 -+- AB in <http://www.le-gnu.net> : Opaque, ou à la trinité -+-




Reply to: