[Gdal-dev] Troubles compiling gdal

Luis W. Sevilla sevilla_lui at gva.es
Mon Nov 17 08:47:32 EST 2003


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





More information about the Gdal-dev mailing list