You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ken Sipe (JIRA)" <ji...@apache.org> on 2014/08/05 03:35:11 UTC

[jira] [Created] (MESOS-1670) Build Failure on Mac OSX with undefined link

Ken Sipe created MESOS-1670:
-------------------------------

             Summary: Build Failure on Mac OSX with undefined link 
                 Key: MESOS-1670
                 URL: https://issues.apache.org/jira/browse/MESOS-1670
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 0.20.0
         Environment: Mac OSX 
            Reporter: Ken Sipe


Building from master after the latest commits.  There is a linking error end with this output:
./mesos-tests
Source directory: /Users/kensipe/projects/mesos/mesos
Build directory: /Users/kensipe/projects/mesos/mesos/build
dyld: lazy symbol binding failed: Symbol not found: __ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE
  Referenced from: /Users/kensipe/projects/mesos/mesos/build/src/.libs/libmesos-0.20.0.dylib
  Expected in: flat namespace

dyld: Symbol not found: __ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE
  Referenced from: /Users/kensipe/projects/mesos/mesos/build/src/.libs/libmesos-0.20.0.dylib
  Expected in: flat namespace

make[3]: *** [check-local] Trace/BPT trap: 5
make[2]: *** [check-am] Error 2
make[1]: *** [check] Error 2

debugging shows:
echo "__ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE"|c++filt
cgroups::hierarchy(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)

and nm indicates that it is undefined:
nm /Users/kensipe/projects/mesos/mesos/build/src/.libs/libmesos-0.20.0.dylib|grep __ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE
                 U __ZN7cgroups9hierarchyERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE

It appears that there is a #ifdef __linux directive missing around some cgroup code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)