Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2012 16:36:45 -0700 (PDT)
From:      Dennis Glatting <dg@pki2.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: graphics/gdal: gifdataset.cpp:599:23: error: 'PrintGifError' was not declared in this scope
Message-ID:  <alpine.BSF.2.00.1206041635040.76569@btw.pki2.com>
In-Reply-To: <4FCD0DE2.8080607@zedat.fu-berlin.de>
References:  <4FCD0DE2.8080607@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <flags> graphics/gdal
>
>
> Regards,
> Oliver
>
>



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