Skip to main content

Asihttprequest 61 errors [closed]



it should be a simple problem. im using the ASIhttprequest in many project but sins 1 week each new project i'm trying to add the ASIhttprequest classes i got the following 61 error before using classes just when i'm trying to import them.





Build finjan of project finjan with configuration Debug







Ld build/Debug-iphonesimulator/finjan.app/finjan normal i386

cd /Users/Apple/Desktop/application/finjan

setenv MACOSX_DEPLOYMENT_TARGET 10.5

setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk -L/Users/Apple/Desktop/application/finjan/build/Debug-iphonesimulator -F/Users/Apple/Desktop/application/finjan/build/Debug-iphonesimulator -filelist /Users/Apple/Desktop/application/finjan/build/finjan.build/Debug-iphonesimulator/finjan.build/Objects-normal/i386/finjan.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework AudioToolbox -framework AVFoundation -o /Users/Apple/Desktop/application/finjan/build/Debug-iphonesimulator/finjan.app/finjan



Undefined symbols:

"_CFHTTPAuthenticationIsValid", referenced from:

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_CFHTTPMessageApplyCredentialDictionary", referenced from:

-[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o

-[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o

-[ASIHTTPRequest applyProxyCredentials:] in ASIHTTPRequest.o

-[ASIHTTPRequest applyCredentials:] in ASIHTTPRequest.o

"_CFHTTPMessageIsHeaderComplete", referenced from:

-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o

"_kCFStreamPropertyHTTPSProxyPort", referenced from:

_kCFStreamPropertyHTTPSProxyPort$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPSProxyPort$non_lazy_ptr)

"_inflate", referenced from:

+[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

"_kCFStreamSSLCertificates", referenced from:

_kCFStreamSSLCertificates$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamSSLCertificates$non_lazy_ptr)

"_CFNetworkCopyProxiesForAutoConfigurationScript", referenced from:

+[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o

"_kCFProxyTypeKey", referenced from:

_kCFProxyTypeKey$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyTypeKey$non_lazy_ptr)

"_CFReadStreamCreateForStreamedHTTPRequest", referenced from:

-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o

-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o

"_kCFProxyPortNumberKey", referenced from:

_kCFProxyPortNumberKey$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyPortNumberKey$non_lazy_ptr)

"_kUTTagClassMIMEType", referenced from:

_kUTTagClassMIMEType$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kUTTagClassMIMEType$non_lazy_ptr)

"_inflateEnd", referenced from:

+[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

"_inflateInit2_", referenced from:

+[ASIHTTPRequest uncompressZippedData:] in ASIHTTPRequest.o

+[ASIHTTPRequest uncompressZippedDataFromSource:toDestination:] in ASIHTTPRequest.o

"_kCFProxyAutoConfigurationURLKey", referenced from:

_kCFProxyAutoConfigurationURLKey$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyAutoConfigurationURLKey$non_lazy_ptr)

"_CFHTTPAuthenticationRequiresUserNameAndPassword", referenced from:

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_kCFHTTPAuthenticationUsername", referenced from:

_kCFHTTPAuthenticationUsername$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPAuthenticationUsername$non_lazy_ptr)

"_kCFStreamPropertyHTTPProxy", referenced from:

_kCFStreamPropertyHTTPProxy$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPProxyPort$non_lazy_ptr, _kCFStreamPropertyHTTPProxyHost$non_lazy_ptr , _kCFStreamPropertyHTTPProxy$non_lazy_ptr )

"_kCFStreamPropertyHTTPResponseHeader", referenced from:

_kCFStreamPropertyHTTPResponseHeader$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPResponseHeader$non_lazy_ptr)

"_CFHTTPMessageGetResponseStatusCode", referenced from:

-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o

"_kCFProxyTypeHTTP", referenced from:

_kCFProxyTypeHTTP$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyTypeHTTP$non_lazy_ptr)

"_kCFHTTPAuthenticationSchemeBasic", referenced from:

_kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr in ASIAuthenticationDialog.o

_kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPAuthenticationSchemeBasic$non_lazy_ptr)

"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:

-[Reachability startNotifier] in Reachability.o

"_SCNetworkReachabilityGetFlags", referenced from:

-[Reachability currentReachabilityStatus] in Reachability.o

-[Reachability isReachable] in Reachability.o

-[Reachability isConnectionRequired] in Reachability.o

-[Reachability isConnectionOnDemand] in Reachability.o

-[Reachability isInterventionRequired] in Reachability.o

-[Reachability isReachableViaWWAN] in Reachability.o

-[Reachability isReachableViaWiFi] in Reachability.o

-[Reachability reachabilityFlags] in Reachability.o

"_deflateInit2_", referenced from:

+[ASIHTTPRequest compressData:] in ASIHTTPRequest.o

+[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o

"_CFNetworkCopyProxiesForURL", referenced from:

-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o

+[ASIHTTPRequest proxiesForURL:fromPAC:] in ASIHTTPRequest.o

"_CFHTTPMessageSetHeaderFieldValue", referenced from:

-[ASIHTTPRequest main] in ASIHTTPRequest.o

-[ASIHTTPRequest checkRequestStatus] in ASIHTTPRequest.o

"_kCFProxyTypeSOCKS", referenced from:

_kCFProxyTypeSOCKS$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyTypeSOCKS$non_lazy_ptr)

"_kCFStreamPropertyHTTPAttemptPersistentConnection", referenced from:

_kCFStreamPropertyHTTPAttemptPersistentConnection$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPAttemptPersistentConnection$non_lazy_ptr)

"_CFHTTPMessageCopyVersion", referenced from:

-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o

"_CFHTTPAuthenticationCopyRealm", referenced from:

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_CFHTTPMessageCopyAllHeaderFields", referenced from:

-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o

"_CFHTTPMessageCreateRequest", referenced from:

-[ASIHTTPRequest main] in ASIHTTPRequest.o

"_kCFProxyHostNameKey", referenced from:

_kCFProxyHostNameKey$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFProxyHostNameKey$non_lazy_ptr)

"_kCFStreamPropertyHTTPProxyHost", referenced from:

_kCFStreamPropertyHTTPProxyHost$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPProxyHost$non_lazy_ptr)

"_CFHTTPMessageCopyResponseStatusLine", referenced from:

-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o

"_kCFStreamPropertyHTTPRequestBytesWrittenCount", referenced from:

_kCFStreamPropertyHTTPRequestBytesWrittenCount$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPRequestBytesWrittenCount$non_lazy_ptr)

"_deflate", referenced from:

+[ASIHTTPRequest compressData:] in ASIHTTPRequest.o

+[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o

"_SCNetworkReachabilityCreateWithAddress", referenced from:

+[Reachability reachabilityWithAddress:] in Reachability.o

"_kCFErrorDomainCFNetwork", referenced from:

_kCFErrorDomainCFNetwork$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFErrorDomainCFNetwork$non_lazy_ptr)

"_kCFStreamSSLValidatesCertificateChain", referenced from:

_kCFStreamSSLValidatesCertificateChain$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamSSLValidatesCertificateChain$non_lazy_ptr)

"_CFHTTPAuthenticationCreateFromResponse", referenced from:

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_deflateEnd", referenced from:

+[ASIHTTPRequest compressData:] in ASIHTTPRequest.o

+[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o

+[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o

+[ASIHTTPRequest compressDataFromSource:toDestination:] in ASIHTTPRequest.o

"_UTTypeCopyPreferredTagWithClass", referenced from:

+[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o

"_kCFStreamPropertyHTTPSProxyHost", referenced from:

_kCFStreamPropertyHTTPSProxyHost$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPSProxyHost$non_lazy_ptr)

"_kCFHTTPAuthenticationSchemeNTLM", referenced from:

_kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr in ASIAuthenticationDialog.o

_kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPAuthenticationSchemeNTLM$non_lazy_ptr)

"_CFHTTPAuthenticationCopyMethod", referenced from:

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_kCFHTTPAuthenticationAccountDomain", referenced from:

_kCFHTTPAuthenticationAccountDomain$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPAuthenticationAccountDomain$non_lazy_ptr)

"_UTTypeCreatePreferredIdentifierForTag", referenced from:

+[ASIHTTPRequest mimeTypeForFileAtPath:] in ASIHTTPRequest.o

"_CFNetworkCopySystemProxySettings", referenced from:

-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o

"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:

-[Reachability stopNotifier] in Reachability.o

"_kCFStreamPropertyHTTPProxyPort", referenced from:

_kCFStreamPropertyHTTPProxyPort$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertyHTTPProxyPort$non_lazy_ptr)

"_CFHTTPAuthenticationRequiresAccountDomain", referenced from:

-[ASIHTTPRequest findProxyCredentials] in ASIHTTPRequest.o

-[ASIHTTPRequest findCredentials] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o

-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o

"_SCNetworkReachabilityCreateWithName", referenced from:

+[Reachability reachabilityWithHostName:] in Reachability.o

"_SCNetworkReachabilitySetCallback", referenced from:

-[Reachability startNotifier] in Reachability.o

"_kCFHTTPAuthenticationPassword", referenced from:

_kCFHTTPAuthenticationPassword$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPAuthenticationPassword$non_lazy_ptr)

"_kCFHTTPVersion1_0", referenced from:

_kCFHTTPVersion1_0$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPVersion1_0$non_lazy_ptr)

"_kCFHTTPVersion1_1", referenced from:

_kCFHTTPVersion1_1$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFHTTPVersion1_1$non_lazy_ptr)

"_kCFStreamPropertySSLSettings", referenced from:

_kCFStreamPropertySSLSettings$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamPropertySSLSettings$non_lazy_ptr)

"_kCFStreamErrorDomainHTTP", referenced from:

_kCFStreamErrorDomainHTTP$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kCFStreamErrorDomainHTTP$non_lazy_ptr)

"_CFReadStreamCreateForHTTPRequest", referenced from:

-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o

"_kUTTagClassFilenameExtension", referenced from:

_kUTTagClassFilenameExtension$non_lazy_ptr in ASIHTTPRequest.o

(maybe you meant: _kUTTagClassFilenameExtension$non_lazy_ptr)

ld: symbol(s) not found

collect2: ld returned 1 exit status







i the problem should be simple but i didn't find any solution till now





many thanks








The problem is solved... it was a problem of frameworks...


Comments

  1. More specifically, it requires CFNetwork, SystemConfiguration, MobileCoreServices, and zlib.

    Edit: It also needs libxml2

    ReplyDelete
  2. Just to put some documentation on this

    ReplyDelete
  3. just remember to include the lixml file path in the "Header Search Paths" section of the project configuration. which is usually /usr/include/libxml2 that did the trick for me.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?

Java Urban Myths

Along the line of C++ Urban Myths and Perl Myths : What are the Java Urban Myths? That is, the ideas and conceptions about Java that are common but have no actual roots in reality . As a Java programmer, what ideas held by your fellow Java programmers have you had to disprove so often that you've come to believe they all learned at the feet of the same drunk old story-teller? Ideally, you would express these myths in a single sentence, and include an explanation of why they are false.

CCNA 1 Final Exam 2011 latest (hot hot hot)

  Hi! I have been posted content of ccna1 final exam (latest and only question.) I will post the answer and insert image on sunday. If you care, please subscribe your email an become a first person have full test content. Subcribe now  Some question  have not content because this question have images content. So that can you wait for me? SUNDAY 1. A user sees the command prompt: Router(config-if)# . What task can be performed at this mode? Reload the device. Perform basic tests. Configure individual interfaces. Configure individual terminal lines. 2. Refer to the exhibit. Host A attempts to establish a TCP/IP session with host C. During this attempt, a frame was captured with the source MAC address 0050.7320.D632 and the destination MAC address 0030.8517.44C4. The packet inside the captured frame has an IP source address 192.168.7.5, and the destination IP address is 192.168.219.24. At which point in the network was this packet captured? leaving host A leaving ATL leaving...