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

MacPorts noreply at macports.org
Sun Nov 27 17:30:44 PST 2011


#32285: hdf4 @4.2.6 +gcc45 compiling error - linking failure
-----------------------------+----------------------------------------------
 Reporter:  xt10@…           |       Owner:  takeshi@…           
     Type:  defect           |      Status:  new                 
 Priority:  Normal           |   Milestone:                      
Component:  ports            |     Version:  2.0.3               
 Keywords:                   |        Port:  hdf4                
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * keywords:  linking hdf4 library =>
  * priority:  High => Normal
  * owner:  macports-tickets@… => takeshi@…


Old description:

> "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
> }}}

New description:

 "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
 }}}

--

Comment:

 Please remember to preview before submitting so you can ensure you got
 your WikiFormatting right;
 Don't set Priority to High;
 Do Cc the maintainer of the affected port.

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


More information about the macports-tickets mailing list