看板 FB_stable 關於我們 聯絡資訊
On Fri, 06 Jun 2014 13:56:29 +0200, Willy Offermans <Willy@offermans.rompen.nl> wrote: > Dear FreeBSD friends, > > The following error popped up during installation of cups: > > ~/portupgrade -R -N cups > > dirsvc.o: In function `cupsdStartBrowsing': > /usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:244: > undefined reference to `dnssdRegisterAllPrinters' > dirsvc.o: In function `cupsdStopBrowsing': > /usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:262: > undefined reference to `dnssdDeregisterAllPrinters' > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[3]: *** [cupsd] Error 1 > gmake[3]: Leaving directory > `/usr/ports/print/cups-base/work/cups-1.7.2/scheduler' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.7.2' > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure > to > the maintainer. > *** Error code 1 > > Has anyone an idea how to solve this? > > Does ``undefined reference'' mean that there is no definition for this > function or that the appropriate library is missing? How can I determine > the required libraries? > > https://www.google.nl/search?q=undefined+reference+to+%60dnssdRegisterAllPrinters' gives me as top hit: http://www.linuxfromscratch.org/pipermail/blfs-book/2014-April/041882.html Which looks the same. Read the replies on that message for a solution/workaround. Regards, Ronald. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"