架构x86_64的未定义符号:编译janus-plugin-sfu

时间:2018-09-29 01:39:01

标签: webrtc janus

我正在尝试将janus-plugin-sfujanus编译为与networked-aframe一起使用。

像在this post中那样重新安装CommandLineTools并没有改变错误。

这是错误:

~/Development/sources/mozilla/janus-plugin-sfu$ cargo build --release
   Compiling janus-plugin-sfu v0.1.0 (file:///Users/thomas/Development/sources/mozilla/janus-plugin-sfu)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-L" "/Users/thomas/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/thomas/Development/sources/mozilla/janus-plugin-sfu/target/release/deps/janus_plugin_sfu.janus_plugin_sfu0.rcgu.o" "-o" "/Users/thomas/Development/sources/mozilla/janus-plugin-sfu/target/release/deps/libjanus_plugin_sfu.dylib" "-Wl,-exported_symbols_list,/var/folders/ls/7gbg7_hj5cdd_wxq27vjq0m00000gn/T/rustcpMP6r9/list" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/thomas/Development/sources/mozilla/janus-plugin-sfu/target/release/deps" "-L" "/usr/local/Cellar/glib/2.58.1/lib" "-L" "/usr/local/opt/gettext/lib" "-L" "/Users/thomas/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/var/folders/ls/7gbg7_hj5cdd_wxq27vjq0m00000gn/T/rustcpMP6r9/libstd-03b901326ae24853.rlib" "/Users/thomas/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-5bd49e510cc11ed9.rlib" "-lglib-2.0" "-lintl" "-framework" "CoreFoundation" "-ljansson" "-lSystem" "-lresolv" "-lpthread" "-lc" "-lm" "-dynamiclib" "-Wl,-dylib"
  = note: ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
          Undefined symbols for architecture x86_64:
            "_janus_rtcp_has_pli", referenced from:
                janus_plugin_sfu::incoming_rtcp::h9c219f08e7b2d0db in janus_plugin_sfu.janus_plugin_sfu0.rcgu.o
            "_janus_rtcp_pli", referenced from:
                janus_plugin_sfu::incoming_rtcp::h9c219f08e7b2d0db in     ...


error: aborting due to previous error

error: Could not compile `janus-plugin-sfu`.

To learn more, run the command again with --verbose.

[5]:

0 个答案:

没有答案