{trunk r9398} build error: ‘kDNSServiceFlagsShareConnection’ undeclared

pipitas pipitas at gmail.com
Thu Dec 2 15:47:25 PST 2010


On 12/03/2010 12:39 AM, 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?

I uncommented all mentions of ippserver* in test/Makefile. Now there is 
another error when building:

   Compiling bannertops.c...
   bannertops.c: In function ‘load_banner’:
   bannertops.c:183: warning: passing argument 1 of
       ‘_cupsLangPrintError’ from incompatible pointer type
   ../cups/language-private.h:61: note: expected ‘const char *’ but
       argument is of type ‘struct _IO_FILE *’
   bannertops.c:183: error: too many arguments to function
       ‘_cupsLangPrintError’
   make[1]: *** [bannertops.o] Error 1
   make: *** [all] Error 1






More information about the cups mailing list