[Gdal-dev] Re: problems compiling gdal with xerces

Edward Fialkowski wef1 at cec.wustl.edu
Wed Aug 29 14:45:12 EDT 2007


Bit of an update, i found one combination of options to pass this error, but
now I move right onto:

using configuration:
./configure CFLAGS=-fPIC CPPFLAGS=-fPIC CXXFLAGS=-fPIC --with-ogr
--without-python --with-xerces=/usr/local/src/xerces-c-src_2_7_0


I get:
g++ ogrinfo.o -o .libs/ogrinfo  /usr/local/src/gdal-1.4.2/.libs/libgdal.so
-L/usr/local/lib -L/usr/local/src/xerces-c-src_2_7_0/lib -lxerces-c
-lpthread -lrt -L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
-Wl,--rpath -Wl,/usr/lib64
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `typeinfo
for XMLEntityDecl'
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to
`XMLString::transcode(char const*)'
/usr/local/src/gdal- 1.4.2/.libs/libgdal.so: undefined reference to
`SAX2XMLReaderImpl::SAX2XMLReaderImpl()'
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `typeinfo
for SAXParseException'
/usr/local/src/gdal- 1.4.2/.libs/libgdal.so: undefined reference to
`SAXParseException::SAXParseException(SAXParseException const&)'
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `typeinfo
for XMLException'
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to
`XMLEntityDecl::~XMLEntityDecl()'
/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to
`XMLPlatformUtils::Initialize()'
/usr/local/src/gdal- 1.4.2/.libs/libgdal.so: undefined reference to
`SAXParseException::~SAXParseException()'
collect2: ld returned 1 exit status
make[1]: *** [ogrinfo] Error 1
make[1]: Leaving directory `/usr/local/src/gdal-1.4.2 /ogr'
make: *** [ogr-apps] Error 2


:( I'm so close! Any ideas?

-Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070829/66da4204/attachment.html


More information about the Gdal-dev mailing list