Opened 11 years ago
Closed 11 years ago
#4944 closed defect (fixed)
cups 1.7.2: build error on system without dnssd/avahi
Reported by: | Pierre Labastie | Owned by: | Pierre Labastie |
---|---|---|---|
Priority: | normal | Milestone: | 7.6 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
The error is:
Linking cupsfilter... Linking cupsd... Linking cups-lpd... dirsvc.o: In function `cupsdStartBrowsing': /sources/cups/cups-1.7.2/scheduler/dirsvc.c:244: undefined reference to `dnssdRegisterAllPrinters' dirsvc.o: In function `cupsdStopBrowsing': /sources/cups/cups-1.7.2/scheduler/dirsvc.c:262: undefined reference to `dnssdDeregisterAllPrinters' collect2: error: ld returned 1 exit status Makefile:380: recipe for target 'cupsd' failed
This has been reported upstream (not by me) https://www.cups.org/str.php?L4402+P-1+S-2+C0+I0+E0+Q
I have not found a fix on internet.
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Seems that distros all have avahi as a dependency. So the fix may not be available until upstream takes care of it. Let's do what Fernando suggests.
by , 11 years ago
Attachment: | cups-1.7.2-fix-build-without-dnnsd.patch added |
---|
use --disable-avahi and --disable-dnssd switches with this patch and it will build without avahi.
Note:
See TracTickets
for help on using tickets.
I can confirm problem if there is no avahi. With avahi, it just builds fine. had to remove, to confirm.
Why don't you move avahi to required, at least until this problem is solved somewhere?