[Gdal-dev] Troubles compiling gdal

Frank Warmerdam warmerdam at pobox.com
Mon Nov 17 08:59:57 EST 2003


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,

This should be fixed now. Do a "cvs update" in the s57 directory.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list