[GRASS5] more Solaris/GDAL/Kakadu compile wierdness

Chris G. Nicholas cgn at globexplorer.com
Sat May 28 16:57:31 EDT 2005


I had the same unresolved issues with unresolved jp2_* with mapserver, so I just hardcoded in explicit reference to the Kakadu apps/make/jp2.o and roi_sources.o into the compile line.

now on safari into very wierd libstdc++ errs....

Chris
--------------------------------

bigsur.globexplorer.com# make
gcc  -L/export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/lib        -DPACKAGE=\""grassmods"\" -o /export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/bin/r.in.gdal OBJ.sparc-sun-solaris2.9/main.o -lgrass_gproj -lproj  /usr/local/lib/libgdal.so   -L/usr/local/lib -lgeos -L/usr/local/hdf/lib -ljpeg -ltiff -lpng -lz -lm -ldl -lkdu -lmfhdf -ldf -ludport -lnsl -L/usr/local/pgsql/lib -lpq -lgrass_gis -lgrass_datetime -lnsl    -lz  -lsocket  -lgrass_I -lgrass_vask -lcurses  /usr/local/lib/libgdal.so   -L/usr/local/lib -lgeos -L/usr/local/hdf/lib -ljpeg -ltiff -lpng -lz -lm -ldl -lkdu -lmfhdf -ldf -ludport -lnsl -L/usr/local/pgsql/lib -lpq -lgrass_gmath    /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o /export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o -lm  -lnsl    -lz
ld: warning: file /usr/local/lib/libgdal.so: attempted multiple inclusion of file
ld: warning: symbol `sigfpe' has differing types:
        (file /export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/lib/libgrass_I.so type=OBJT; file /usr/lib/libc.so type=FUNC);
        /export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/lib/libgrass_I.so definition taken
Undefined                       first referenced
 symbol                             in file
std::basic_filebuf<char, std::char_traits<char> >::close()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::ios_base::ios_base[not-in-charge]()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)

std::ios_base::~ios_base [not-in-charge]()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
operator new[](unsigned)            /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
operator new(unsigned)              /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for __cxxabiv1::__si_class_type_info/export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for std::basic_ifstream<char, std::char_traits<char> >/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
VTT for std::basic_ifstream<char, std::char_traits<char> >/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for std::basic_streambuf<char, std::char_traits<char> >/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_istream<char, std::char_traits<char> >::get(char*, int, char)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_istream<char, std::char_traits<char> >::read(char*, int)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_ios<char, std::char_traits<char> >::widen(char) const/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
__cxa_call_unexpected               /export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
operator delete[](void*)            /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
operator delete(void*)              /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for std::basic_filebuf<char, std::char_traits<char> >/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_istream<char, std::char_traits<char> >::putback(char)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_istream<char, std::char_traits<char> >::operator>>(int&)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_streambuf<char, std::char_traits<char> >::~basic_streambuf [not-in-charge]()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::__basic_file<char>::~__basic_file [in-charge]()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for __cxxabiv1::__class_type_info/export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::__basic_file<char>::is_open() const/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
vtable for std::basic_ios<char, std::char_traits<char> >/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
__gxx_personality_v0                /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf[in-charge]()/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
__cxa_pure_virtual                  /export/home/webdemo/src/gdal-1.2.6/frmts/o/jp2.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::locale::~locale [in-charge]()  /export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
std::basic_istream<char, std::char_traits<char> >::get(char&)/export/home/webdemo/src/gdal-1.2.6/frmts/o/roi_sources.o  (symbol belongs to implicit dependency /usr/local/lib/libstdc++.so.5)
ld: fatal: Symbol referencing errors. No output written to /export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/bin/r.in.gdal
collect2: ld returned 1 exit status
make: *** [/export/home/webdemo/src/grass-6.0.0/dist.sparc-sun-solaris2.9/bin/r.in.gdal] Error 1
bigsur.globexplorer.com#







More information about the grass-dev mailing list