R: [Gdal-dev] static libraries revamped (was: new build strategy for org/orgsf_frmts/)

Amici Alessandro alessandro_amici at telespazio.it
Thu Jul 24 09:31:00 EDT 2003


> what happens if you use c++ and not ld
> 
> ie 
> 
> c++ -Wl,--relocatable -o ogr.o ogrcurve.o

you mean:

$ g++ -Wl,--relocateable -o ogr.o ogrcurve.o ogrlinestring.o
ogrlinestring.o(.eh_frame+0x67c):ogrlinestring.cpp: reloc refers to symbol
`.text$_ZN8OGRCurveD0Ev' which is not being output
ogrlinestring.o(.eh_frame+0x6a8):ogrlinestring.cpp: reloc refers to symbol
`.text$_ZN8OGRCurveD1Ev' which is not being output
collect2: ld returned 1 exit status

no luck :(



More information about the Gdal-dev mailing list