jeudi 12 mars 2015

bizarre clang++ errors comping webrtc android on Ubuntu Linux


I am getting errors of the following type while attempting to compile webrtc_android on an Ubuntu 14 system (VirtualBox). All gclient sync and other steps have been done as described at http://ift.tt/1BDQN1u. When I type "ninja -C out/Debug", it builds for a bit, and then I get an error like this:



[2/4213] CXX http://ift.tt/1Car3gf
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF http://ift.tt/18Fh86g -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=231191-2 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-format -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Os -g -gdwarf-4 -fdata-sections -ffunction-sections -fomit-frame-pointer -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -std=gnu++11 -c ../../chromium/src/tools/telemetry/telemetry/core/bitmaptools.cc -o http://ift.tt/1Car1Fh
../../third_party/llvm-build/Release+Asserts/bin/clang++: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang++: Syntax error: ")" unexpected
[2/4213] ACTION Instrumenting audio_device_java jar
ninja: build stopped: subcommand failed.


It seems to happen on various .cc (C++) files which I haven't changed and which appear syntacticly correct on inspection. Any experience or thoughts with this?




Aucun commentaire:

Enregistrer un commentaire