[Gdal-dev] Troubles compiling gdal

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


I'm sorry for posting previous message. This was previously anwered.


   >[Gdal-dev] error and fix for s57 breakage

*>Frank Warmerdam *gdal-dev at remotesensing.org 
<mailto:gdal-dev%40remotesensing.org>
/>Fri, 14 Nov 2003 08:08:42 -0500/

>Vincent Schut wrote:
>>/ Frank and others,
/>>/ 
/>>/ due to an error in gdal/ogr/ogrsf_frmts/s57/GNUMakefile gdal-cvs won't  
/>>/ compile if ogr is enabled. The solution is to add 's57featuredefns.o'  
/>>/ to the 'OBJ =' line in the GNUMakefile in the s57 directory (and  
/>>/ probably similar addition to the Makefile?).
/>
>Vincent,
>
>Sorry, I have committed that change.
>
>Best regards,


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