[cups.bugs] [MOD] STR #3065: DNS Service Discovery feature not working with older systems

kssingvo.suse kssingvo at suse.de
Mon Jan 19 08:57:19 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I tried to compile the cups-1.4b2 sources, but stumpled over the "DNS
Service Discovery".
Target platform is openSUSE 10.3 from Nov 2007.

Issue is that this version of package "avahi" doesn't know anything about
flag "kDNSServiceFlagsShareConnection":
-----------------------------------------------------------------
Compiling dirsvc.c...
dirsvc.c: In function 'cupsdUpdateDNSSDName':
dirsvc.c:1951: error: 'kDNSServiceFlagsShareConnection' undeclared (first
use in this function)
dirsvc.c:1951: error: (Each undeclared identifier is reported only once
dirsvc.c:1951: error: for each function it appears in.)
dirsvc.c: In function 'dnssdRegisterPrinter':
dirsvc.c:2625: error: 'kDNSServiceFlagsShareConnection' undeclared (first
use in this function)
-----------------------------------------------------------------

The enum in <dns_sd.h> ends with:
kDNSServiceFlagsReturnCNAME = 0x800
and therefore is missing:
kDNSServiceFlagsShareConnection = 0x4000


Can you please extend autoconf test for this variable and disable
HAVE_DNSSD feature in "config-scripts/cups-dnssd.m4" if it fails?

Link: http://www.cups.org/str.php?L3065
Version: 1.4b2





More information about the cups-devel mailing list