Opened 9 years ago
Closed 9 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|
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 , 9 years ago
comment:2 by , 9 years ago
|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.
comment:3 by , 9 years ago
|Status:||assigned → closed|
Fixed at r12950
by , 9 years ago
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?