[MacPorts] #32285: hdf4 @4.2.6 +gcc45 compiling error - linking failure

MacPorts noreply at macports.org
Sat Nov 26 20:51:01 PST 2011


#32285: hdf4 @4.2.6 +gcc45 compiling error - linking failure
----------------------------------+-----------------------------------------
 Reporter:  xt10@…                |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  High                  |   Milestone:                                       
Component:  ports                 |     Version:  2.0.3                                
 Keywords:  linking hdf4 library  |        Port:  hdf4                                 
----------------------------------+-----------------------------------------
 "h4fc" (the compiling command) fails to compile fortran77 program
 associated with hdf library. The command and error message is as below:
 {{{xxxx:xxx xxx$ h4fc sds_rd.f -o sds_rd.exe
    gfortran-mp-4.5: /opt/local/bin/gfortran-mp-4.5: linker input file
 unused because linking not done
    ld: in /opt/local/bin/gfortran-mp-4.5, can't link with a main
 executable
    collect2: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32285>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list