[GRASSLIST:1736] Building GDAL v1.1.9 source on Mac OSX v10.2 (Jaguar) for GRASS v5.0.3

Gary Trachier trachier at ruralvt.com
Wed Nov 12 14:49:20 EST 2003


Hi All,

I am trying to build GDAL to use with GRASS v5.0.3.  I am running into
problems, and hope that someone out there can set me straight.

The configure line is...

configure --with-png \
--with-jpeg \
--with-gif \
--with-tiff \
--without-python \
--with-grass

Here are the errors...

g++ -c -Iogrsf_frmts -I. -I../port  -Wall -fPIC -O2   gml2ogrgeometry.cpp -o
gml2ogrgeometry.o
ar r ogr.a ogrgeometryfactory.o ogrpoint.o ogrcurve.o ogrlinestring.o
ogrlinearring.o ogrpolygon.o ogrutils.o ogrgeometry.o
ogrgeometrycollection.o ogrmultipolygon.o ogrsurface.o ogrmultipoint.o
ogrmultilinestring.o ogr_api.o ogrfeature.o ogrfeaturedefn.o
ogrfeaturestyle.o ogrfielddefn.o ogrspatialreference.o ogr_srsnode.o
ogr_srs_proj4.o ogr_fromepsg.o ogrct.o ogr_opt.o ogr_srs_esri.o
ogrfeaturequery.o swq.o ogr_srs_validate.o ogr_srs_xml.o
ograssemblepolygon.o ogr2gmlgeometry.o gml2ogrgeometry.o
ar: creating archive ogr.a
ranlib ogr.a
ranlib: file: ogr.a(ogrsurface.o) has no symbols
make ./gdal.a
ar r ./gdal.a ./frmts/o/*.o ./gcore/*.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
ar: creating archive ./gdal.a
ranlib ./gdal.a
ranlib: file: ./gdal.a(pnggccrd.o) has no symbols
ranlib: file: ./gdal.a(pngvcrd.o) has no symbols
ranlib: file: ./gdal.a(tif_pixarlog.o) has no symbols
ranlib: file: ./gdal.a(cpl_vsil_unix_stdio_64.o) has no symbols
make ./libgdal.1.1.dylib
gcc -dynamiclib  ./frmts/o/*.o ./gcore/*.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 -ldl -lm \
        -o ./libgdal.1.1.dylib
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
operator delete[](void*)
operator new[](unsigned long)
___cxa_pure_virtual
vtable for __cxxabiv1::__vmi_class_type_info
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libgdal.1.1.dylib] Error 1
make: *** [check-lib] Error 2

Any suggestions???  Or is there an easier way for me to add GDAL support to
GRASS?

Thanks.

-Gary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20031112/5af6486c/attachment.html


More information about the grass-user mailing list