#32562: HDF4 library not working for FORTRAN programs ----------------------------------+----------------------------------------- Reporter: cyberbass4@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: hdf4 ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * priority: High => Normal * keywords: HDF FORTRAN => * milestone: MacPorts 2.0.4 => * owner: macports-tickets@… => takeshi@… * port: => hdf4 Old description:
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!
New description: OS: MacOSX 10.6.8 (x86_64-apple-darwin10) [[br]] 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! -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/32562#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS