vsimon / webrtcbuilds

Getting started with WebRTC natively is no easy picnic. The goal of webrtcbuilds is to provide a single standalone WebRTC static library and package.
BSD 3-Clause "New" or "Revised" License
202 stars 163 forks source link

Fix errors building x86 on linux #28

Open vsimon opened 8 years ago

vsimon commented 8 years ago

Probably needs libexpat1-dev:i386 somewhere in deps (webrtc's install-dep scripts doesn't cover?)

$ ./build.sh -c x86

FAILED: expat_xml_parse_fuzzer g++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=safe -pthread -m32 -Wl,-rpath-link=../Debug -Wl,--disable-new-dtags -o "./expat_xml_parse_fuzzer" -Wl,--start-group @"./expat_xml_parse_fuzzer.rsp" -Wl,--end-group -ldl -lrt -lexpat ../../third_party/binutils/Linux_x64/Release/bin/ld.gold: error: cannot find -lexpat ../../third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:23: error: undefined reference to 'XML_ParserCreateNS' ../../third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:23: error: undefined reference to 'XML_ParserCreate' ../../third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:24: error: undefined reference to 'XML_Parse' ../../third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:25: error: undefined reference to 'XML_ParserFree'