Francisco,

You are not linking with the HDF5 fortran library. You should have 

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

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




On Jan 17, 2014, at 2:52 AM, Francisco Pastor <[email protected]> wrote:

> Hi Marco
> 
> I updated the information at
> https://www.evernote.com/shard/s162/sh/19a6cd78-4a6e-4362-aa16-454e02c39460/376acf112a4e62f959b6fafd74c0b169
>  to reflect Makefile, rules.mk and include.mk used in building.
> 
> Maybe the point comes at
> 
> $(LOADER) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC) \
>        $(LIBUTILS) $(HDF5_LIBS) $(SYSLIBS)
> 
> Should $(HDF5_LIBS) be the latest in the command line?
> 
> Thanks
> 
> Paco
> 
> 
> El 16/01/2014 13:32, Francisco Pastor escribió:
>> 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
>> 
>> 
> 
> -- 
> -----------
> Dr. Francisco Pastor
> Meteorology department, Instituto Universitario CEAM-UMH
> http://www.ceam.es
> -----------
> Mendeley profile: http://www.mendeley.com/profiles/francisco-pastor1/
> Google Scholar: http://scholar.google.com/citations?user=V3mmCdkAAAAJ&hl=es
> Researcher ID: http://www.researcherid.com/rid/B-8331-2008
> Cosis profile: http://www.cosis.net/profile/francisco.pastor
> -----------
> mail: [email protected]
> skype: paco.pastor.guzman
> -----------
> Parque Tecnologico, C/ Charles R. Darwin, 14
> 46980 PATERNA (Valencia), Spain
> Tlf. 96 131 82 27 - Fax. 96 131 81 90
> 
> 
> ---------------------------------------------------------------------
> Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen 
> información reservada de la empresa que no puede ser difundida. Si usted ha 
> recibido este correo por error, tenga la amabilidad de eliminarlo de su 
> sistema y avisar al remitente mediante reenvío a su dirección electrónica; no 
> deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
> 
> Su dirección de correo electrónico junto a sus datos personales forman parte 
> de un fichero titularidad de la Fundación de la Comunidad Valenciana Centro 
> de Estudios Ambientales del Mediterráneo - CEAM, con CIF: G-46957213, cuya 
> finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley 
> Orgánica 15/1999, usted puede ejercitar sus derechos de acceso, 
> rectificación, cancelación y, en su caso, oposición enviando una solicitud 
> por escrito, acompañada de una fotocopia de su DNI dirigida a: Fundación de 
> la Comunidad Valenciana Centro de Estudios Ambientales del Mediterráneo - 
> CEAM. C/ Charles R. Darwin, 14. Parque Tecnológico.46980 PATERNA (Valencia).
> 
> This message and the attached files are confidential. They contain reserved 
> information belonging to our centre and are not to be broadcast. If you have 
> received this email by mistake, please delete it from your system and alert 
> the sender by returning it to his/her email address. You must not copy or 
> divulge the contents of the message to anyone.
> 
> Your email address and personal data are included in a file belonging to the 
> Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del 
> Mediterráneo - CEAM, con CIF: G-46957213. The purpose of this file is to 
> allow us to keep in contact with you. In accordance with Organic Law 15/1999, 
> you are permitted to access, rectify, cancel or oppose the contents of this 
> file by submitting a written request, accompanied by a photocopy of your DNI, 
> to: Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del 
> Mediterráneo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnológico.46980 
> PATERNA (Valencia).
> 
> 
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org


_______________________________________________
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