Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2014 14:50:41 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-stable@freebsd.org
Subject:   Re: error during cups compilation
Message-ID:  <op.xg09yrmhkndu52@ronaldradial.radialsg.local>
In-Reply-To: <20140606115628.GA3721@vpn.offrom.nl>
References:  <20140606115628.GA3721@vpn.offrom.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xg09yrmhkndu52>