Я пытаюсь кросс-компилировать пакеты для среды OpenWRT Linux, используя набор инструментов OpenWRT.Я работаю над Ubuntu 14, и целью является mips na300 Box. Ошибка возникает, когда я пытаюсь выполнить кросс-компиляцию пакета для архитектуры box, я думаю, что это вопрос цепочки инструментов, которую следует заменить на внешнюю.я получаю журнал ошибок, как показано ниже:
checking for strerror... (cached) yes
checking for strtol... yes
checking zlib version... ok (1.2.0.4 or later)
checking for library containing zlibVersion... -lz
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
by default... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with -std=c++11... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with +std=c++11... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with -h std=c++11... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with -std=c++0x... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with +std=c++0x... no
checking whether mipsel-openwrt-linux-uclibc-g++ supports C++11 features
with -h std=c++0x... no
configure: error: *** A compiler with support for C++11 language features
is required.
make[3]: *** [/home/test/smartlife-azure-integration/trunc
/smartlife_openacs/automatic_builder/box_builder/openwrt-na9xx-
r25875-20121204/build_dir/target-mipsel_r2_uClibc-0.9.32/protobuf-
3.7.1/.configured_] Error 1
make[3]: Leaving directory `/home/test/smartlife-azure-integration/trunc
/smartlife_openacs/automatic_builder/box_builder/openwrt-na9xx-
r25875-20121204/package/protobuf'
make[2]: *** [package/protobuf/compile] Error 2
make[2]: Leaving directory `/home/test/smartlife-azure-integration/trunc
/smartlife_openacs/automatic_builder/box_builder/openwrt-na9xx-
r25875-20121204'
make[1]: *** [/home/test/smartlife-azure-integration/trunc
/smartlife_openacs/automatic_builder/box_builder/openwrt-na9xx-
r25875-20121204/staging_dir/target-mipsel_r2_uClibc-0.9.32/stamp
/.package_compile] Error 2
make[1]: Leaving directory `/home/test/smartlife-azure-integration/trunc
/smartlife_openacs/automatic_builder/box_builder/openwrt-na9xx-
r25875-20121204'
make: *** [world] Erreur 2