Re: Compile kernel Error!
David Pye <[email protected]> Tue, 30 Nov 2004 20:04:33 +0000
| Newsgroups | gmane.linux.ports.xbox.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 30 November 2004 13:47, Jianyu Lin wrote:
> Dear All:
>
> Today I compiled the linux kernel 2.4.28 version. But there is error
> occured when I exe "make oldconfig". The steps and error message as
> following. Could anyone help me? Thanks a lot.
>
> My compile steps is:
> 1.download the linux-2.4.28.tar.gz and tar it to /usr/src
> 2.download the kernel directory from xbox-linux sourceforge
> 3.mv linux-2.4.28{,-xbox}
> 4.cp -rf kernel/* linux-2.4.28-xbox/
> 5.cd linux-2.4.28-xbox/
> 6.make mrproper
> 7.cp kernel.config .config
> 8.make oldconfig
> 9.Then Error occured!!! As following.
>
Works absolutely perfectly for me - I tried following the exact steps you
detailed above and it still works fine. I suggest you look in the .config
file and see if you can see the =n symbols (whatever they are) that it is
complaining about. I think something got corrupted somewhere.
<shrug>
David
> ---Error Message---------------------------------
> [root@rh9 linux-2.4.28]# make oldconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> /bin/sh scripts/Configure -d arch/i386/config.in
> #
> # Using defaults found in .config
> #
> =n: command not foundne 8: CONFIG_EXPERIMENTAL
> =n: command not foundne 13: CONFIG_MODULES
>
> : command not foundline 6:
> : command not foundline 9:
> : command not foundline 11:
>
> *
> * Code maturity level options
> *
> }: bad substitutionline 1: ${CONFIG_EXPERIMENTAL
> ) [N/y/?] (NEW) opment and/or incomplete code/drivers (CONFIG_EXPERIMENTAL
> =n: command not foundne 1: CONFIG_EXPERIMENTAL
>
> : command not foundline 15: endmenu
> : command not foundline 16:
>
> *
> * Loadable module support
> *
> }: bad substitutionline 1: ${CONFIG_MODULES
> ) [N/y/?] (NEW) module support (CONFIG_MODULES
> =n: command not foundne 1: CONFIG_MODULES
> scripts/Configure: arch/i386/config.in: line 494: syntax error: unexpected
> end of file
>
> *** End of Linux kernel configuration.
> *** Check the top-level Makefile for additional configuration.
> *** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.
> ------------------------------------
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s-: a-- C++ UL++++ P L+++ E--- W++ N+ o+ K- w---
O M V- PS+ PE+ Y+ PGP t 5- X+ R- tv+ b+ DI++ D+
G+ e++ h--- r++ y++
------END GEEK CODE BLOCK------
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/