Hi, thanks for your help. I just tried what you suggested and it still failed. Do you have any other suggestions?
Here is the output (I had to cut it down as the output was too long for the website)
This is the first bit with some errors
make -j2 V=s
WARNING: Makefile 'package/configdb/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/diag/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/dsutils/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/mcm-core/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/network/services/net-snmp/Makefile' has a dependency on 'libpci', which does not exist
WARNING: Makefile 'package/qmi-client-helper/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/network/utils/qmicli/Makefile' has a dependency on 'libmbim', which does not exist
WARNING: Makefile 'package/qmuxd/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/xmllib/Makefile' has a build dependency on 'common', which does not exist
WARNING: Makefile 'package/feeds/packages/xz/Makefile' has a dependency on 'bash', which does not exist
WARNING: Makefile 'package/feeds/packages/xz/Makefile' has a dependency on 'bash', which does not exist
WARNING: Makefile 'package/feeds/packages/xz/Makefile' has a dependency on 'bash', which does not exist
WARNING: Makefile 'package/feeds/packages/xz/Makefile' has a dependency on 'bash', which does not exist
It ran fine for a while and then started getting these errors:
make[4]: Entering directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/tools/mpfr'
libCMakeLib.a(cmState.cxx.o): In function `ContainerAlgorithms::DefaultDeleter<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cmCommand*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> > >, true> std::for_each<std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> >, ContainerAlgorithms::DefaultDeleter<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cmCommand*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> > >, true> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> >, std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> >, ContainerAlgorithms::DefaultDeleter<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cmCommand*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cmCommand*> > >, true>) [clone .isra.158]':
cmState.cxx:(.text+0x4c9): undefined reference to `vtable for cmDisallowedCommand'
libCMakeLib.a(cmState.cxx.o): In function `cmState::AddDisallowedCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cmCommand*, cmPolicies::PolicyID, char const*)':
cmState.cxx:(.text+0x29a4): undefined reference to `vtable for cmDisallowedCommand'
libCMakeLib.a(cmState.cxx.o): In function `cmState::RemoveBuiltinCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
cmState.cxx:(.text+0x2d9a): undefined reference to `vtable for cmDisallowedCommand'
libCMakeLib.a(cmState.cxx.o): In function `cmState::AddScriptedCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cmCommand*)':
cmState.cxx:(.text+0x3042): undefined reference to `vtable for cmDisallowedCommand'
cmState.cxx:(.text+0x33cb): undefined reference to `vtable for cmDisallowedCommand'
libCMakeLib.a(cmState.cxx.o):cmState.cxx:(.text._ZN19cmDisallowedCommandD2Ev[_ZN19cmDisallowedCommandD5Ev]+0x7): more undefined references to `vtable for cmDisallowedCommand' follow
collect2: error: ld returned 1 exit status
Source/CMakeFiles/ccmake.dir/build.make:279: recipe for target 'bin/ccmake' failed
make[7]: *** [bin/ccmake] Error 1
make[7]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/build_dir/host/cmake-3.15.1'
CMakeFiles/Makefile2:1969: recipe for target 'Source/CMakeFiles/ccmake.dir/all' failed
make[6]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
make[6]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/build_dir/host/cmake-3.15.1'
Makefile:162: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/build_dir/host/cmake-3.15.1'
Makefile:50: recipe for target '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/build_dir/host/cmake-3.15.1/.built' failed
make[4]: *** [/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/build_dir/host/cmake-3.15.1/.built] Error 2
make[4]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/tools/cmake'
time: tools/cmake/compile#3.49#1.79#8.21
tools/Makefile:158: recipe for target 'tools/cmake/compile' failed
make[3]: *** [tools/cmake/compile] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/tools/mpfr'
time: tools/mpfr/compile#0.13#0.20#0.44
make[3]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64'
tools/Makefile:156: recipe for target '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.tools_compile_yynyynnyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyyynyynynnyyynnyyy' failed
make[2]: *** [/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.tools_compile_yynyynnyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyyynyynynnyyynnyyy] Error 2
make[2]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64'
Makefile:102: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64'
Build failed - please re-run with -j1 to see the real error message
/home/charlie/TRB_SDK/openwrt-gpl-mdm9x07.Linux-x86_64/include/toplevel.mk:229: recipe for target 'world' failed
make: *** [world] Error 1