On 28 April 2012 02:38, Dan Donahue ddonahue@gridcosystems.com wrote:
Greetings, I successfully built BusyBox using the 4.5.2 toolchain. When I try to build BusyBox using the same config with the 4.6.3 toolchain I get the following error:
The Linaro 4.5.2 toolchain was installed in my Ubuntu 11.04 distro using aptitude. The Linaro 4.6.3 toolchain binaries, downloaded via Launchpad, were installed into my own tools directory.
busybox # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- scripts/kconfig/conf -s Config.in can't find file Config.in make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** [include/autoconf.h] Error 2
I get the same error if I try 'make oldconfig' or 'make menuconfig'.
Is there a PATH I need to set? Am I missing a package?
Right now my PATH has following 4.6.3 directories set: linaro-4.6.3/bin linaro-4.6.3/arm-linux-gnueabi/libc/usr/include linaro-4.6.3/arm-linux-gnueabi/libc/lib/arm-linux-gnueabi linaro-4.6.3/arm-linux-gnueabi/libc/usr/include
Hi Dan. I'm afraid I can't reproduce this. It looks more like a configuration problem than a toolchain problem. Did you provide your own configuration or run 'make defconfig' before building?
Here's what I tried: * Downloaded busybox-1.20.0 * Downloaded gcc-linaro-4.7-2012.04_linux * Extracted buysbox * Extracted gcc-linaro * Put the gcc-linaro bin directory in my path * Changed to the busybox directory * Ran 'make defconfig' * Ran 'make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-'
Hope that helps,
-- Michael