From owner-freebsd-ports@FreeBSD.ORG Mon Jun 4 23:39:28 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E422106564A for ; Mon, 4 Jun 2012 23:39:28 +0000 (UTC) (envelope-from dg@pki2.com) Received: from btw.pki2.com (btw.pki2.com [66.114.146.51]) by mx1.freebsd.org (Postfix) with ESMTP id E26BA8FC19 for ; Mon, 4 Jun 2012 23:39:27 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [192.168.23.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id q54Najdq085989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 4 Jun 2012 16:36:46 -0700 (PDT) (envelope-from dg@pki2.com) Date: Mon, 4 Jun 2012 16:36:45 -0700 (PDT) From: Dennis Glatting X-X-Sender: dennisg@btw.pki2.com To: "O. Hartmann" In-Reply-To: <4FCD0DE2.8080607@zedat.fu-berlin.de> Message-ID: References: <4FCD0DE2.8080607@zedat.fu-berlin.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: q54Najdq085989 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: dg@pki2.com Cc: Ports FreeBSD Subject: Re: graphics/gdal: gifdataset.cpp:599:23: error: 'PrintGifError' was not declared in this scope X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 23:39:28 -0000 On Mon, 4 Jun 2012, O. Hartmann wrote: > Since the last port update, I get this sticky error in gdal: > PrintGifError() was removed from giflib resulting in libraries that used it to cause the error. I temp-hack a fix in my set-up by adding a line of code to one of the files that form giflib: void PrintGifError( void ) {} Ugly. > libtool: compile: g++46 -O3 -pipe -fno-strict-aliasing -march=native > -Wl,-rpath=/usr/local/lib/gcc46 -Wall > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/port > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/gcore > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/alg > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/ogr > -I/usr/ports/graphics/gdal/work/gdal-1.9.0/ogr/ogrsf_frmts -DOGR_ENABLED > -I/usr/local/include -I/usr/ports/graphics/gdal/work/gdal-1.9.0/port > -I/usr/local/include -I/usr/local -I/usr/local/include > -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local > -I/usr/local/include -I/usr/local/include -I/usr/local > -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr > -I/usr/include -c gifdataset.cpp -fPIC -DPIC -o ../o/.libs/gifdataset.o > gifdataset.cpp: In static member function 'static GDALDataset* > GIFDataset::CreateCopy(const char*, GDALDataset*, int, char**, > GDALProgressFunc, void*)': > gifdataset.cpp:599:23: error: 'PrintGifError' was not declared in this scope > gifdataset.cpp:625:23: error: 'PrintGifError' was not declared in this scope > gmake[2]: *** [../o/gifdataset.lo] Error 1 > gmake[2]: Leaving directory > `/usr/ports/graphics/gdal/work/gdal-1.9.0/frmts/gif' > gmake[1]: *** [gif-install-obj] Error 2 > gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.9.0/frmts' > gmake: *** [frmts-target] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/graphics/gdal. > *** [build] Error code 1 > > Stop in /usr/ports/graphics/gdal. > > ===>>> make failed for graphics/gdal > ===>>> Aborting update > > Terminated > > ===>>> You can restart from the point of failure with this command line: > portmaster graphics/gdal > > > Regards, > Oliver > >