Changes between Initial Version and Version 1 of Ticket #43825


Ignore:
Timestamp:
May 26, 2014, 2:02:58 PM (10 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

I think this is a C++ runtime library problem. Which compiler do you use to link your program? Which standard library is used? Which standard library is used by the root libs?

Please remember to preview your post and use WikiFormatting when posting in trac. Also make sure to Cc the maintainer, if any.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43825

    • Property Cc mattiafrancescomoro@… jonesc@… added
  • Ticket #43825 – Description

    initial v1  
    55"port install root5" works fine, and so does most running and linking of the included executables/libraries. But when linking the ROOT libraries to compile an executable that manipulates ROOT graphs, I get the following specific errors:
    66
     7{{{
    78Undefined symbols for architecture x86_64:
    89  "TAttMarker::SaveMarkerAttributes(std::basic_ostream<char, std::char_traits<char> >&, char const*, int, int, int)"
     
    1112  "TAttLine::SaveLineAttributes(std::basic_ostream<char, std::char_traits<char> >&, char const*, int, int, int)"
    1213 ld: symbol(s) not found for architecture x86_64
     14}}}
    1315
    1416Note: the ROOT libraries I am linking are the following:
    1517        -L/opt/local/lib/root5 -lCore -lCint -lGpad -lGraf -lHist -lMathCore -lMatrix -lRIO -lThread
    1618
    17 I've been having this problem ever since I upgraded to OSX Mavericks, some months ago, and am posting it here since it looks like the 64-bit libraries installed by this port may be missing a few compiled functions defined in the headers. So far I haven't found any discussion of this particular issue elsewhere. My apologies if this is simply due to some stupidity on my part or an intrinsic ROOT problem, not specific to macports. Note that the code I compile successfully links a lot of other ROOT functionality; it is just these 4 functions that fail at link time. 
     19I've been having this problem ever since I upgraded to OSX Mavericks, some months ago, and am posting it here since it looks like the 64-bit libraries installed by this port may be missing a few compiled functions defined in the headers. So far I haven't found any discussion of this particular issue elsewhere. My apologies if this is simply due to some stupidity on my part or an intrinsic ROOT problem, not specific to macports. Note that the code I compile successfully links a lot of other ROOT functionality; it is just these 4 functions that fail at link time.