[maemo-developers] Kernel for Maemo N800 and dual boot

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Apr 10 12:00:31 EEST 2007
Kalle Vahlman wrote:
> - tweak the config with 'make menuconfig HOSTCC=host-gcc'
> - build the image with 'make HOSTCC=host-gcc'

> I'm not sure if the HOSTCC is needed for 'make', but make menuconfig
> most likely needs it (to find ncurses).

Tried the trick with host-gcc but it doesn't work for me in vmware maemo 
appliance upgraded to bora 3.1. Tried both in arm and x86 targets. I 
wonder what is broken with host-gcc here

[sbox-SDK_X86: ~/kernel-source-rx-34-2.6.18] > host-gcc
/scratchbox/compilers/bin/host-gcc: Too many open files

[sbox-SDK_ARMEL: ~] > host-gcc
/scratchbox/compilers/bin/host-gcc: Too many open files

[sbox-SDK_ARMEL: ~] > ls -l /scratchbox/compilers/bin/host-gcc
lrwxrwxrwx  1 root root 14 Jan 19 19:59 
/scratchbox/compilers/bin/host-gcc -> sb_gcc_wrapper

What works for me for 'make menuconfig' is commenting three lines in


to echo -lncurses always

#       $cc -print-file-name=libncurses.so | grep -q /
#       if [ $? -eq 0 ]; then
                 echo '-lncurses'
#       fi

This allows make menuconfig to run inside arm target.


More information about the maemo-developers mailing list