On Mon, Nov 14, 2011 at 03:25:12AM -0800, tomhagen1989 wrote:
> /tmp/cc3jfEvc.o: In function `inputfield':
> spectralmpi.c:(.text+0x44): undefined reference to `SDstart'
> spectralmpi.c:(.text+0x56): undefined reference to `SDselect'
> spectralmpi.c:(.text+0xc2): undefined reference to `SDreaddata'
> spectralmpi.c:(.text+0x146): undefined reference to `SDend'
...
> collect2: ld returned 1 exit status
> 
> Have I installed hdf4 wrong?

Can't tell for sure from the errors you show. The linker
tells you that a number of hdf4 functions can't be found.
That makes it look a bit as if you don't link against the
required library (if the library wouldn't be installed in
a place the linker is looking for it you would get a com-
plaint about that instead). Does you have something like
'-lhdf4' (if you're on Unix) in the command for linking
the program?
                          Regards, Jens
-- 
  \   Jens Thoms Toerring  ________      [email protected]
   \_______________________________      http://toerring.de

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to