[MacPorts] #43825: root5: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Tue May 27 06:41:53 PDT 2014


#43825: root5: Undefined symbols for architecture x86_64
-----------------------------+--------------------------------
  Reporter:  peter.skands@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.0
Resolution:                  |   Keywords:
      Port:  root5           |
-----------------------------+--------------------------------

Comment (by peter.skands@…):

 Thanks guys. I was indeed using gcc4.8 as the main compiler and linker.
 Some additional fortran code needed to be linked which previously had not
 worked with clang (needed the GNU -lgfortran flag). I now revised the
 fortran parts to not need the GNU fortran library and am able to compile
 and link the full code with clang++ (using gcc4.8 for the fortran parts),
 with the root5 libraries from macports linked in successfully as well.
 Thanks for the input on how to resolve it; it had not been clear to me
 that the +gcc48 only referred to some legacy fortran HBOOK code libraries.
 That said, however, since my code is intended for public release, I am
 still a bit worried that it is effectively not possible to use this port
 with gcc any more, but I think at least I now know how to inform my users
 to resolve any issues that might give rise to.

-- 
Ticket URL: <https://trac.macports.org/ticket/43825#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list