Skip to content

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) #1

@girijeshkumar2007

Description

@girijeshkumar2007
     output/pjlib-test-x86_64-apple-darwin_ios/main.o  output/pjlib-test-x86_64-apple-darwin_ios/activesock.o  output/pjlib-test-x86_64-apple-darwin_ios/atomic.o  output/pjlib-test-x86_64-apple-darwin_ios/echo_clt.o  output/pjlib-test-x86_64-apple-darwin_ios/errno.o  output/pjlib-test-x86_64-apple-darwin_ios/exception.o  output/pjlib-test-x86_64-apple-darwin_ios/fifobuf.o  output/pjlib-test-x86_64-apple-darwin_ios/file.o  output/pjlib-test-x86_64-apple-darwin_ios/hash_test.o  output/pjlib-test-x86_64-apple-darwin_ios/ioq_perf.o  output/pjlib-test-x86_64-apple-darwin_ios/ioq_udp.o  output/pjlib-test-x86_64-apple-darwin_ios/ioq_unreg.o  output/pjlib-test-x86_64-apple-darwin_ios/ioq_tcp.o  output/pjlib-test-x86_64-apple-darwin_ios/list.o  output/pjlib-test-x86_64-apple-darwin_ios/mutex.o  output/pjlib-test-x86_64-apple-darwin_ios/os.o  output/pjlib-test-x86_64-apple-darwin_ios/pool.o  output/pjlib-test-x86_64-apple-darwin_ios/pool_perf.o  output/pjlib-test-x86_64-apple-darwin_ios/rand.o  output/pjlib-test-x86_64-apple-darwin_ios/rbtree.o  output/pjlib-test-x86_64-apple-darwin_ios/select.o  output/pjlib-test-x86_64-apple-darwin_ios/sleep.o  output/pjlib-test-x86_64-apple-darwin_ios/sock.o  output/pjlib-test-x86_64-apple-darwin_ios/sock_perf.o  output/pjlib-test-x86_64-apple-darwin_ios/ssl_sock.o  output/pjlib-test-x86_64-apple-darwin_ios/string.o  output/pjlib-test-x86_64-apple-darwin_ios/test.o  output/pjlib-test-x86_64-apple-darwin_ios/thread.o  output/pjlib-test-x86_64-apple-darwin_ios/timer.o  output/pjlib-test-x86_64-apple-darwin_ios/timestamp.o  output/pjlib-test-x86_64-apple-darwin_ios/udp_echo_srv_sync.o  output/pjlib-test-x86_64-apple-darwin_ios/udp_echo_srv_ioqueue.o  output/pjlib-test-x86_64-apple-darwin_ios/util.o -lpj-x86_64-apple-darwin_ios  -O2 -m32 -mios-simulator-version-min=8.0 -miphoneos-version-min=8.0 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -framework AudioToolbox -framework Foundation -L/Users/girijesh/Downloads/pjsipScript-iOS-master/bin/iPhoneSimulator10.2-x86_64.sdk//lib -lm -lpthread  -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit -framework UIKit -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia -framework VideoToolbox -framework OpenGLES   -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjlib/lib -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjlib-util/lib -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjnath/lib -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib -L/Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib         -O2 -m32 -mios-simulator-version-min=8.0 -miphoneos-version-min=8.0 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -framework AudioToolbox -framework Foundation -L/Users/girijesh/Downloads/pjsipScript-iOS-master/bin/iPhoneSimulator10.2-x86_64.sdk//lib  

ld: warning: directory not found for option '-L/Users/girijesh/Downloads/pjsipScript-iOS-master/bin/iPhoneSimulator10.2-x86_64.sdk//lib'
ld: warning: directory not found for option '-L/Users/girijesh/Downloads/pjsipScript-iOS-master/bin/iPhoneSimulator10.2-x86_64.sdk//lib'
Undefined symbols for architecture x86_64:
"_pj_ssl_cert_load_from_files", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
"_pj_ssl_cipher_get_availables", referenced from:
_ssl_sock_test in ssl_sock.o
"_pj_ssl_cipher_name", referenced from:
_ssl_sock_test in ssl_sock.o
_dump_ssl_info in ssl_sock.o
"_pj_ssl_sock_close", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
_ssl_on_connect_complete in ssl_sock.o
_ssl_on_data_read in ssl_sock.o
_ssl_on_data_sent in ssl_sock.o
_ssl_on_accept_complete in ssl_sock.o
"_pj_ssl_sock_create", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
"_pj_ssl_sock_get_info", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
_ssl_on_connect_complete in ssl_sock.o
_ssl_on_data_read in ssl_sock.o
_ssl_on_accept_complete in ssl_sock.o
"_pj_ssl_sock_get_user_data", referenced from:
_ssl_on_connect_complete in ssl_sock.o
_ssl_on_data_read in ssl_sock.o
_ssl_on_data_sent in ssl_sock.o
_ssl_on_accept_complete in ssl_sock.o
"_pj_ssl_sock_send", referenced from:
_ssl_on_connect_complete in ssl_sock.o
_ssl_on_data_read in ssl_sock.o
_ssl_on_data_sent in ssl_sock.o
_ssl_on_accept_complete in ssl_sock.o
"_pj_ssl_sock_set_certificate", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
"_pj_ssl_sock_set_user_data", referenced from:
_ssl_on_accept_complete in ssl_sock.o
"_pj_ssl_sock_start_accept", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
"_pj_ssl_sock_start_connect", referenced from:
_ssl_sock_test in ssl_sock.o
_echo_test in ssl_sock.o
"_pj_ssl_sock_start_read2", referenced from:
_ssl_on_connect_complete in ssl_sock.o
_ssl_on_accept_complete in ssl_sock.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../bin/pjlib-test-x86_64-apple-darwin_ios] Error 1
make[1]: *** [pjlib-test-x86_64-apple-darwin_ios] Error 2
make: *** [all] Error 1
unset DEVPATH
Coping header files from /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjlib to /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip-include/
Coping header files from /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjlib-util to /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip-include/
Coping header files from /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia to /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip-include/
Coping header files from /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjnath to /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip-include/
Coping header files from /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip to /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip-include/
Binding all different arch lib into single lib using -lipo ...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjlib-util/lib/libpjlib-util-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib/libpjmedia-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib/libpjmedia-audiodev-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib/libpjmedia-codec-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib/libpjmedia-videodev-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjmedia/lib/libpjsdp-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjnath/lib/libpjnath-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib/libpjsip-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib/libpjsip-simple-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib/libpjsip-ua-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib/libpjsua-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/pjsip/lib/libpjsua2-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libg7221codec-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libgsmcodec-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libilbccodec-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libresample-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libspeex-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libsrtp-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libwebrtc-arm64-apple-darwin_ios.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/girijesh/Downloads/pjsipScript-iOS-master/trunk/third_party/lib/libyuv-arm64-apple-darwin_ios.a (No such file or directory)
cp: /Users/girijesh/Downloads/pjsipScript-iOS-master/lib/libcrypto.a: No such file or directory
cp: /Users/girijesh/Downloads/pjsipScript-iOS-master/lib/libssl.a: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions