Help: kernel compilation

From: Lawrence Lo <lo627.a.t.netvigator.com>
Date: Mon Jul 09 2001 - 21:28:17 EDT

Hi

I am trying to compile the kernel for Familiar 0.4 using sources from the CVS (version 2.4.3-rmk2-np1)

I am also using the pre-built toolchains downloaded from handhelds.org. However I suffered a setback as soon as the first step - make menuconfig. It reported an error and stopped.

I placed the kernel source in /usr/src/arm-linux and the cross-toolchain in /skiff/local and added the path /skiff/local/bin to $PATH.

However I think the steps of make menuconfig and make dep do not need the cross tools yet. Maybe there is something wrong on my host machine, running Redhat 7.0 with gcc 2.96.xx

For those who have successes, could you tell me on which host environment did you do the cross-compilation? Or did I miss any steps to prepare the sources or the tools?

(Ironically, there is no problem if I work under Cygwin 1.1.8 in Windows ME. But of course it's much slower! I want to have it working under Linux directly.)

Any idea will help. Thanks a lot!

Lawrence

Output of make menuconfig:
------------------------------------------------------------------------
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/arm-linux/scripts/lxdialog'
make[1]: Leaving directory `/usr/src/arm-linux/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/arm/config.in
scripts/Menuconfig:
: command not found
scripts/Menuconfig:
: command not found
scripts/Menuconfig:
: command not found
scripts/Menuconfig: line 104: syntax error near unexpected token `{
'
scripts/Menuconfig: line 104: `function set_x_info () {
'
make: *** [menuconfig] Error 2
Received on Mon Jul 9 18:20:42 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:27 EDT