Mailing Lists: Apple Mailing Lists

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

Re: build securityd



On Jan 17, 2006, at 10:21 AM, Ben Zhu wrote:
I am building the securityd using darwinbuild.
I got an error of kcdatabase.cpp:
The StSyncLock is undefined.
I tried to figure out where it is defined. Can someone tell me?

On Jan 17, 2006, at 11:10 AM, Gary Hoo wrote:
It appears this would be libsecurity_utilities-25.

On Jan 17, 2006, at 12:10 PM, Ben Zhu wrote:
Can someone tell me how to build a debug version of the securityd in
darwinbuild?
To debug it, do I need to set up an enviroment?
And how to build and run the test program under its tests directory?


Apparently the libsecurity_utilities-25.root.tar.gz never got uploaded to the DarwinBuild server, which explains this problem. I have uploaded this root now.

To build security for 8G32, do the following:

# darwinbuild -init 8G32
# darwinbuild securityd

If you already have an 8G32 directory initialized, you will need to remove the libsecurity_utilities receipt, so that DarwinBuild will download the newly updated root:

# rm BuildRoot/usr/local/darwinbuild/receipts/libsecurity_utilities
# darwinbuild securityd

I am not familiar with debugging securityd, I'll leave that for someone else to answer.

- Kevin
_______________________________________________
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: 
 >build securityd (From: "Ben Zhu" <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.