From owner-freebsd-stable@FreeBSD.ORG Fri Jun 6 12:50:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2C7FA9 for ; Fri, 6 Jun 2014 12:50:51 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94F422CDB for ; Fri, 6 Jun 2014 12:50:51 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1WstbW-0007AM-Sn for freebsd-stable@freebsd.org; Fri, 06 Jun 2014 14:50:43 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: error during cups compilation References: <20140606115628.GA3721@vpn.offrom.nl> Date: Fri, 06 Jun 2014 14:50:41 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20140606115628.GA3721@vpn.offrom.nl> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: -- X-Spam-Score: -2.9 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=disabled version=3.3.2 X-Scan-Signature: ba572e8a3bde05b4b19613c12a9e49fc X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 12:50:51 -0000 On Fri, 06 Jun 2014 13:56:29 +0200, Willy Offermans 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.