• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Basic HTTP program failed to compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic HTTP program failed to compile


  • Subject: Basic HTTP program failed to compile
  • From: ico <email@hidden>
  • Date: Fri, 3 Dec 2010 00:49:12 +0800

Hi all,

I am studying CFNetwork Programming Guide document these days, and I wrote a
little program with
basic HTTP request and response for testing. However, I can't get this
program to compile, the error
message something like:
Undefined symbols:
  "_CFHTTPMessageCreateRequest", referenced from:

"_kCFHTTPVersion1_1", referenced from:

Then I try to add existing framework to my project (go to project window,
right click the "External
frameworks and libraries" and choose add menu), I add
CoreFoundation.framework and
CoreService.framework and CFNetwork.framework
After that, the situation is getting worse, I recompile my program and
getting 8406 errors.
Some of them are from CFString.h like:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:539:0
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:539:
error: storage class specified for parameter
'CFStringCreateByCombiningStrings'


And then I delete those new added framework from my project (go to project
window, right click the
framework I want to delete and choose delete command), but nothing changes
when I compile
my program again, I still got 8406 errors.

Now how can I get things right? And how can I compile my program without
errors?
Thanks.

--
==========================
Life isn't about finding yourself.
Life is about creating yourself.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Basic HTTP program failed to compile
      • From: ico <email@hidden>
  • Prev by Date: Re: Calculating Scale Factor touchesMoved event.
  • Next by Date: Re: bindings via file's owner don't update
  • Previous by thread: Re: rotate UIImage based on rotation of UIView
  • Next by thread: Re: Basic HTTP program failed to compile
  • Index(es):
    • Date
    • Thread