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: where is dnssd.lib (for Windows)?




On Dec 12, 2005, at 4:26 PM, Tom Moran wrote:
I downloaded mDNSResponder-107.1.tar.gz In Clients\dns-sd.c it says to
cl dns-sd.c -I../mDNSShared -DNOT_HAVE_GETOPT -DNOT_HAVE_SETLINEBUF ws2_32.lib ..\mDNSWindows\DLL\Release\dnssd.lib
but in fact there is no Release directory or dnssd.lib anywhere and it's not clear to me how (or if) I'm supposed to build it.
I downloaded the Bonjour SDK, which does have a file named dnssd.lib, and copied that file and ran the above compile+link, but the linker blew up saying it couldn't seek to [some 32 bit hex value].
What am I missing?

Hi, Tom. Sorry, the documentation in the tarball is scant to non- existent on this point. The part of dns-sd.c you're referring to is a set of simple instructions for building the dns-sd tool without fooling around with makefiles. But it does assume that the build environment has been set up.


On the Mac, it already is. On Windows, you need to build the VC 7 project in mDNSWindows\DLL\ to do so. And on POSIX systems you need to make the makefile and place dns_sd.so somewhere prominent (such as /usr/lib).

Hope this helps.


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

This email sent to email@hidden
References: 
 >where is dnssd.lib (for Windows)? (From: Tom Moran <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.