[Gdal-dev] Gdal-cvs compile error

Choi,Stephanie [Ontario] Stephanie.Choi at ec.gc.ca
Wed Mar 3 14:29:51 EST 2004


Hi all,

I am running into a problem when building GDAL-CVS version.

My configure line is as follow:

./configure --prefix=/usr/local/gdal \
                --without-python	 \
	    --with-ogr		 \ 
	    --with-odbc=/usr/local/easysoft/include \
	  --with-xerces	\ 
	  --with-xerces-inc=/usr/local/xercesc/include
	  --with-xerces-lib=/usr/local/xercesc/lib/libxerces_c1_6_0.so

It was compiled okay; however I got the following error when I did a make:

  g++ -Wall -O2 -I/usr/local/easysoft -I/usr/local/easysoft/include
-Iogrsf_frmts -I. -I../port -I../gcore -I../og
r -I../port -c ogrinfo.cpp  -fPIC -DPIC -o .libs/ogrinfo.o
 g++ -Wall -O2 -I/usr/local/easysoft -I/usr/local/easysoft/include
-Iogrsf_frmts -I. -I../port -I../gcore -I../og
r -I../port -c ogrinfo.cpp -o ogrinfo.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link  g++  ogrinfo.o ../libgdal.la -o ogrinfo
g++ ogrinfo.o -o .libs/ogrinfo  ../.libs/libgdal.so -L/usr/local/easysoft
-L/usr/local/easysoft/lib -lodbc /usr/l
ib/libjpeg.so -lpng -lz -ldl -L/usr/local/pgsql/lib -lpq -Wl,--rpath
-Wl,/usr/local/gdal/lib
../.libs/libgdal.so: undefined reference to
`SAXParseException::~SAXParseException(void)'
../.libs/libgdal.so: undefined reference to
`SAX2XMLReaderImpl::SAX2XMLReaderImpl(void)'
../.libs/libgdal.so: undefined reference to `XMLString::transcode(char const
*)'
../.libs/libgdal.so: undefined reference to
`XMLPlatformUtils::Initialize(void)'
../.libs/libgdal.so: undefined reference to
`SAXParseException::SAXParseException(SAXParseException const &)'
../.libs/libgdal.so: undefined reference to `XMLException type_info
function'
../.libs/libgdal.so: undefined reference to `SAXParseException type_info
function'
collect2: ld returned 1 exit status
make[1]: *** [ogrinfo] Error 1
make[1]: Leaving directory `/tmp/autotmp7/mapserver/gdal-cvs-040129/ogr'
make: *** [ogr-apps] Error 2

Could anyone help me on this problem ?  Any help would be greatly
appreciated :

Thanks in advance,

Stephanie


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040303/f56113a6/attachment.html


More information about the Gdal-dev mailing list