Hi all,
This is a cross-post from the gdal-dev list.
Usually an undefined reference is from a library path problem or version
problem with header files. I think that I have double checked for these
mistakes. GDAL command line utilities find the new ECW libraries and they seem
to find each other. Trying gdal-config --libs returns the expected value,
dalinfo reads ECW files, gdalwarp converts from ECW, and gdal-translate doesn't
crash.
But when I compile Mapserver 4.6.1 against GDAL 1.3.1 library that uses the
latest source for ECW SDK 3.3, making sure to use the path to gdal-config, and
even try adjusting mapserver's --prefix --libdir configure options, I still get
the following errors (abbreviated from a long series)
/usr/bin/../lib/libNCSEcw.so: undefined reference to `NCSDeleteFile'
/usr/bin/../lib/libNCSEcw.so: undefined reference to `NCSGetTempFileName'
/usr/bin/../lib/libNCSEcw.so: undefined reference to `NCSUtilInit'
/usr/bin/../lib/libNCSEcw.so: undefined reference to `NCSRemoveDir'
/usr/bin/../lib/libNCSEcw.so: undefined reference to `CNCSEvent::Set()'
/usr/lib/libgdal.so: undefined reference to `CNCSThread::Resume()'
/usr/bin/../lib/libNCSEcw.so: undefined reference to `NCSByteSwapRange64'
/usr/lib/libgdal.so: undefined reference to `CNCSThread::GetStats()'
/usr/lib/libgdal.so: undefined reference to `CNCSThread::GetPriority()'
...
etc.
Does anyone have any ideas?
Thanks
Jim