Hello all. I am trying to learn as much as i can here so please forgive my noobish questions. I am trying to compile openwrt for the RPI2 (BRCM2709). It has a stable build for 15.05, however, it does not have the latest kernel needed for multiwan.
There i have compiled my own from source using:
http://dab-embedded.com/en/blogs/openwr … erry-pi-2/
However when i change anything (like trying to include luci) the build always fails. In my desperation i pulled the config.diff file from https://downloads.openwrt.org/chaos_cal … 8/bcm2709/ and ran a make defconfig This is still resulting in a failure to build the packages.
""
make[3]: Entering directory '/home/joe/openwrt1/toolchain/gcc/minimal'
make[3]: Nothing to be done for 'prepare'.
make[3]: Leaving directory '/home/joe/openwrt1/toolchain/gcc/minimal'
make[3]: Entering directory '/home/joe/openwrt1/toolchain/gcc/minimal'
export SHELL="bash"; make CFLAGS="-O2 -I/home/joe/openwrt1/staging_dir/host/include -I/home/joe/openwrt1/staging_dir/host/usr/include " CFLAGS_FOR_TARGET="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard" CXXFLAGS_FOR_TARGET="-Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard" -C /home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal all-gcc all-target-libgcc
make[4]: Entering directory '/home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal'
Configuring in ./intl
configure: loading cache ./config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: `-O2 -I/home/joe/openwrt/staging_dir/host/include -I/home/joe/openwrt/staging_dir/host/usr/include '
configure: current value: `-O2 -I/home/joe/openwrt1/staging_dir/host/include -I/home/joe/openwrt1/staging_dir/host/usr/include '
configure: error: in `/home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal/intl':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
Makefile:5296: recipe for target 'configure-intl' failed
make[4]: *** [configure-intl] Error 1
make[4]: Leaving directory '/home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal'
Makefile:46: recipe for target '/home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal/.built' failed
make[3]: *** [/home/joe/openwrt1/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/gcc-5.2.0-minimal/.built] Error 2
make[3]: Leaving directory '/home/joe/openwrt1/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/compile' failed
make[2]: *** [toolchain/gcc/minimal/compile] Error 2
make[2]: Leaving directory '/home/joe/openwrt1'
toolchain/Makefile:80: recipe for target '/home/joe/openwrt1/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/stamp/.toolchain_install' failed
make[1]: *** [/home/joe/openwrt1/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-5.2.0_musl-1.1.12_eabi/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/joe/openwrt1'
/home/joe/openwrt1/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2
""
The only success i have had has been a BAREBONES build that includes nothing but the CLI and the target system. Which wouldnt be a problem if i could add the packages with okpg however that does not work either due to bad signatures...?
"
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 0
src/gz chaos_calmer_targets http://downloads.openwrt.org/chaos_calm … es/targets
src/gz chaos_calmer_base http://downloads.openwrt.org/latest/brc … kages/base
src/gz chaos_calmer_luci http://downloads.openwrt.org/latest/brc … kages/luci
src/gz chaos_calmer_packages http://downloads.openwrt.org/latest/brc … s/packages
src/gz chaos_calmer_routing http://downloads.openwrt.org/latest/brc … es/routing
src/gz chaos_calmer_telephony http://downloads.openwrt.org/latest/brc … /telephony
src/gz chaos_calmer_management http://downloads.openwrt.org/latest/brc … management
"
Any advice is appreciated!!
(Last edited by pyrater on 21 Feb 2016, 22:36)