Last active
April 8, 2019 13:56
-
-
Save mganeko/c249cfc90f0f777f2be525896379c042 to your computer and use it in GitHub Desktop.
macOS 10.13.6 + docker で momo raspbian-stretch_armv7 のビルドのエラー(最後の方だけ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/root/webrtc/src/third_party/llvm-build/Release+Asserts/bin/clang++ --sysroot=/root/rootfs --target=arm-linux-gnueabihf -Wno-macro-redefined -fno-lto -std=c++11 -pthread -DWEBRTC_POSIX -DOPENSSL_IS_BORINGSSL -Isrc/ -I/root/webrtc/src -I/root/webrtc/src/third_party/libyuv/include -I/root/webrtc/src/third_party/abseil-cpp -DMOMO_VERSION='"19.02.0"' -DUSE_H264=1 -fpic -I/root/rootfs/usr/include/arm-linux-gnueabihf -mfloat-abi=hard -march=armv7-a -mtune=generic-armv7-a -mfpu=neon -mthumb -DUSE_IL_ENCODER=1 -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -I/root/rootfs/opt/vc/include/ -Ilibs/ilclient/ -I. -D_LIBCPP_ABI_UNSTABLE -nostdinc++ -isystem/root/webrtc/src/buildtools/third_party/libc++/trunk/include -I/root/boost-1.69.0/include -I/root/webrtc/src/third_party/boringssl/src/include -DOPENSSL_IS_BORINGSSL -Ilibs/json-3.6.1/include -Ilibs/CLI11-1.7.1/include -MMD -MP -O2 -c hwenc_il/il_encoder_factory.cpp -o _build/raspbian-stretch_armv7/hwenc_il/il_encoder_factory.o | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:653: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/type_traits:406: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/cstddef:38: | |
./version:1:3: error: invalid preprocessing directive | |
# 各種ライブラリのバージョン情報 | |
^ | |
./version:2:3: error: invalid preprocessing directive | |
# 項目を変更してビルドすれば各環境へ反映される(ように作る) | |
^ | |
./version:3:1: error: expected unqualified-id | |
MOMO_VERSION=19.02.0 | |
^ | |
<command line>:3:22: note: expanded from here | |
#define MOMO_VERSION "19.02.0" | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:653: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/type_traits:406: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/cstddef:38: | |
./version:10:3: error: invalid preprocessing directive | |
# パッケージ名の一覧 | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:653: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/type_traits:406: | |
/root/webrtc/src/buildtools/third_party/libc++/trunk/include/cstddef:50:9: error: no member named 'ptrdiff_t' in the global namespace | |
using ::ptrdiff_t; | |
~~^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:653: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/type_traits:407: | |
./version:1:3: error: invalid preprocessing directive | |
# 各種ライブラリのバージョン情報 | |
^ | |
./version:2:3: error: invalid preprocessing directive | |
# 項目を変更してビルドすれば各環境へ反映される(ように作る) | |
^ | |
./version:3:1: error: expected unqualified-id | |
MOMO_VERSION=19.02.0 | |
^ | |
<command line>:3:22: note: expanded from here | |
#define MOMO_VERSION "19.02.0" | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:653: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/type_traits:407: | |
./version:10:3: error: invalid preprocessing directive | |
# パッケージ名の一覧 | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:654: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/typeinfo:61: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/exception:84: | |
./version:1:3: error: invalid preprocessing directive | |
# 各種ライブラリのバージョン情報 | |
^ | |
./version:2:3: error: invalid preprocessing directive | |
# 項目を変更してビルドすれば各環境へ反映される(ように作る) | |
^ | |
./version:3:1: error: expected unqualified-id | |
MOMO_VERSION=19.02.0 | |
^ | |
<command line>:3:22: note: expanded from here | |
#define MOMO_VERSION "19.02.0" | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:654: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/typeinfo:61: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/exception:84: | |
./version:10:3: error: invalid preprocessing directive | |
# パッケージ名の一覧 | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:657: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/new:88: | |
./version:1:3: error: invalid preprocessing directive | |
# 各種ライブラリのバージョン情報 | |
^ | |
./version:2:3: error: invalid preprocessing directive | |
# 項目を変更してビルドすれば各環境へ反映される(ように作る) | |
^ | |
./version:3:1: error: expected unqualified-id | |
MOMO_VERSION=19.02.0 | |
^ | |
<command line>:3:22: note: expanded from here | |
#define MOMO_VERSION "19.02.0" | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:657: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/new:88: | |
./version:10:3: error: invalid preprocessing directive | |
# パッケージ名の一覧 | |
^ | |
In file included from hwenc_il/il_encoder_factory.cpp:1: | |
In file included from hwenc_il/il_encoder_factory.h:4: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/memory:658: | |
In file included from /root/webrtc/src/buildtools/third_party/libc++/trunk/include/utility:206: | |
./version:1:3: error: invalid preprocessing directive | |
# 各種ライブラリのバージョン情報 | |
^ | |
./version:2:3: error: invalid preprocessing directive | |
# 項目を変更してビルドすれば各環境へ反映される(ように作る) | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
Makefile:458: recipe for target '_build/raspbian-stretch_armv7/hwenc_il/il_encoder_factory.o' failed | |
make[1]: *** [_build/raspbian-stretch_armv7/hwenc_il/il_encoder_factory.o] Error 1 | |
make[1]: Leaving directory '/root/momo' | |
Makefile:475: recipe for target 'momo' failed | |
make: *** [momo] Error 2 | |
make: *** [raspbian-stretch_armv7] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment