[Gdal-dev] Error compiling on Solaris 10 with GeoExpress SDK
Chris Garrard
chrisg at biology.usu.edu
Tue Nov 15 18:20:03 EST 2005
Hello,
I'm trying to compile GDAL 1.3.1 on Solaris 10. It works great until I
try and compile in the GeoExpress SDK. The LizardTech downloads page
says it works with Solaris 8 and 9 and gcc 3.2.3. I'm using gcc 3.4.4.
Has anyone else tried this, or know if the problem is with my compiler
version or the OS version?
Here is the error I'm getting:
g++ ogrinfo.o -o .libs/ogrinfo ../.libs/libgdal.so -L/opt/csw/src
/opt/csw/lib/libproj.so -L/opt/csw/extras/Geo_DSDK-5.0.6.955/lib/Release
-L/opt/csw/extras/Geo_DSDK-5.0.6.955/3rd-party/lib/Release -lltidsdk
-lpthread -lltikdu /opt/csw/lib/libjasper.so -ljpeg -lrt -ldl
-L/opt/csw/lib -L/opt/csw/mysql4/lib/mysql
/opt/csw/mysql4/lib/mysql/libmysqlclient.so -lz -lposix4 -lc -lgen
-lsocket -lnsl -lssl -lcrypto -Wl,-R -Wl,/opt/csw/lib -Wl,-R
-Wl,/opt/csw/mysql4/lib/mysql
Undefined first referenced
symbol in file
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)../.libs/libgdal.so
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_M_check(unsigned int) const../.libs/libgdal.so
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage../.libs/libgdal.so
std::allocator<char>::allocate(unsigned int, void
const*)../.libs/libgdal.so
std::__default_alloc_template<true, 0>::allocate(unsigned
int)../.libs/libgdal.so
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned int, std::allocator<char>
const&)../.libs/libgdal.so
ld: fatal: Symbol referencing errors. No output written to .libs/ogrinfo
collect2: ld returned 1 exit status
gmake[1]: *** [ogrinfo] Error 1
gmake[1]: Leaving directory `/opt/csw/extras/gdal-1.3.1/ogr'
gmake: *** [ogr-apps] Error 2
Thanks,
Chris
More information about the Gdal-dev
mailing list