Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Linux build: kDNSServiceErr_Timeout constant is not defined in Avahi compatibility layer #3

Closed
TSPMP opened this issue Mar 5, 2018 · 1 comment

Comments

@TSPMP
Copy link

TSPMP commented Mar 5, 2018

See https://github.com/lathiat/avahi/blob/master/avahi-compat-libdns_sd/dns_sd.h

The kDNSServiceErr_* constants are only defined up to kDNSServiceErr_BadTime = -65559 in the Avahi compatibility layer in contrast to Bonjour defining them up to kDNSServiceErr_Timeout = -65568 (see https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwi76IKRwNXZAhUIzKQKHVbEDP0QFggpMAA&url=https%3A%2F%2Fopensource.apple.com%2Fsource%2FmDNSResponder%2FmDNSResponder-541%2FmDNSShared%2Fdns_sd.h&usg=AOvVaw2RjB-6h92rQbWc6xACuFJq).

@garethsb
Copy link
Contributor

garethsb commented Mar 5, 2018

Thank you for the report!

DNS-SD interoperability (e.g. on machines running both Avahi and Bonjour/mdnsd) and cross-platform portability has turned out to be much harder than it should be. I'll consider how to fix this specific issue, possibly using an older (pre-Leopard) error. I haven't actually built this code against Avahi yet, so I haven't tested whether its compatibility layer is compatible enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants