Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

secdebug



I am new to mac development so, pardon me if answers to these questions are obvious.

I am trying to use secdebug in my CDSA plugin bundle but the linker complains of :

reference to undefined Security::Debug::debug(char const*, char const*, ...)

I tried to link directly to security_utilities.framework (which got built with darwinbuild) but then ld is still unhappy with:

usr/bin/ld: Undefined symbols:
__ZNSaIcED4Ev
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::allocate(unsigned long)
__ZNSsD4Ev
/System/Library/Frameworks/security_utilities.framework/security_utilities(debugging.o) reference to undefined __ZNSaIcED4Ev
/System/Library/Frameworks/security_utilities.framework/security_utilities(debugging.o) reference to undefined std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
/System/Library/Frameworks/security_utilities.framework/security_utilities(debugging.o) reference to undefined std::__default_alloc_template<true, 0>::allocate(unsigned long)
/System/Library/Frameworks/security_utilities.framework/security_utilities(globalizer.o) reference to undefined __ZNSaIcED4Ev
/System/Library/Frameworks/security_utilities.framework/security_utilities(globalizer.o) reference to undefined __ZNSsD4Ev
collect2: ld returned 1 exit status


what am I doing wrong?

Thanks,

Soumik.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden

References: 
 >SecTrustedApplicationCopyData and so forth (From: email@hidden)
 >Re: SecTrustedApplicationCopyData and so forth (From: Perry The Cynic <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.