DNSSD Crash error tells me to use native Avahi API instead of Bonjour layer. How do I do this?
Posted
by Poul
on Stack Overflow
See other posts from Stack Overflow
or by Poul
Published on 2010-06-07T22:29:11Z
Indexed on
2010/06/07
22:32 UTC
Read the original article
Hit count: 351
I get this error trying to run the example script here: http://github.com/tenderlove/dnssd/blob/master/sample/register.rb
It says I am using a Bonjour Compatibility Layer and I should use the native api. How do I switch the dnssd ruby gem over to using this?
*** WARNING *** The program 'ruby1.8' called 'DNSServiceAddRecord()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=ruby1.8&f=DNSServiceAddRecord>
© Stack Overflow or respective owner