From owner-freebsd-ports@FreeBSD.ORG Wed Jul 2 18:57:34 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9B5D5CC for ; Wed, 2 Jul 2014 18:57:34 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4937025A8 for ; Wed, 2 Jul 2014 18:57:34 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.4.29]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lta9E-1Wb10y2He0-010szT for ; Wed, 02 Jul 2014 20:57:32 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 7CC7423CE92 for ; Wed, 2 Jul 2014 20:57:31 +0200 (CEST) Message-ID: <53B4561B.703@gmx.de> Date: Wed, 02 Jul 2014 20:57:31 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: print/cups new 1.7.3 fails on undefined references in http.c References: <303976.56953.bm@smtp120.sbc.mail.ne1.yahoo.com> In-Reply-To: <303976.56953.bm@smtp120.sbc.mail.ne1.yahoo.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+OSjxHPWBCe37I2IGwbeduLsJdbPErZbtt0zK2fS9sdQPuPLzBY XFcqAfnIh8OUMv76x89Sw/ecJFGAdQG5wvMX8HIXMHJsO6zBSoMbVfoLy5GwDmuWBsYVQH1 75jIbKfx3hWBwetH3Ht3fwXtBGCakueNQmo70tz2Vo3rpgw24t8qynNur+kBB+4A4UOlDft ZCsQysqY7HpxhwUMe132g== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 18:57:34 -0000 Am 02.07.2014 20:46, schrieb Thomas Mueller: > I was trying to build/upgrade the newly updated print/cups 1.7.3 but failed on errors: undefined references in http.c apparently linked from ippserver.c > > > > Making all in test... > gmake[3]: Entering directory `/BETA1/usr/ports/print/cups-base/work10.i386/cups-1.7.3/test' > echo Compiling ippserver.c... > Compiling ippserver.c... > cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -I.. -D_CUPS_SOURCE -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o ippserver.o ippserver.c > echo Linking ippserver... > Linking ippserver... > cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o ippserver ippserver.o ../cups/libcups.a \ > -lssl -lcrypto -ldns_sd -pthread -lm -lcrypt -lz -lz > ../cups/libcups.a(http.o): In function `httpInitialize': > /BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:1637: undefined reference to `gnutls_global_init' > ../cups/libcups.a(http.o): In function `http_shutdown_ssl': > /BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5474: undefined reference to `gnutls_bye' > /BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5475: undefined reference to `gnutls_deinit' It is compiled as though it should use GNUTLS, but links against OPENSSL (-lssl -lcrypto) - the port maintainer might want to look into this; until then, flip the options to use OPENSSL, then it might work.