[Gdal-dev] Troubles compiling gdal

Vincent Schut schut at sarvision.com
Mon Nov 17 08:54:54 EST 2003


Luis,

try to update from cvs. This error was just recently fixed (yesterday  
or so), so you need to make sure you are using the most recent source  
code. For more info, see earlier messages on this list with the subject  
'error and fix for s57 breakage'.

Cheers,
Vincent.

On 2003.11.17 14:47, Luis W. Sevilla wrote:
> Hi all
> 
> I'm new on this list. Compiling gdal from cvs checkout I've had  
> folowing errors:
> 
> make[1]: Entering directory `/data1/source/c/gdal/ogr'
> /bin/sh ../libtool --mode=link  g++  ogrinfo.o ../libgdal.la -o  
> ogrinfo
> g++ ogrinfo.o -o .libs/ogrinfo  ../.libs/libgdal.so /usr/lib/libjpeg. 
> so -lpng -lz -ldl /usr/lib/libstdc++.so -Wl,--rpath -Wl,/source/c/ 
> gdal/gdal-1.1.9-linux-bin/lib
> .../.libs/libgdal.so: undefined reference to  
> `S57GenerateVectorPrimitiveFeatureDefn(int, int)'
> .../.libs/libgdal.so: undefined reference to  
> `S57GenerateObjectClassDefn(S57ClassRegistrar*, int, int)'
> .../.libs/libgdal.so: undefined reference to  
> `S57GenerateGeomFeatureDefn(OGRwkbGeometryType, int)'
> collect2: ld returned 1 exit status
> make[1]: *** [ogrinfo] Error 1
> make[1]: Leaving directory `/data1/source/c/gdal/ogr'
> make: *** [ogr-apps] Error 2
> 
> any clue about how to solve it?
> 
> I'd like to have S57/ENC support on this build
> 
> thanks in advance and excuse my poor english
> 
>    Luis
> 
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev
> 



More information about the Gdal-dev mailing list