[cups-devel] [ippfind] Current Git source does not compile (Debian Jessie)

Michael Sweet msweet at apple.com
Wed Oct 28 05:09:29 PDT 2015


Probably local - make sure you have the Avahi developer package installed...

Sent from my iPad

> On Oct 27, 2015, at 10:08 PM, pipitas <pipitas at gmail.com> wrote:
> 
>> On Wed, Oct 28, 2015 at 3:05 AM, pipitas <pipitas at gmail.com> wrote:
>> 
>> This evening I poked a bit in resources related to IPP Everywhere.
>> 
>> I compiled the current Git sources of CUPS on Debian Jessie.
>> 
>> In the `test` subdirectory there is a Makefile which contains targets
>> `ippfind`, `ippproxy`, `ippserver` and `ippinfra`.
>> 
>> With the exception of `ippfind` all these targets do build when running
>> `make $targetname`.
>> 
>> However, `ippfind` runs into an error as below:
>> 
>> ~~~
>> Compiling ippfind.c...
>> ippfind.c: In function ‘main’:
>> ippfind.c:1367:21: error: ‘ippfind_srv_t’ has no member named ‘ref’
>>         if (!service->ref && !service->is_resolved)
>>                     ^
>> ippfind.c:1416:22: error: ‘ippfind_srv_t’ has no member named ‘ref’
>>           if (service->ref)
>>                      ^
>> ippfind.c:1421:13: warning: implicit declaration of function
>> ‘avahi_service_resolver_free’ [-Wimplicit-function-declaration]
>>             avahi_service_resolver_free(service->ref);
>>             ^
>> ippfind.c:1421:48: error: ‘ippfind_srv_t’ has no member named ‘ref’
>>             avahi_service_resolver_free(service->ref);
>>                                                ^
>> ippfind.c:1424:13: error: ‘ippfind_srv_t’ has no member named ‘ref’
>>      service->ref = NULL;
>>             ^
>> ippfind.c:1432:25: error: ‘ippfind_srv_t’ has no member named ‘ref’
>>         else if (service->ref)
>>                         ^
>> ippfind.c: In function ‘dnssd_error_string’:
>> ippfind.c:1732:1: warning: no return statement in function returning
>> non-void [-Wreturn-type]
>> }
>> ^
>> ippfind.c: In function ‘get_service’:
>> ippfind.c:2119:18: error: ‘kDNSServiceMaxDomainName’ undeclared (first use
>> in this function)
>>   char  fullName[kDNSServiceMaxDomainName];
>>                  ^
>> ippfind.c:2119:18: note: each undeclared identifier is reported only once
>> for each function it appears in
>> ippfind.c:2157:3: warning: implicit declaration of function
>> ‘avahi_service_name_join’ [-Wimplicit-function-declaration]
>>   avahi_service_name_join(fullName, kDNSServiceMaxDomainName, serviceName,
>>   ^
>> ippfind.c:2119:9: warning: unused variable ‘fullName’ [-Wunused-variable]
>>   char  fullName[kDNSServiceMaxDomainName];
>>         ^
>> ippfind.c: At top level:
>> ippfind.c:2685:1: warning: ‘set_service_uri’ defined but not used
>> [-Wunused-function]
>> set_service_uri(ippfind_srv_t *service) /* I - Service */
>> ^
>> cc1: warning: unrecognized command line option "-Wno-tautological-compare"
>> ../Makedefs:248: recipe for target 'ippfind.o' failed
>> make: *** [ippfind.o] Error 1
>> ~~~
> 
> I forgot to add my question(s):
> 
> Is this a problem local to my system? Or should I file a bug report?
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://www.cups.org/mailman/listinfo/cups-devel



More information about the cups-devel mailing list