Undefined symbols for architecture x8664: 2015-07-25 00:41:05 I need to compile saciterd.f, but I see some kinds of linking error, like below. It looks as if you haven't rebuilt.mod files (or otherwise don't have the right ones on include path). Those must be rebuilt when moving from 32- to 64-bit compilation, or from a non-Intel compiler to ifort.
any solution guys? im not using cocoa pod. updated project from 0.57 to 0.58 now.
No success
Undefined symbols for architecture arm64: '_GULIsLoggableLevel', referenced from: _FIRIsLoggableLevel in FirebaseCore(FIRLogger.o) -[APMMonitor isLoggableLevel:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o) '_GULLogBasic', referenced from: _FIRLogBasic in FirebaseCore(FIRLogger.o) -[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement(APMASLLogger_b06c35e24aea4d3ad666632e11e79ef6.o) '_GULLogError', referenced from: +[APMAnalytics startWithAppID:origin:options:] in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) -[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) '_GULLogInfo', referenced from: ___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) '_GULLogWarning', referenced from: +[APMMeasurement sharedInstance] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMUserDefaults objectForKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) -[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) -[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o) ___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) '_GULLoggerEnableSTDERR', referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) '_GULLoggerForceDebug', referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) '_GULLoggerInitializeASL', referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) '_GULLoggerRegisterVersion', referenced from: ___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) '_GULSetLoggerLevel', referenced from: _FIRSetLoggerLevel in FirebaseCore(FIRLogger.o) -[APMMonitor setDebugModeEnabled:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o) '_OBJC_CLASS_$_GULAppDelegateSwizzler', referenced from: objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) '_OBJC_CLASS_$_GULAppEnvironmentUtil', referenced from: objc-class-ref in FirebaseMessaging(FIRMessagingAnalytics.o) objc-class-ref in FirebaseMessaging(FIRMessagingReceiver.o) objc-class-ref in FirebaseAuth(FIRAuth.o) objc-class-ref in FirebaseAuth(FIRAuthAPNSTokenManager.o) objc-class-ref in FirebaseAuth(FIRAuthAppDelegateProxy.o) objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate.o) objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_afb9975b7573ce8caa0e4380e6bfbe31.o) ... '_OBJC_CLASS_$_GULMutableDictionary', referenced from: objc-class-ref in GoogleAppMeasurement(APMRemoteConfig_a87cea1e5d19294f87a4448795cd24c6.o) '_OBJC_CLASS_$_GULNetwork', referenced from: objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o) objc-class-ref in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) objc-class-ref in GoogleAppMeasurement(APMAppDelegateInterceptor_d25c2dc381ddbd5008199366846aae05.o) objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_45763904baa6658ff86b47cac2ab23e7.o) '_OBJC_CLASS_$_GULReachabilityChecker', referenced from: objc-class-ref in FirebaseMessaging(FIRMessaging.o) '_OBJC_CLASS_$_GULSwizzler', referenced from: objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o) '_OBJC_CLASS_$_GULUserDefaults', referenced from: objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_afb9975b7573ce8caa0e4380e6bfbe31.o) objc-class-ref in FirebaseInstanceID(FIRInstanceIDCheckinPreferences_36766016f801e2f19278d2e4a3dc9dc2.o) objc-class-ref in FirebaseInstanceID(FIRInstanceIDUtilities_6068b4cdd1114b87139202a3c6ae828a.o) '_kGULNetworkHTTPStatusCodeCannotAcceptTraffic', referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) '_kGULNetworkHTTPStatusCodeNotFound', referenced from: -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) '_kGULNetworkHTTPStatusCodeNotModified', referenced from: -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) '_kGULNetworkHTTPStatusCodeUnavailable', referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) '_kGULNetworkHTTPStatusNoContent', referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) '_kGULNetworkHTTPStatusOK', referenced from: -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) -[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am trying to build PJSIP library for IOS simulator with openssl support.
I followed the instructions mentioned in this link
https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone
PJSIP website directs to Openssl wiki installation and instructions page for guidance.
so to build openssl for my iPhone simulator these were the commands which i gave.
After this i am able to see that openssl seems to build without any errors or warnings in terminal in the folder path i mentioned in command.
so to double check ,i use this command on the libssl.a file
I seem to be very happy after seeing that lib file is built successfully.
Now next step is link this with pjsip library build.
I follow the steps mentioned in pjsip website.
These are the commands which i fed into my terminal
As mentioned in pjsip website,i am able to see that my newly build openssl library has been successfully linked and tested by pjsip commands in terminal
So everything seems too good and continue that process.But end of that compilation im stuck with this errors
So to make sure that,i used the following command on terminal on my libcrypto.a
i can find that as undefined in my libcrypto.a.i dont know what i am missing while building the openssl library??Im stuck with building this openssl library for a week.Please direct me so i can sort this out.
![Undefined Undefined](https://i.stack.imgur.com/Plbiy.png)