[ https://issues.apache.org/jira/browse/THRIFT-5612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik closed THRIFT-5612. ------------------------ Resolution: Resolved forgot to add this in the macbook air {code:java} conan profile update settings.compiler.libcxx=libstdc++11 default {code} > C++ v0.16.0 compiles on my ryzen linux box, but getting errors linking on > intel mac > ----------------------------------------------------------------------------------- > > Key: THRIFT-5612 > URL: https://issues.apache.org/jira/browse/THRIFT-5612 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.16.0 > Reporter: Erik > Priority: Minor > > I successfully compile my project on a ryzen based linux box (Kubuntu 22.04) > ... > but the same kubuntu on a macbook air is failing to compile around the thrift > library.. any ideas? > {code:java} > /usr/bin/ld: CMakeFiles/ibrokers_server.dir/src/gen-cpp/ibrokers.cpp.o: in > function `twsapithrift::ibrokersConcurrentClient::recv_ping(int)': > ibrokers.cpp:(.text+0x4828): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::updatePending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > cons > t&, apache::thrift::protocol::TMessageType, int)' > /usr/bin/ld: ibrokers.cpp:(.text+0x4846): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::getPending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<ch > ar> >&, apache::thrift::protocol::TMessageType&, int&)' > /usr/bin/ld: CMakeFiles/ibrokers_server.dir/src/gen-cpp/ibrokers.cpp.o: in > function > `twsapithrift::ibrokersConcurrentClient::recv_ib_status(std::vector<std::__cxx11::basic_string<char, > std::char_traits > <char>, std::allocator<char> >, > std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > > >&, int)': > ibrokers.cpp:(.text+0x6bd8): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::updatePending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > cons > t&, apache::thrift::protocol::TMessageType, int)' > /usr/bin/ld: ibrokers.cpp:(.text+0x6bf6): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::getPending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<ch > ar> >&, apache::thrift::protocol::TMessageType&, int&)' > /usr/bin/ld: CMakeFiles/ibrokers_server.dir/src/gen-cpp/ibrokers.cpp.o: in > function > `twsapithrift::ibrokersConcurrentClient::recv_request_news(std::vector<twsapithrift::NewsResponse, > std::allocator<tws > apithrift::NewsResponse> >&, int)': > ibrokers.cpp:(.text+0x9be8): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::updatePending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > cons > t&, apache::thrift::protocol::TMessageType, int)' > /usr/bin/ld: ibrokers.cpp:(.text+0x9c06): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::getPending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<ch > ar> >&, apache::thrift::protocol::TMessageType&, int&)' > /usr/bin/ld: CMakeFiles/ibrokers_server.dir/src/gen-cpp/ibrokers.cpp.o: in > function > `twsapithrift::ibrokersConcurrentClient::recv_request_historical(std::vector<twsapithrift::HistoricalResponse, > std::a > llocator<twsapithrift::HistoricalResponse> >&, int)': > ibrokers.cpp:(.text+0xae18): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::updatePending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > cons > t&, apache::thrift::protocol::TMessageType, int)' > /usr/bin/ld: ibrokers.cpp:(.text+0xae36): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::getPending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<ch > ar> >&, apache::thrift::protocol::TMessageType&, int&)' > /usr/bin/ld: CMakeFiles/ibrokers_server.dir/src/gen-cpp/ibrokers.cpp.o: in > function > `twsapithrift::ibrokersConcurrentClient::recv_request_matching_symbols(std::vector<twsapithrift::MatchingSymbolRespon > se, std::allocator<twsapithrift::MatchingSymbolResponse> >&, int)': > ibrokers.cpp:(.text+0xc048): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::updatePending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > cons > t&, apache::thrift::protocol::TMessageType, int)' > /usr/bin/ld: ibrokers.cpp:(.text+0xc066): undefined reference to > `apache::thrift::async::TConcurrentClientSyncInfo::getPending(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<ch > ar> >&, apache::thrift::protocol::TMessageType&, int&)' > collect2: error: ld returned 1 exit status > gmake[2]: *** [CMakeFiles/ibrokers_server.dir/build.make:247: > bin/ibrokers_server] Error 1 > gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ibrokers_server.dir/all] > Error 2 > gmake: *** [Makefile:91: all] Error 2 > chmod: cannot access 'ibrokers_server': No such file or directory > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)