On 16/01/2014 13:32, Francisco Pastor wrote:
Hi everyone

I'm trying to build a pice of sotware (fdgrib2) for reading GRIB2 files
as input in a meteorological model. When trying to build I get a whole
bunch of undefined reference messages and then building process finishes
with error. HDF5 installed version is 1.8.12.

You can see the whole output of make command in this url (Evernote
shared note)

https://www.evernote.com/shard/s162/sh/19a6cd78-4a6e-4362-aa16-454e02c39460/376acf112a4e62f959b6fafd74c0b169


Any help would be appreciated.

Thanks in advance.

Paco


what is the exact command executed by make ?
In most of the platform with "undefined reference" issue the

HDF5_LIBS=-L/usr/local/hdf5/lib -lhdf5 -lz -lm

must be at the end of line, something like:

<your compiler> -c source -o binary -L/usr/local/hdf5/lib -lhdf5 -lz -lm

Regards
Marco

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

Reply via email to