[
https://issues.apache.org/jira/browse/MESOS-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gavin updated MESOS-1670:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> 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
> Priority: Major
> Fix For: 0.20.0
>
>
> 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
(v7.6.3#76005)