[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cannot compile kernel



On Wed, Jan 23, 2008 at 06:18:56AM -0800, Arne Chr. Jorgensen wrote:
> 1. Yes, both me and linux may be a bit confused ;)
> - In a the previous thread about the timer error, the ERROR happens ahead of
> the timer message:
> 
> ACPI Error (tbfadt-0453): 32/64X address mismatch in "Pm2ControlBlock": [00008800] [0000000000008100], using 64X [20070126]
> 
> I have checked the ACPI spec from Microsoft,Intel,HP, etc. - and this makes
> sense. So, the kernel code seem to be wrong. 

If you've found an APCI spec bug send a note to Len Brown anyway (you can
file a bug but Len at the end of the day is the Mr ACPI) <len brown intel com>.

> 2. Installed "glib-devel, gtk2-devel" as you pointed out, gave this:
> [root localhost 2.6.23.9-85.fc8-x86_64]# make gconf
> scripts/kconfig/conf -s arch/x86_64/Kconfig
> drivers/net/Kconfig:1974:warning: 'select' used by config symbol 'FEC_MPC52xx' refers to undefined symbol 'PPC_BESTCOMM'
> drivers/net/Kconfig:1975:warning: 'select' used by config symbol 'FEC_MPC52xx' refers to undefined symbol 'PPC_BESTCOMM_FEC'
> make: *** No rule to make target `gconf'.  Stop.

make gconfig

> 3. Just make, gave this
> 
> scripts/kconfig/conf -s arch/x86_64/Kconfig
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> PC52xx' refers to undefined symbol 'PPC_BESTCOMM'
> drivers/net/Kconfig:1975:warning: 'select' used by config symbol 'FEC_MPC52xx' refers to undefined symbol 'PPC_BESTCOMM_FEC'
> make[1]: *** No rule to make target `missing-syscalls'.  Stop.
> make: *** [prepare0] Error 2

As shipped the binary kernel tree is set up to build modules against. You
should be able to "make mrproper" and then build a new tree from it (you
might want to cp .config somewhere safe first)

> 4. Not sure what you meant with "rpmbuild -bp /usr/src/redhat/SPECS/kernel.spec" ?
> - the SPECS directory is empty, no kernel.spec file exist.

If you install the kernel src.rpm package you get the scripts/setup to rebuild
a new kernel package. If you want to make small changes for testing that is
probably not what you need

> I am stuck.

See if the above helps if not keep asking.

Alan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]