powerpc.git build error

Michael Ellerman michael at ellerman.id.au
Sun Nov 26 17:39:43 EST 2006


On Sat, 2006-11-25 at 23:58 +0100, Rutger Nijlunsing wrote:
> Hi,
> 
> While respinning my previous patch, I'm trying to (cross)compile the
> PowerPC git kernel (branch master) for a UP G3 (PowerBook) which
> results in compile errors:
> 
> ...
>   CC      arch/powerpc/kernel/crash.o
> arch/powerpc/kernel/crash.c: In function 'default_machine_crash_shutdown':
> arch/powerpc/kernel/crash.c:292: warning: implicit declaration of function 'hard_irq_disable'
> ...
> arch/powerpc/kernel/built-in.o: In function `default_machine_crash_shutdown':
> arch/powerpc/kernel/crash.c:292: undefined reference to `hard_irq_disable'
> make: *** [.tmp_vmlinux1] Error 1
> 
> ...which can be traced back to commit
> d04c56f73c30a5e593202ecfcf25ed43d42363a2.
> 
> This has undoubtly to do with my config (CONFIG_PPC64=n,
> CONFIG_PPC32=y); .config attached for full inspection.

And CONFIG_KEXEC=y, which is not in any 32-bit defconfigs. Do you
actually want it enabled?

See my patch just posted which should fix this for you.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20061126/df0af1d2/attachment.pgp>


More information about the Linuxppc-dev mailing list