Re: Build problems with APM/Subarch type

From: Randy.Dunlap
Date: Wed Oct 13 2004 - 00:16:29 EST


Raj wrote:
I have been trying to build a 2.6.9-rc4. My box is an Intel P4.

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?

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?

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/