proper framework linking
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.