专家您好,我想问下在编译一个openwrt这种系统的时候
make到这里出了错,就动不了了
请问是什么原因呢,有没有什么可以努力的解决方向呢?
感谢!
ninja: Entering directory `/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0'
[1/439] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o
FAILED: 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o
/home/tu/openwrtproj/openwrt/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/i486-openwrt-linux-musl-g++ -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmImf -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmThread -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Iex -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Half -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr -I/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0 -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0=opencv-3.0.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-prototypes -Wstrict-prototypes -Winit-self -Wpointer-arith -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -fPIC -DNDEBUG -DNDEBUG -MD -MT 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o -MF 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o.d -o 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o -c /home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmImf/ImfAcesFile.cpp
cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmImf/ImfHeader.h:51,
from /home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmImf/ImfAcesFile.h:80,
from /home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/IlmImf/ImfAcesFile.cpp:41:
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:227:41: error: ISO C++17 does not allow dynamic exception specifications
227 | const Vec2 & normalizeExc () throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:231:48: error: ISO C++17 does not allow dynamic exception specifications
231 | Vec2<T> normalizedExc () const throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:439:41: error: ISO C++17 does not allow dynamic exception specifications
439 | const Vec3 & normalizeExc () throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:443:48: error: ISO C++17 does not allow dynamic exception specifications
443 | Vec3<T> normalizedExc () const throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:621:37: error: ISO C++17 does not allow dynamic exception specifications
621 | const Vec4 & normalizeExc () throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:625:44: error: ISO C++17 does not allow dynamic exception specifications
625 | Vec4<T> normalizedExc () const throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:713:30: error: ISO C++17 does not allow dynamic exception specifications
713 | Vec2<short>::normalizeExc () throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:722:37: error: ISO C++17 does not allow dynamic exception specifications
722 | Vec2<short>::normalizedExc () const throw (Iex::MathExc);
| ^~~~~
/home/tu/openwrtproj/openwrt/build_dir/target-i386_pentium4_musl/opencv-3.0.0/3rdparty/openexr/Imath/ImathVec.h:737:28: error: ISO C++17 does not allow dynamic exception specifications
737 | Vec2<int>::normalizeExc () throw (Iex::MathExc);
。。。。。。。。。。。。。。。。。。。。。
然后下面就是一大堆这种error: ISO C++17 does not allow dynamic exception specifications。请问这段报错的重点在哪里?