[launchd-dev] Setup LaunchD project

Rahulkumar Tibdewal rtmacgeek at gmail.com
Thu Oct 13 09:39:21 PDT 2011


Hello there,

I have joined this project today, and I need some help is setting up
project so that it builds properly. I checked out code and tried to
build it but it gave me whole lot of errors as you can see below.

As mentioned on wiki, I checked out code from using this command,
$ svn co http://svn.macosforge.org/repository/launchd/trunk/ launchd

Can somebody help me with proper setup. Did I missed anything? Once it
builds up, I would also appreciate if somebody can tell me how to get
it running so that I can debug.

I am sorry if these questions sounds silly to you and but this
information is not present on wiki page of LaunchD project. If some
one can help me fix this, I will personally update wiki page with step
by step details.

Thank you


Category: Error: '*' undeclared (first use in this function)

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3774:0
'qtn_proc_t' undeclared (first use in this function)

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3776:0
'qp' undeclared (first use in this function)

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:3903:0
'_kCFSystemVersionBuildVersionKey' undeclared (first use in this
function)

Category: Error: *: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchd.c:76:0
Bsm/auditd_lib.h: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:87:0
Quarantine.h: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:34:0
CoreFoundation/CFPriv.h: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:35:0
CoreFoundation/CFLogUtilities.h: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:81:0 Bootfiles.h:
No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:88:0
Bsm/auditd_lib.h: No such file or directory

/Users/test/Desktop/LaunchD/launchd/src/SystemStarter.c:37:0
DiskArbitration/DiskArbitrationPrivate.h: No such file or directory

Category: Error: expected * before *

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3774:0
Expected ';' before 'qp'

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:4028:0 Expected
')' before 'kBootRootActiveKey'

Category: Error: implicit declaration of function '*'

/Users/test/Desktop/LaunchD/launchd/src/launchd.c:520:0 Implicit
declaration of function 'audit_quick_stop'

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3776:0
Implicit declaration of function 'qtn_proc_alloc'

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3777:0
Implicit declaration of function 'qtn_proc_init_with_data'

/Users/test/Desktop/LaunchD/launchd/src/launchd_core_logic.c:3778:0
Implicit declaration of function 'qtn_proc_apply_to_self'

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:2033:0 Implicit
declaration of function 'audit_quick_start'

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:3899:0 Implicit
declaration of function '_CFCopySystemVersionDictionary'

/Users/test/Desktop/LaunchD/launchd/src/SystemStarter.c:453:0 Implicit
declaration of function 'DARegisterIdleCallback'

Category: Error: Other

/Users/test/Desktop/LaunchD/launchd/src/launchctl.c:3899:0 Assignment
makes pointer from integer without a cast


More information about the launchd-dev mailing list