Build options
OpenSSL version: 1.1.1d
Targets: ios-sim-cross-x86_64 ios64-cross-arm64 ios64-cross-arm64e tvos-sim-cross-x86_64 tvos64-cross-arm64
iOS SDK: 13.2
tvOS SDK: 13.2
Number of make threads: 8
Build location: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone
Using openssl-1.1.1d.tar.gz
Building openssl-1.1.1d for iPhoneSimulator 13.2 x86_64...
Logfile: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneSimulator13.2-x86_64.sdk/build-openssl-1.1.1d.log
Configure...
Make (using 8 thread(s))...
[|]
Building openssl-1.1.1d for iPhoneOS 13.2 arm64...
Logfile: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneOS13.2-arm64.sdk/build-openssl-1.1.1d.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.1d for iPhoneOS 13.2 arm64e...
Logfile: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneOS13.2-arm64e.sdk/build-openssl-1.1.1d.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.1d for AppleTVSimulator 13.2 x86_64...
Logfile: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/AppleTVSimulator13.2-x86_64.sdk/build-openssl-1.1.1d.log
Configure...
Make (using 8 thread(s))...
Building openssl-1.1.1d for AppleTVOS 13.2 arm64...
Logfile: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/AppleTVOS13.2-arm64.sdk/build-openssl-1.1.1d.log
Configure...
Make (using 8 thread(s))...
Build library for iOS...
=====>iOS SSL and Crypto lib files:
/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/lib/libssl.a
/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/lib/libcrypto.a
Build library for tvOS...
=====>tvOS SSL and Crypto lib files:
/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/lib/libssl-tvOS.a
/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/lib/libcrypto-tvOS.a
=====>Include directory:
/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/include/
Done.
zhangbin@pb6a80114 ~/tet/webrtc_build/owt-native/OpenSSL-for-iPhone master
zhangbin@pb6a80114 ~/tet/webrtc_build/owt-native/OpenSSL-for-iPhone master
1.1.1.d在 链接tests时报错了
rtc::(anonymous namespace)::MakeCertificate(evp_pkey_st*, rtc::SSLIdentityParams const&) in librtc_base.a(openssl_certificate.o)
"_X509_up_ref", referenced from:
rtc::OpenSSLCertificate::OpenSSLCertificate(x509_st*) in librtc_base.a(openssl_certificate.o)
"_X509_verify_cert_error_string", referenced from:
rtc::OpenSSLAdapter::SSLVerifyCallback(int, x509_store_ctx_st*) in librtc_base.a(openssl_adapter.o)
"_d2i_X509", referenced from:
rtc::openssl::LoadBuiltinSSLRootCertificates(ssl_ctx_st*) in librtc_base.a(openssl_utility.o)
"_i2d_X509_bio", referenced from:
rtc::OpenSSLCertificate::ToDER(rtc::BufferT<unsigned char, false>*) const in librtc_base.a(openssl_certificate.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "../../build/toolchain/mac/linker_driver.py", line 287, in <module>
Main(sys.argv)
File "../../build/toolchain/mac/linker_driver.py", line 97, in Main
subprocess.check_call(compiler_driver_args, env=env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['clang++', '-B', '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/', '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', '-Xlinker', '-objc_abi_version', '-Xlinker', '2', '-Xlinker', '-sectcreate', '-Xlinker', '__TEXT', '-Xlinker', '__entitlements', '-Xlinker', 'obj/third_party/webrtc/modules/audio_coding/audio_decoder_unittests.xcent', '-Wl,-fatal_warnings', '-arch', 'x86_64', '-Werror', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk', '-stdlib=libc++', '-mios-simulator-version-min=9.0', '-Wl,-ObjC', '-o', 'obj/third_party/webrtc/modules/audio_coding/x64/audio_decoder_unittests', '-Wl,-filelist,obj/third_party/webrtc/modules/audio_coding/x64/audio_decoder_unittests.rsp', '-framework', 'UIKit', '-framework', 'CoreFoundation', '-framework', 'CoreGraphics', '-framework', 'CoreText', '-framework', 'Foundation', '-framework', 'CFNetwork', '-framework', 'Security', '-framework', 'SystemConfiguration', '-framework', 'AVFoundation', '-framework', 'AudioToolbox', '-framework', 'CoreMedia']' returned non-zero exit status 1
ninja: build stopped: subcommand failed.
✘ zhangbin@pb6a80114 ~/tet/webrtc_build/owt-native/src/src ➦ e983dc8 ●
不编译tests,1.1.1.d 构建owt
✘ zhangbin@pb6a80114 ~/tet/webrtc_build/owt-native/src/src ➦ e983dc8 ● python scripts/build.py --arch 'x64' --ssl_root '/Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneSimulator13.2-x86_64.sdk' --scheme 'debug' --skip_tests
Done. Made 1509 targets from 228 files in 1245ms
ninja: Entering directory `out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory `out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory `out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory `out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory `out/Debug-simulator-x64'
ninja: no work to do.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_receive_stream.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_receive_stream.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_receive_stream.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_send_stream.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_send_stream.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_send_stream.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_state.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_state.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(audio_state.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (auto_correlation.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(auto_correlation.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(auto_correlation.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (cross_correlation.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(cross_correlation.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(cross_correlation.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (decoder_database.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(decoder_database.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(decoder_database.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (dtls_transport.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(dtls_transport.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(dtls_transport.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (encoded_frame.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(encoded_frame.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(encoded_frame.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (err.o) in output file used for input files: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneSimulator13.2-x86_64.sdk/lib/libcrypto.a(err.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(err.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (helpers.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(helpers.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(helpers.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (histogram.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(histogram.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(histogram.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (int128.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(int128.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(int128.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (jsep_ice_candidate.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(jsep_ice_candidate.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(jsep_ice_candidate.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (logging.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_sdk_base.a(logging.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(logging.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (moving_average.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(moving_average.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(moving_average.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (noise_suppression.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(noise_suppression.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(noise_suppression.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (packet.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(packet.o) and: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneSimulator13.2-x86_64.sdk/lib/libssl.a(packet.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (packet.o) in output file used for input files: /Users/zhangbin/tet/webrtc_build/owt-native/OpenSSL-for-iPhone/bin/iPhoneSimulator13.2-x86_64.sdk/lib/libssl.a(packet.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(packet.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (packet_buffer.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(packet_buffer.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(packet_buffer.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (rtp_sender.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(rtp_sender.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(rtp_sender.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (sctp_transport.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(sctp_transport.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(sctp_transport.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (splitting_filter.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(splitting_filter.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(splitting_filter.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (stream.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_sdk_base.a(stream.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(stream.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (sysinfo.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_sdk_base.a(sysinfo.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(sysinfo.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_common.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_common.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_common.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_frame_buffer.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_frame_buffer.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_frame_buffer.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_receive_stream.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_receive_stream.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_receive_stream.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_send_stream.o) in output file used for input files: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_send_stream.o) and: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(video_send_stream.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(unscaledcycleclock.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(socket.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(convert_jpeg.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(mjpeg_decoder.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(io_win32.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: out/Debug-simulator-x64/obj/talk/owt/libowt_deps.a(sctp6_usrreq.o) has no symbols
Done.
zhangbin@pb6a80114 ~/tet/webrtc_build/owt-native/src/src ➦ e983dc8 ●