Re: Build problems with APM/Subarch type

From: Randy.Dunlap
Date: Wed Oct 13 2004 - 00:26:30 EST


Ricky lloyd wrote:
Did all the configuration properly, except that i fumbled on the keyboard and
the option 'Subarchitecture Type' somehow got set to
'(SGI 320/540 Visual Workstation)'.

Using an editor or make *config? which *config?


make menuconfig.


The build failed with an error 'Undefined reference to machine_real_restart'

Yep, I see that also.


It seems that , unless Subarch is PC-Compatible ( CONFIG_PC ) ,
CONFIG_X86_BIOS_REBOOT will not be set and thusly, reboot.c would not be
compiled.

( yeah, i know messing around with configs is suicidal, but.... )

Can this be fixed ?? At the very least, hide APM options #if !(CONFIG_PC) ??

Do you/we/maintainer know that APM is not applicable to all of the
other PC sub-arches?


afaics, i found 'apm.c' only in arch/i386/kernel and arch/arm/kernel.
does that really
confirm that apm would not be applicable for other archs ??

The question is actually about other PC sub-arches, not other (Big)
arch-es.


I agree that it should be fixed, one way or another.
--


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/