RAKWireless / RAK2247-RAK833-LoRaGateway-OpenWRT-MT7628

update to lora_gateway v5.0.1 and packet_forwarder v4.0.1
5 stars 4 forks source link

Instructions lead to build errors #2

Open timothybean opened 5 years ago

timothybean commented 5 years ago

sudo ./build/envsetup.sh wisLora null Compile target....... make[1]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/target /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt make[2]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt' make[3]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/rak' ./create-workspace.sh /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/rak/purewrt-rc2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/purewrt-rc2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 Creating openWRT /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 from /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/rak/purewrt-rc2..... INFO: /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 exist, it will be used as currrent workspace make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'proper-umask'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'perl-thread-queue'... ok. Checking 'tar'... ok. Checking 'find'... ok. Checking 'bash'... ok. Checking 'patch'... ok. Checking 'diff'... ok. Checking 'cp'... ok. Checking 'seq'... ok. Checking 'awk'... ok. Checking 'grep'... ok. Checking 'getopt'... ok. Checking 'stat'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'wget'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'python3'... ok. Checking 'git'... ok. Checking 'file'... ok. Prerequisite check failed. Use FORCE=1 to override. make[4]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[3]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/rak' make[2]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/target /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//products make[2]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products' make[3]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora' cp -rf opwrt-wisap-topv001-1-20180308_config /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2/.config /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target/linux' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target/linux Creating openWRT board property..... Creating openWRT board info finished...... make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'proper-umask'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'perl-thread-queue'... ok. Checking 'tar'... ok. Checking 'find'... ok. Checking 'bash'... ok. Checking 'patch'... ok. Checking 'diff'... ok. Checking 'cp'... ok. Checking 'seq'... ok. Checking 'awk'... ok. Checking 'grep'... ok. Checking 'getopt'... ok. Checking 'stat'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'wget'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'python3'... ok. Checking 'git'... ok. Checking 'file'... ok. Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: target/linux/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[5]: [Makefile:14: compile] Error 2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target/linux' make[4]: [Makefile:10: compile] Error 2 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package' ./create-package-native.sh /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 package /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/rak/purewrt-rc2 Creating openWRT package property..... Clean openWRT old package... Update openWRT package... Update openWrt feeds-ap package... Creating openWRT package info finished...... /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/base-files' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/base-files make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/base-files' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/kernel' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/kernel make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/kernel' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network/config' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network/config ================================================ooooooooooooooooooooooooo /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network/config' make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/network' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/system' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/system ================================================ooooooooooooooooooooooooo /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/..//wiswrt/15.05-rak-rc2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/system' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/utils' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'proper-umask'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'perl-thread-queue'... ok. Checking 'tar'... ok. Checking 'find'... ok. Checking 'bash'... ok. Checking 'patch'... ok. Checking 'diff'... ok. Checking 'cp'... ok. Checking 'seq'... ok. Checking 'awk'... ok. Checking 'grep'... ok. Checking 'getopt'... ok. Checking 'stat'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'wget'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'python3'... ok. Checking 'git'... ok. Checking 'file'... ok. Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/wisapps/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'proper-umask'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'perl-thread-queue'... ok. Checking 'tar'... ok. Checking 'find'... ok. Checking 'bash'... ok. Checking 'patch'... ok. Checking 'diff'... ok. Checking 'cp'... ok. Checking 'seq'... ok. Checking 'awk'... ok. Checking 'grep'... ok. Checking 'getopt'... ok. Checking 'stat'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'wget'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'python3'... ok. Checking 'git'... ok. Checking 'file'... ok. Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/lora-gateway/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'proper-umask'... ok. Checking 'gcc'... ok. Checking 'working-gcc'... ok. Checking 'g++'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'perl-thread-queue'... ok. Checking 'tar'... ok. Checking 'find'... ok. Checking 'bash'... ok. Checking 'patch'... ok. Checking 'diff'... ok. Checking 'cp'... ok. Checking 'seq'... ok. Checking 'awk'... ok. Checking 'grep'... ok. Checking 'getopt'... ok. Checking 'stat'... ok. Checking 'unzip'... ok. Checking 'bzip2'... ok. Checking 'wget'... ok. Checking 'perl'... ok. Checking 'python'... ok. Checking 'python3'... ok. Checking 'git'... ok. Checking 'file'... ok. Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/packet_forwarder/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/wiswrt/15.05-rak-rc2' make[5]: [Makefile:9: compile] Error 2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package/utils' make[4]: [Makefile:14: compile] Error 2 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora/package' make[3]: [Makefile:12: compile] Error 2 make[3]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products/wisLora' make[2]: [Makefile:7: compile] Error 2 make[2]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/products' make[1]: [Makefile:20: compile] Error 2 make[1]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI/build/target' make: *** [Makefile:67: compile] Error 2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-SPI//wiswrt/15.05-rak-rc2

RAKWireless commented 5 years ago

@timothybean

What operating system are you using? What is the gcc version? The project requires a gcc version of 5.x.

timothybean commented 5 years ago

using Pop_OS! gcc --version gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0

timothybean commented 5 years ago

Was able to get gcc 5

Doesn't really seem to change anything... the errors are less than helpful because it is not actually telling me whats wrong.

gcc --version gcc (Ubuntu 5.5.0-12ubuntu8) 5.5.0 20171010

sudo ./build/envsetup.sh wisLora null Compile target....... make[1]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/target /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt make[2]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt' make[3]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/rak' ./create-workspace.sh /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/rak/purewrt-rc2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/purewrt-rc2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 Creating openWRT /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 from /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/rak/purewrt-rc2..... INFO: /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 exist, it will be used as currrent workspace make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' Prerequisite check failed. Use FORCE=1 to override. make[4]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[3]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/rak' make[2]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/target /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//products make[2]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products' make[3]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora' cp -rf opwrt-wisap-topv001-1-20180308_config /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2/.config /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target/linux' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target/linux Creating openWRT board property..... Creating openWRT board info finished...... make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: target/linux/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[5]: [Makefile:14: compile] Error 2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target/linux' make[4]: [Makefile:10: compile] Error 2 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/target' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora make[4]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package' ./create-package-native.sh /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 package /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/rak/purewrt-rc2 Creating openWRT package property..... Clean openWRT old package... Update openWRT package... Update openWrt feeds-ap package... Creating openWRT package info finished...... /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/base-files' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/base-files make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/base-files' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/kernel' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/kernel make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/kernel' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network/config' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network/config ================================================ooooooooooooooooooooooooo /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network/config' make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/network' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/system' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/system ================================================ooooooooooooooooooooooooo /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/..//wiswrt/15.05-rak-rc2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/system' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package make[5]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/utils' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/wisapps/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/lora-gateway/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/utils make[6]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[8]: Entering directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' Prerequisite check failed. Use FORCE=1 to override. make[8]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:142: staging_dir/host/.prereq-build] Error 1 make[8]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[7]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:69: prepare-tmpinfo] Error 2 make[7]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[6]: [/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2/include/toplevel.mk:181: package/utils/packet_forwarder/clean] Error 2 make[6]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/wiswrt/15.05-rak-rc2' make[5]: [Makefile:9: compile] Error 2 make[5]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package/utils' make[4]: [Makefile:14: compile] Error 2 make[4]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora/package' make[3]: [Makefile:12: compile] Error 2 make[3]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products/wisLora' make[2]: [Makefile:7: compile] Error 2 make[2]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/products' make[1]: [Makefile:20: compile] Error 2 make[1]: Leaving directory '/home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB/build/target' make: *** [Makefile:67: compile] Error 2 /home/tim/work/noranetworks/gateway/firmware/noranetworks/RAK833-LoRaGateway-OpenWRT-MT7628-USB//wiswrt/15.05-rak-rc2

RAKWireless commented 5 years ago

@timothybean Hello! Our build environment is 16.04.1-Ubuntu, and we just compiled it successfully. Can you try again on ubuntu16? gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0

timothybean commented 5 years ago

Well,

i'll have to see if I have something close to that as that is pretty old at this point. I just built a fresh copy of openwrt though... anyway to upgrade the build to a latter version?

Thanks

timothybean commented 5 years ago

I tried on Linux Mint 18.3 (Ubuntu 16.04.10) and still same issue.

gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609

Same error as above. But, still nothing worth while in the output to tell me why its failing.

Is there any effort, or instructions to, upgrade this to a new version of Ubuntu? 16.04 was released in 2016 so it is pretty old at this point and going to be harder to expect developers to be able to support that going forward.

Maybe you can shed some light on how I could include the specific wisLora items in a newer version of openwrt?

Thanks

RAKWireless commented 5 years ago

@timothybean Ubuntu16.04 is a long-term supported version. I tried and successfully compiled on Linux Mint 18.3. I will upload my compiled firmware to the network and provide the download.

RAKWireless commented 5 years ago

@timothybean You can download the compiled firmware from https://downloads.rakwireless.com/en/LoRa/RAK2247-Mini-PCIe/MT7628-Firmware/

x893 commented 4 years ago

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Problem with ReadOnly attribute mv: cannot move 'bin/aclocal.tmp2' to 'bin/aclocal.tmp': Permission denied in 15.05-rak-rc2/build_dir/host/automake-1.15/bootstrap.sh find chmod a-w

timothybean commented 4 years ago

@x893 Are you having a problem as well?

x893 commented 4 years ago

Yes, because bootstrap.sh set ReadOnly attribute and try rewrite file later. So error occured.