Opened 13 years ago

Last modified 13 years ago

#32562 closed defect

HDF4 library not working for FORTRAN programs — at Version 1

Reported by: cyberbass4@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: hdf4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS: MacOSX 10.6.8 (x86_64-apple-darwin10)
gfortran,gcc version: 4.6.2

HDF4 (4.2.6_2) was built on the system, but if I use it to compile any FORTRAN program with HDF library used, the following information is displayed:

  "_sfrdata_", referenced from:
      _MAIN__ in cc0eOrvq.o
  "_sfend_", referenced from:
      _MAIN__ in cc0eOrvq.o
  "_sfstart_", referenced from:
      _MAIN__ in cc0eOrvq.o
  "_sfselect_", referenced from:
      _MAIN__ in cc0eOrvq.o
  "_sfendacc_", referenced from:
      _MAIN__ in cc0eOrvq.o

It looks like the HDF4 library is built without FORTRAN support. Could anybody test this for me? Thanks!

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: HDF FORTRAN removed
Milestone: MacPorts 2.0.4
Owner: changed from macports-tickets@… to takeshi@…
Port: hdf4 added
Priority: HighNormal

Remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of the port. The Milestone field is not used for port tickets.

If you want fortran support you need to use one of the port's gcc variants.

Note: See TracTickets for help on using tickets.