OpenWrt Forum Archive

Topic: I can't compile for rb532!

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

Hi to you all, i have an error while compiling that i can't issue.
After downloading kernel it try to compile o to do something and alla finishes with:

make -C /adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2 ARCH=mips CONFIG_SHELL=/bin/bash include/linux/version.h include/asm
make[4]: Entering directory `/adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2'
scripts/kconfig/conf -s arch/mips/Kconfig
make[4]: Leaving directory `/adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2'
gcc: 0: No such file or directory
gcc: unrecognized option `-G'
cc1: error: invalid option `abi=32'
cc1: error: invalid option `no-abicalls'
cc1: error: bad value (r4600) for -march= switch
cc1: error: bad value (r4600) for -mcpu= switch
make[4]: Entering directory `/adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2'
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-mips
make[4]: Leaving directory `/adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2'
touch /adhocsys/trunk/toolchain_build_mipsel/linux-2.6.19.2/.configured
make[2]: *** [kernel-headers-compile] Error 139
make[2]: Leaving directory `/adhocsys/trunk/toolchain'
make[1]: *** [toolchain/install] Error 2
make[1]: Leaving directory `/adhocsys/trunk'
make: *** [world] Error 2

anyone does know what the hell is happening??
thank you very much
Paolo

Hi, now i post what happens if i make clean and then make.... (after previous result)

wag0:/adhocsys/trunk# make clean
wag0:/adhocsys/trunk# make FORCE=1 V=99
Collecting target info: target/linux/adm5120-2.6/adhocsys/trunk/include/host.mk:8: /adhocsys/trunk/tmp/.host.mk: No such file or directory
Collecting target info: done
Collecting package info: done
make[1]: Entering directory `/adhocsys/trunk'
make -C tools install
make[2]: Entering directory `/adhocsys/trunk/tools'
mkdir -p /adhocsys/trunk/staging_dir_mipsel/stampfiles
touch /adhocsys/trunk/staging_dir_mipsel/stampfiles/.tools_installed
make[2]: Leaving directory `/adhocsys/trunk/tools'
make[1]: Leaving directory `/adhocsys/trunk'
make[1]: Entering directory `/adhocsys/trunk'
make -C toolchain install
make[2]: Entering directory `/adhocsys/trunk/toolchain'
make -C kernel-headers prepare
make[3]: Entering directory `/adhocsys/trunk/toolchain/kernel-headers'
/adhocsys/trunk/include/target.mk:15: /adhocsys/trunk/tmp/.target.mk: No such file or directory
find: /adhocsys/trunk/toolchain_build_mipsel/linux-: No such file or directory
/adhocsys/trunk/scripts/metadata.pl target_mk < /adhocsys/trunk/tmp/.targetinfo > /adhocsys/trunk/tmp/.target.mk
make[3]: Leaving directory `/adhocsys/trunk/toolchain/kernel-headers'
make[3]: Entering directory `/adhocsys/trunk/toolchain/kernel-headers'
make[3]: `prepare' is up to date.
make[3]: Leaving directory `/adhocsys/trunk/toolchain/kernel-headers'
make -C kernel-headers compile
make[2]: *** [kernel-headers-compile] Error 139
make[2]: Leaving directory `/adhocsys/trunk/toolchain'
make[1]: *** [toolchain/install] Error 2
make[1]: Leaving directory `/adhocsys/trunk'
make: *** [world] Error 2

it seems to be a big error....

(Last edited by paolo82 on 17 May 2007, 13:58)

Now it's all ok! i've simply changed the machine....
thanks anyway!
Paolo

Same problem as you, I also moved to another PC and solved. But I would like to be able to build on both machines.
Which OS were you using on the 2 PC?

The discussion might have continued from here.