• 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
proper framework linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proper framework linking


  • Subject: proper framework linking
  • From: David Feldman <email@hidden>
  • Date: Wed, 2 Apr 2003 10:56:20 -0500

I have a Cocoa app that I want to use a call from the afpURL.h header library (AppleShareClientCore) in. First I just added
#import <AppleShareClientCore/afpURL.h> to my header file, but that didn't work. Then I tried the Add Framework command in Project Builder to add the AppleShareClientCore framework and put it into the Frameworks/Linked Frameworks group in my project. Now it compiles but gives me a bunch of errors that look like this at link time:

ld: warning multiple definitions of symbol _sk_insert
ld: warning multiple definitions of symbol _sk_pop
ld: warning multiple definitions of symbol _sk_pop_free
ld: warning multiple definitions of symbol _sk_set_cmp_func
ld: warning multiple definitions of symbol _sk_shift
ld: warning multiple definitions of symbol _sk_unshift
ld: warning multiple definitions of symbol _sk_push
ld: warning multiple definitions of symbol _sk_zero
ld: warning multiple definitions of symbol _sk_new
ld: warning multiple definitions of symbol _sk_delete
ld: warning multiple definitions of symbol _sk_delete_ptr
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used

What am I doing wrong?

Thanks.

--Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: right way to load initial data in controls when opening a window
  • Next by Date: Newbie multiple window question
  • Previous by thread: Re: Three builds to build...
  • Next by thread: Newbie multiple window question
  • Index(es):
    • Date
    • Thread