On Sat, Jul 31, 2010 at 05:56:26PM +0100, Mark Cave-Ayland wrote:
Aurelien Jarno wrote:
Hi,
Trying to build OpenBIOS natively on sparc32 or sparc64 host, I get the following error:
LINK openbios-unix libopenbios.a(load.o): In function `load': /home/aurel32/openbios-devel/obj-sparc32/../libopenbios/load.c:41: undefined reference to `sys_info' /home/aurel32/openbios-devel/obj-sparc32/../libopenbios/load.c:41: undefined reference to `sys_info'
It seems only sparc32/64 have CONFIG_LOADER_AOUT. The sys_info variable is defined in arch/sparc{32,64}/boot.c, but this file is not used to build openbios-unix. Any new what would be a real fix here, besides disabling CONFIG_LOADER_AOUT?
Thanks, Aurelien
Hmmm. What's strange is that I would expect x86 to fail in the same way, and it builds fine on my native x86 host here. I'd start by having a quick look there and comparing the differences.
I also tried on x86, but it doesn't fail as CONFIG_LOADER_AOUT is not enabled on this platform.