Ocean Color Forum - Not logged in
I have got a problem with the recompilation of the msl12 binary. When I carry out the "make" command I get after some successful compilation steps the error:
/home/mjerg/CCNY/seadas5.1/hdf/HDF4/lib/libdf.a(hkit.o): In function `HDf2cstring':
hkit.c:(.text+0x558): undefined reference to `__ctype_b'
make: *** [msl12] Error 1
make: Leaving directory `/home/mjerg/CCNY/seadas5.1/src/c_procs/msl12'
make: *** [all] Error 2
I am using SeaDAS 5.1.1, the evaluation version of the INTEL Fortran compiler 10.0, and gcc version 4.1.2 20061115. All on openSUSE 10.2. I used the redhat version of SeaDAS for the installation. I carry out the imake command: imake -TSDSmake.tmpl -I$SEADAS/config -s Makefile -f Imakefile to generate the makefile. There seems to be a problem with HDF. However, I have tried to install HDF separately which was also unsuccessful due to compilation errors.
Any help and hints is greatly appreciated.
None of the components you are using agrees with what we support, so I am kind of not surprised that you are encountering this problem. We used to supply the HDF code so that users like yourself could recompile it, but it got to the point where there were so many problems with that because of all the different operating systems, that we decided to just supply the pre-compiled libraries. If it is not working on your desired platform, you have two choices. First choice is to get a platform with all the components that we support, like OS and compiler versions. Second choice is to install your own HDF separately, which you have already tried, and work through those problems.
Thanks to both of you. I will check out how to install hdf on my system.