Ocean Color Forum - Not logged in
Forum Ocean Color Home Help Search Login
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / Compilation of msl12 fails (locked) (1602 hits)
By Matthias Date 2007-06-12 16:08
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[1]: *** [msl12] Error 1
make[1]: 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.

Regards,

Matthias
By mark Date 2007-06-12 16:32
Matthias,

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.

Regards, Mark
By mike Date 2007-06-12 17:35
Yeah it seems like a simple HDF4 linking problem.. perhaps you could just download a precompiled HDF4 package for openSUSE 10. Also I'm guessing it wouldn't be too much work to keep at it and compile HDF 4 on your own system using google to work through compilation errors, e.g. http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg01957.html.
By Matthias Date 2007-06-13 16:30
Thanks to both of you. I will check out how to install hdf on my system.

Regards,

Matthias
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / Compilation of msl12 fails (locked) (1602 hits)



Responsible NASA Official: Gene C. Feldman
Curator: OceanColor Webmaster
Authorized by: Gene C. Feldman
Updated: 27 November 2007
Privacy Policy and Important Notices NASA logo