[cups.development] {trunk r9398} build error: ‘kDNSServiceFlagsShareConnection’ undeclared
Michael Sweet
msweet at apple.com
Thu Dec 2 16:03:08 PST 2010
On Dec 2, 2010, at 3:39 PM, pipitas wrote:
> Trying to compile current trunk (r9398) on Ubuntu Maverick, I did
> "make clean && autoconf && ./configure && make"... which yielded this
> result:
>
> [...]
> Linking libcups.so.2...
> Making all in test...
> Compiling ippserver.c...
> ippserver.c: In function ‘register_printer’:
> ippserver.c:3647: error: ‘kDNSServiceFlagsShareConnection’ undeclared
> (first use in this function)
> ippserver.c:3647: error: (Each undeclared identifier is reported only
> once
> ippserver.c:3647: error: for each function it appears in.)
> make[1]: *** [ippserver.o] Error 1
> make: *** [all] Error 1
>
> Is this a bug in the current code, or am I missing something?
Sounds like you either have an old version of mDNSResponder or Avahi on that system. Currently we only support the Apple ("standard") mDNS/DNS-SD/Zeroconf APIs, which have included the "kDNSServiceFlagsShareConnection" flag since at least 10.5.
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list