Archive for February 16th, 2010

MB-System: progress update

I left off yesterday with some unresolved issues. These issues are still unresolved today, however, I think I’ve narrowed it down to GDAL – surprise, surprise… It seems like my ‘undefined references’ are all related to GDAL functions. Since I know next to nothing about C libraries and header files it’s a bit tough reading through the forums that might otherwise be helpful. I wonder if I messed things up by installing GDAL using Synaptic, and then from source… I noticed that I have gdal-type files replicated in more than one place. Something tells me that can’t be good.

Here are the last few lines where things started to go haywire when running the MB-System sudo make all (it goes on and on and on, this is just a little snippet):

cd utilities; make all
make[2]: Entering directory `/home/michelle/Documents/mbsystem-5.1.2/src/utilities'
cc -g -w -DLINUX -DBYTESWAPPED mbprocess.o ../../lib/libmbio.a ../../lib/libmbproj.a ../../lib/libmbgsf.a ../../lib/libmr1pr.a ../../lib/libsapi.a ../../lib/libmbaux.a \
/home/michelle/Documents/GMT/GMT4.5.2/lib/libgmt.a /home/michelle/Documents/GMT/GMT4.5.2/lib/libpsl.a \
-L/home/michelle/Documents/GMT/netcdf-3.6.3/lib -lm -lnetcdf -L/home/michelle/Documents/GMT/netcdf-3.6.3/lib -lnetcdf -o ../../bin/mbprocess
/home/michelle/Documents/GMT/GMT4.5.2/lib/libgmt.a(gmt_customio.o): In function `ComputeRasterMinMax':
gmt_customio.c:(.text+0x65a7): undefined reference to `GDALGetRasterNoDataValue'
gmt_customio.c:(.text+0x65b5): undefined reference to `GDALGetRasterDataType'