Hi All,
I'm trying to build pjsip 2.7 for IOS with arch x86_64.
I get the following error.
ld: dynamic main executables must link with libSystem.dylib for
architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
aconfigure:2965: $? = 1
aconfigure:3003: result: no
aconfigure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pjproject"
| #define PACKAGE_TARNAME "pjproject"
| #define PACKAGE_VERSION "2.x"
| #define PACKAGE_STRING "pjproject 2.x"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
aconfigure:3008: error: in `/Users/smo/PJSip/pjproject-2.7':
aconfigure:3010: error: C compiler cannot create executables
XCODE 9 compiler is
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I see that this problem was reported in the past for XCODE 5, but, I
don't see an answer for how it was resolved back then.
Anyone else seeing this.
Best regards,
-- Scott.
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org