c - mDNSResponder not compiling out of the box on Maverick -


this morning downloaded lastest mdnsresponder apple opensource repository. opened xcode project (mdnsresponder-544/mdnsmacosx) , tried compile, few files missing:

  • #include <corefoundation/cfxpcbridge.h> in bonjourevents.c not found.
  • #include <dispatch/private.h> in dns-sd.c not found (but compiles gcc, i'm ok that)
  • other errors...

i running xcode 5.1 on osx 10.9.2, command line tool installed.

i attaching output of xcodebuild:

    $ xcodebuild --- xcodebuild: warning: directory /users/kas/downloads/mdnsresponder-544/mdnsmacosx contains legacy project 'mdnsresponder.pbproj' - ignoring , using 'mdnsresponder.xcodeproj'.  === build target bonjourevents of project mdnsresponder default configuration (development) ===  check dependencies  compilec build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.o bonjourevents.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler     cd /users/adsada/downloads/mdnsresponder-544/mdnsmacosx     export lang=en_us.us-ascii     /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=129 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -wno-trigraphs -fpascal-strings -os -werror -wno-missing-field-initializers -wno-missing-prototypes -wno-return-type -wno-missing-braces -wparentheses -wswitch -wno-unused-function -wno-unused-label -wno-unused-parameter -wno-unused-variable -wunused-value -wno-empty-body -wno-uninitialized -wno-unknown-pragmas -wno-shadow -wno-four-char-constants -wno-conversion -wno-constant-conversion -wno-int-conversion -wno-bool-conversion -wno-enum-conversion -wno-shorten-64-to-32 -wpointer-sign -wno-newline-eof -d__apple_use_rfc_3542=1 -d_dns_sd_libdispatch=1 -dapple_osx_mdnsresponder=1 -d__migtypecheck=1 -dmdnsresponderversion=(engineering\ build) -d_legacy_nat_traversal_ -d_building_xcode_project_=1 -isysroot /applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.9.sdk -fasm-blocks -fstrict-aliasing -wdeprecated-declarations -mmacosx-version-min=10.9 -g -wno-sign-conversion -iquote /users/askdjkadj/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/bonjourevents-generated-files.hmap -i/users/sdaad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/bonjourevents-own-target-headers.hmap -i/users/sadad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/bonjourevents-all-target-headers.hmap -iquote /users/asdsad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/bonjourevents-project-headers.hmap -i/users/asdd/downloads/mdnsresponder-544/mdnsmacosx/build/include -i/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/include -i/users/asad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/derivedsources/x86_64 -i/users/adssad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/derivedsources -w -wall -wmissing-prototypes -wno-four-char-constants -wno-unknown-pragmas -wshadow -f/users/asdd/downloads/mdnsresponder-544/mdnsmacosx/build -duse_systemconfiguration_private_headers -fwrapv -mmd -mt dependencies -mf /users/asd/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.d --serialize-diagnostics /users/sad/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.dia -c /users/asd/downloads/mdnsresponder-544/mdnsmacosx/bonjourevents.c -o /users/ads/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.o /users/asd/downloads/mdnsresponder-544/mdnsmacosx/bonjourevents.c:19:10: fatal error: 'corefoundation/cfxpcbridge.h' file not found #include <corefoundation/cfxpcbridge.h>          ^ 1 error generated.  2014-04-06 13:10:32.208 xcodebuild[3417:30b]  dvtassertions: warning in /sourcecache/idexcode3projectsupport/idexcode3projectsupport-5067/xcode3core/legacyprojects/frameworks/devtoolscore/devtoolscore/specificationtypes/builtinspecifications/compilers/xcgccmakefiledependencies.m:76 details:  failed load dependencies output contents ``/users/asd/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.d''. error: error domain=nscocoaerrordomain code=260 "the file “bonjourevents.d” couldn’t opened because there no such file." userinfo=0x7fbacb566c60 {nsfilepath=/users/asd/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.d, nsunderlyingerror=0x7fbacb5364c0 "the operation couldn’t completed. no such file or directory"}. user info: {     nsfilepath = "/users/ada/downloads/mdnsresponder-544/mdnsmacosx/build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.d";     nsunderlyingerror = "error domain=nsposixerrordomain code=2 \"the operation couldn\u2019t completed. no such file or directory\""; }. function: void xcgccmakefiledependenciesparsepathsfromrulefile(nsstring *__strong, void (^__strong)(nsstring *__strong)) thread:   <nsthread: 0x7fbacb561070>{name = (null), num = 7} please file bug @ http://bugreport.apple.com warning message , useful information can provide. ** build failed **   following build commands failed:     compilec build/mdnsresponder.build/development/bonjourevents.build/objects-normal/x86_64/bonjourevents.o bonjourevents.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) 

and indeed locate cfxpcbridge.h returns nothing.

thanks help.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -