[Gdal-dev] Re: Compile error on OS X
Ian MacColl
ianm at itee.uq.edu.au
Mon Apr 28 13:44:39 EDT 2003
On Tuesday, April 29, 2003, at 02:00 AM,
gdal-dev-request at remotesensing.org wrote:
>> After installing Proj, I've passed most of my previous errors, but
>> now I'm
>> getting things like the following when building the latest and
>> greatest our of
>> CVS:
[...making gdal.a...]
I think you can ignore the "has no symbols" messages.
> make ./libgdal.1.1.dylib
> gcc -dynamiclib ./frmts/o/*.o ./core/*.o ./port/*.o ./alg/*.o
> ./ogr/ogrct.o
> ./ogr/ogr_opt.o ./ogr/ogr_fromepsg.o ./ogr/ogr_srs_validate.o
> ./ogr/ogrutils.o ./ogr/ogr_srs_proj4.o ./ogr/ograssemblepolygon.o
> ./ogr/ogr_api.o ./ogr/ogrsf_frmts/generic/ogrregisterall.o
> ./ogr/ogrfeaturestyle.o ./ogr/ogrsf_frmts/ogrsf_frmts.a ./gdal.a
> ./ogr/ogr.a ./gdal.a ./port/cpl.a -lz -lm -lm -dl -o
> ./libgdal.1.1.dylib
> ld: Undefined symbols:
...
Stuff like delete and new comes from -lSystem and/or -lstdc++
I've also got -lcrypto and -lssl and I've got -ldl instead of -dl
I think the pj_ stuff is from proj, but I'm not sure how it's linked.
Ian
More information about the Gdal-dev
mailing list