Re: powerpc.git build error
From: Michael Ellerman <hidden>
Date: 2006-11-26 06:39:43
Attachments
- signature.asc [application/pgp-signature] 189 bytes
From: Michael Ellerman <hidden>
Date: 2006-11-26 06:39:43
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