OpenWrt Forum Archive

Topic: Weird compile error on 15.05.1 branch

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was trying to compile a recent OpenWRT (fresh from Git) for an old Sony Transmeta-Crusoe laptop, and got this strange error:

tools/Makefile:122: recipe for target 'tools/pkg-config/install' failed
make[2]: *** [tools/pkg-config/install] Error 2
make[2]: Leaving directory '/media/psf/Home/code/openwrt/openwrt'
tools/Makefile:121: recipe for target '/media/psf/Home/code/openwrt/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynyyyynnyynnnyy' failed
make[1]: *** [/media/psf/Home/code/openwrt/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynyyyynnyynnnyy] Error 2
make[1]: Leaving directory '/media/psf/Home/code/openwrt/openwrt'
/media/psf/Home/code/openwrt/openwrt/include/toplevel.mk:181: recipe for target 'world' failed

It looks like some menuconfig answers are getting appended onto a filename?  Is this a simple fix, or a "you're hosed, start over" problem?

Tried again with minimal setup:

git clone
git checkout
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig (change to x86 target)
make V=s

>>

make[2]: Leaving directory '/media/psf/Home/code/openwrt/openwrt'
tools/Makefile:121: recipe for target '/media/psf/Home/code/openwrt/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynyyyynnyynnnyy' failed
make[1]: *** [/media/psf/Home/code/openwrt/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynyyyynnyynnnyy] Error 2
m

The discussion might have continued from here.