Hi AllI am trying to build webrtc version 59 , using the following:
ninja -C out/default CCServiceUnitHow to solve the error?
--Thank you. yhI get the the following error:root@ubuntu-VirtualBox:/home/ubuntu/webrtc-checkout/src# ninja -C out/default CCServiceUnitninja: Entering directory `out/default'[6/6] LINK ./CCServiceUnitFAILED: CCServiceUnitpython "../../build/toolchain/gcc_link_wrapper.py" --output="./CCServiceUnit" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -m64 -pthread -Werror -Wl,--gdb-index -Wl,-rpath-link=. -Wl,--disable-new-dtags -L/usr/local/lib -o "./CCServiceUnit" -Wl,--start-group @"./CCServiceUnit.rsp" -Wl,--end-group /usr/local/lib/libjemalloc.a -ldl -lrt -lsocketiopoco -lx264 -lavcodec_fl2 -lavformat_fl2 -lavfilter_fl2 -lswscale_fl2 -lavutil_fl2 -lvo-aacenc -lPocoFoundationd -lPocoJSONd -lPocoNetd -lPocoNetSSLd -lXext -lX11 -lXcomposite -lXrender -lexpat -lm -lconfig++../../webrtc/base/checks.h:176: error: undefined reference to 'std::string* rtc::MakeCheckOpString<unsigned long, unsigned long>(unsigned long const&, unsigned long const&, char const*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:496: error: undefined reference to 'webrtc::CreateIceCandidate(std::string const&, int, std::string const&, webrtc::SdpParseError*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:535: error: undefined reference to 'webrtc::CreateSessionDescription(std::string const&, std::string const&, webrtc::SdpParseError*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:360: error: undefined reference to 'Json::Value::asString() const'../../CCServiceUnit/webrtc/PeerConnectionController.cc:369: error: undefined reference to 'rtc::GetStringFromJsonObject(Json::Value const&, std::string const&, std::string*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:370: error: undefined reference to 'rtc::GetIntFromJsonObject(Json::Value const&, std::string const&, int*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:371: error: undefined reference to 'rtc::GetStringFromJsonObject(Json::Value const&, std::string const&, std::string*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:387: error: undefined reference to 'rtc::GetStringFromJsonObject(Json::Value const&, std::string const&, std::string*)'../../CCServiceUnit/webrtc/PeerConnectionController.cc:638: error: undefined reference to 'webrtc::CreateSessionDescription(std::string const&, std::string const&, webrtc::SdpParseError*)'../../webrtc/base/array_view.h:149: error: undefined reference to 'rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'../../webrtc/base/array_view.h:150: error: undefined reference to 'rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'../../webrtc/base/array_view.h:151: error: undefined reference to 'rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'../../webrtc/base/array_view.h:149: error: undefined reference to 'rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'clang: error: linker command failed with exit code 1 (use -v to see invocation)ninja: build stopped: subcommand failed.PSBUILD.gn filedefines = []cflags_cc =[]defines += ["WEBRTC_POSIX","_GLIBCXX_USE_CXX11_ABI=0",]if (is_linux) {executable("CCServiceUnit") {defines += ["WEBRTC_POSIX","_GLIBCXX_USE_CXX11_ABI=0",]cflags_cc += [ "-std=c++0x" ]sources = ["conductor.cc","conductor.h","main.cc","channel/SocketIOChannel.h","channel/SUSocketIOChannel.h","channel/SUSocketIOChannel.cc","channel/TestProgramChannel.h","channel/TestProgramChannel.cc","utils/flags/flagdefs.h",]deps = ["//third_party/jsoncpp:jsoncpp",":fl2_peerconnection",]include_dirs = [".","//third_party/libyuv/include"]libs = ["/usr/local/lib/libjemalloc.a"]}static_library("fl2_utils") {cflags_cc += [ "-std=c++11" ]sources = ["utils/bitvector.h","utils/buffer.h","utils/callback.h","utils/lock.cc","utils/lock.h","utils/parser.cc","utils/parser.h","utils/ptr.h","utils/thread.h","utils/timedloop.cc","utils/timedloop.h","utils/timestamp.h","utils/tqueue.h","utils/util.h","utils/util.cc","utils/xsleep.h",]include_dirs = ["."]libs = ["config++"]}static_library("fl2_transcoder"){cflags_cc += [ "-std=c++11" ]sources = ["transcoder/gpl/DataStructure.h","transcoder/gpl/x264Encoder.cc","transcoder/gpl/x264Encoder.h","transcoder/AVDecoder.cc","transcoder/AVDecoder.h","transcoder/buflogic.h","transcoder/framerate.h","transcoder/image2.cc","transcoder/image2.h","transcoder/LibAvTextAdder.cc","transcoder/LibAvTextAdder.h","transcoder/playback_buffer.cc","transcoder/playback_buffer.h","transcoder/tavarua_data_structure.h","transcoder/tavarua_mode.h",]include_dirs = ["."]lib_dirs = ["/usr/local/lib"]libs = ["x264","avcodec_fl2","avformat_fl2","avfilter_fl2","swscale_fl2","avutil_fl2","vo-aacenc",]}static_library("fl2_peerconnection"){cflags_cc += ["-std=c++11","-Wno-sign-compare","-Wno-overloaded-virtual","-Wno-deprecated-declarations","-Wno-uninitialized","-Wno-return-type"]sources = ["file/file_io2.cc","file/file_io2.h","file/file_scanner.cc","file/file_scanner.h","file/LiveBufferWriter.cc","file/LiveBufferWriter.h","file/MediaFileWriter.cc","file/MediaFileWriter.h","file/MediaWriter.cc","file/MediaWriter.h","file/MediaWriterInterface.h","file/MMAPfileWriter.cc","file/MMAPfileWriter.h","webrtc/AudioMixer.cc","webrtc/AudioMixer.h","webrtc/AudioSetting.h","webrtc/AudioVirtualDeviceModule.cc","webrtc/AudioVirtualDeviceModule.h","webrtc/AVCodecContextDeleter.h","webrtc/defaults.cc","webrtc/defaults.h","webrtc/ForwardVideoDecoder.cc","webrtc/ForwardVideoDecoder.h","webrtc/ForwardVideoDecoderFactory.cc","webrtc/ForwardVideoDecoderFactory.h","webrtc/ForwardVideoEncoder.cc","webrtc/ForwardVideoEncoder.h","webrtc/ForwardVideoEncoderFactory.cc","webrtc/ForwardVideoEncoderFactory.h","webrtc/VirtualVideoRenderer.cc","webrtc/VirtualVideoRenderer.h","webrtc/PeerConnectionController.cc","webrtc/PeerConnectionController.h","webrtc/PeerConnectionSession.cc","webrtc/PeerConnectionSession.h","webrtc/PeerConnectionSessionInterface.cc","webrtc/PeerConnectionSessionInterface.h","webrtc/QueueVideoCapturer.cc","webrtc/QueueVideoCapturer.h","webrtc/RTCMediaConstraints.cc","webrtc/RTCMediaConstraints.h","webrtc/TypedMessageData2.h","webrtc/WebRtcAACEncoder.cc","webrtc/WebRtcAACEncoder.h","webrtc/WebRtcLibAvDecoder.cc","webrtc/WebRtcLibAvDecoder.h","webrtc/WebRtcOpusDecoder.cc","webrtc/WebRtcOpusDecoder.h","webrtc/WebRtcOpusEncoder.cc","webrtc/WebRtcOpusEncoder.h","webrtc/WebRtcVP8Encoder.cc","webrtc/WebRtcVP8Encoder.h","webrtc/WrapEncodedFrame.h","webrtc/WebRtcX264Encoder.cc","webrtc/WebRtcX264Encoder.h",]deps = ["//third_party/jsoncpp:jsoncpp","//webrtc/modules/video_coding:webrtc_vp8","//webrtc/modules/video_coding:webrtc_vp9","//third_party/libvpx:libvpx","//webrtc/api:libjingle_peerconnection_api","//webrtc/pc:libjingle_peerconnection","//webrtc/base:rtc_base_approved","//webrtc/base:rtc_base","//webrtc/system_wrappers:field_trial_default","//webrtc/modules/congestion_controller:congestion_controller","//webrtc/system_wrappers:metrics_default","//third_party/libyuv","//webrtc/api:video_frame_api","//webrtc/media:rtc_media","//webrtc/modules/video_capture:video_capture_module",":fl2_utils",":fl2_transcoder",]public_deps = ["//third_party/libvpx:libvpx",]include_dirs = [".","//third_party/libyuv/include"]lib_dirs = ["/usr/local/lib"]libs = ["socketiopoco","x264","avcodec_fl2","avformat_fl2","avfilter_fl2","swscale_fl2","avutil_fl2","vo-aacenc",]if(is_debug){libs += ["PocoFoundationd","PocoJSONd","PocoNetd","PocoNetSSLd",]}else{libs += ["PocoFoundation","PocoJSON","PocoNet","PocoNetSSL",]}}static_library("QC3ClientProtocol") {cflags_cc += [ "-std=c++11" ]sources = ["channel/ClientSocketIOChannel.cc","channel/ClientSocketIOChannel.h","channel/QC3ClientProtocol.cc","channel/QC3ClientProtocol.h","channel/SocketIOChannel.h","channel/SUSocketIOChannel.cc","channel/SUSocketIOChannel.h",]include_dirs = ["."]deps = ["//webrtc/api:libjingle_peerconnection_api",]if(is_debug){libs = ["PocoFoundationd","PocoJSONd","PocoNetd","PocoNetSSLd",]}else{libs = ["PocoFoundation","PocoJSON","PocoNet","PocoNetSSL",]}}static_library("fl2_xv") {cflags_cc += [ "-std=c++11" ]sources = ["xv/video_out.h","xv/xv.cc","xv/xv.h","xv/xv2.cc","xv/xv2.h","xv/XvViewer.cc","xv/XvViewer.h","xv/xwin.cc","xv/xwin.h",]libs = ["X11","Xv","Xcomposite","Xext","Xrender",]include_dirs = ["."]}}
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To post to this group, send email to webm-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+unsubscribe@webmproject.org.
To post to this group, send email to webm-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CABWgkXL1T%3DWGp-2umk0FSgPtJbKdO4sM%2BBLhhNJXcKKbcRJ4QA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To post to this group, send email to webm-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
Hi Patrik HöglundYes, it does. I have replaced pc:libjingle_peerconnection with pc:peerconnection (rebuild).The result seems correct, but the error message still appears....root@ubuntu-VirtualBox:/home/ubuntu/webrtc-checkout/src# ninja -C out/default CCServiceUnitninja: Entering directory `out/default'[6/6] LINK ./CCServiceUnitFAILED: CCServiceUnitpython "../../build/toolchain/gcc_link_wrapper.py" --output="./CCServiceUnit" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -m64 -pthread -Werror -Wl,--gdb-index -Wl,-rpath-link=. -Wl,--disable-new-dtags -L/usr/local/lib -o "./CCServiceUnit" -Wl,--start-group @"./CCServiceUnit.rsp" -Wl,--end-group /usr/local/lib/libjemalloc.a -ldl -lrt -lsocketiopoco -lx264 -lavcodec_fl2 -lavformat_fl2 -lavfilter_fl2 -lswscale_fl2 -lavutil_fl2 -lvo-aacenc -lPocoFoundationd -lPocoJSONd -lPocoNetd -lPocoNetSSLd -lXext -lX11 -lXcomposite -lXrender -lexpat -lm -lconfig++../../CCServiceUnit/channel/SUSocketIOChannel.cc:45: error: undefined reference to 'Poco::Net::HTTPResponse::getCookies(std::__debug::vector<Poco::Net::HTTPCookie, std::allocator<Poco::Net::HTTPCookie> >&) const'../../CCServiceUnit/channel/SUSocketIOChannel.cc:73: error: undefined reference to 'SIOClient::connect(Poco::Net::HTTPClientSession*, std::__debug::vector<Poco::Net::HTTPCookie, std::allocator<Poco::Net::HTTPCookie> >&, std::string const&, bool)'clang: error: linker command failed with exit code 1 (use -v to see invocation)ninja: build stopped: subcommand failed.Can you help me how solve this problem?Thank you.yh
rtc_source_set("libjingle_peerconnection") { visibility = [ "*" ] deps = [ ":create_pc_factory", ":peerconnection", "../api:libjingle_peerconnection_api", ] }
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/81e9e754-9d7c-4eb0-bebf-3f5ae9d8690a%40googlegroups.com.
Hi!