Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Resolved
-
0.16.0
-
None
-
None
Description
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?
/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