Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BuildLibCarla.sh: Building LibCarla "Client.Release" configuration. #7655

Open
SoonMoom opened this issue May 16, 2024 · 0 comments
Open

BuildLibCarla.sh: Building LibCarla "Client.Release" configuration. #7655

SoonMoom opened this issue May 16, 2024 · 0 comments

Comments

@SoonMoom
Copy link

make PythonAPI Setup.sh is success, but some errors when BuildLibCarla.sh.
Errors is:
BuildLibCarla.sh: Building LibCarla "Client.Release" configuration.
[1/1] Linking CXX executable LibCarla/cmake/test/libcarla_test_client_release
FAILED: LibCarla/cmake/test/libcarla_test_client_release
: && /usr/bin/clang++-10 -std=c++14 -pthread -fPIC -Wall -Wextra -Wpedantic -Wdeprecated -Wshadow -Wuninitialized -Wunreachable-code -Wpessimizing-move -Wold-style-cast -Wnull-dereference -Wduplicate-enum -Wnon-virtual-dtor -Wheader-hygiene -Wconversion -Wfloat-overflow-conversion -std=c++14 -pthread -fPIC -Wall -Wextra -Wpedantic -Wdeprecated -Wshadow -Wuninitialized -Wunreachable-code -Wpessimizing-move -Wold-style-cast -Wnull-dereference -Wduplicate-enum -Wnon-virtual-dtor -Wheader-hygiene -Wconversion -Wfloat-overflow-conversion LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/carla/profiler/LifetimeProfiled.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/carla/profiler/Profiler.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/Buffer.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/OpenDrive.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_image.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_opendrive.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_recurrent_shared_future.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_rpc.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_buffer.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_geom.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_listview.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_miscellaneous.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_msgpack.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_streaming.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/common/test_vector3D.cpp.o LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/test.cpp.o -o LibCarla/cmake/test/libcarla_test_client_release -L/home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib -L/home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib -Wl,-rpath,/home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib:/home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib: -lrpc -lgtest_main -lgtest LibCarla/cmake/client/libcarla_client.a ../boost-1.72.0-c8-install/lib/libboost_filesystem.a ../recast-0b13b0-c8-install/lib/libRecast.a ../recast-0b13b0-c8-install/lib/libDetour.a ../recast-0b13b0-c8-install/lib/libDetourCrowd.a && :
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/carla/profiler/LifetimeProfiled.cpp.o: in function std::_Hashtable<void*, std::pair<void* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<void* const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__detail::_Select1st, std::equal_to<void*>, std::hash<void*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>)': LifetimeProfiled.cpp:(.text._ZNSt10_HashtableIPvSt4pairIKS0_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE[_ZNSt10_HashtableIPvSt4pairIKS0_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIS0_ESt4hashIS0_ENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE]+0xf1): undefined reference to std::throw_bad_array_new_length()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/
/__/source/test/client/test_opendrive.cpp.o: in function std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<road_iterate_waypoints_Test::TestBody()::$_0, std::allocator<int>, void ()>::_M_run()::{lambda()#1}, void> >::_M_invoke(std::_Any_data const&)': test_opendrive.cpp:(.text+0x70ff): undefined reference to std::__exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: test_opendrive.cpp:(.text+0x710e): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/client/test_opendrive.cpp.o: in function std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result, std::future_base::_Result_base::_Deleter>, std::future_base::_Task_state<road_iterate_waypoints_Test::TestBody()::$_0, std::allocator, void ()>::_M_run_delayed(std::weak_ptrstd::__future_base::_State_baseV2)::{lambda()#1}, void> >::_M_invoke(std::_Any_data const&)':
test_opendrive.cpp:(.text+0x990f): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: test_opendrive.cpp:(.text+0x991e): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_opendrive.cpp.o: in function std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<road_get_waypoint_Test::TestBody()::$_1, std::allocator<int>, void ()>::_M_run()::{lambda()#1}, void> >::_M_invoke(std::_Any_data const&)': test_opendrive.cpp:(.text+0x9fcf): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir//
/source/test/client/test_opendrive.cpp.o:test_opendrive.cpp:(.text+0x9fde): more undefined references to std::__exception_ptr::exception_ptr::_M_release()' follow /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/client/test_opendrive.cpp.o: in function std::basic_future::_M_get_result() const':
test_opendrive.cpp:(.text._ZNKSt14__basic_futureIvE13_M_get_resultEv[_ZNKSt14__basic_futureIvE13_M_get_resultEv]+0x8b): undefined reference to std::__exception_ptr::exception_ptr::_M_addref()' /usr/bin/ld: test_opendrive.cpp:(.text._ZNKSt14__basic_futureIvE13_M_get_resultEv[_ZNKSt14__basic_futureIvE13_M_get_resultEv]+0xa5): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir//
/source/test/client/test_opendrive.cpp.o: in function std::__future_base::_State_baseV2::_M_break_promise(std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>)': test_opendrive.cpp:(.text._ZNSt13__future_base13_State_baseV216_M_break_promiseESt10unique_ptrINS_12_Result_baseENS2_8_DeleterEE[_ZNSt13__future_base13_State_baseV216_M_break_promiseESt10unique_ptrINS_12_Result_baseENS2_8_DeleterEE]+0xb1): undefined reference to std::__exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: test_opendrive.cpp:(.text._ZNSt13__future_base13_State_baseV216_M_break_promiseESt10unique_ptrINS_12_Result_baseENS2_8_DeleterEE[_ZNSt13__future_base13_State_baseV216_M_break_promiseESt10unique_ptrINS_12_Result_baseENS2_8_DeleterEE]+0xc3): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/client/test_rpc.cpp.o: in function std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result, std::future_base::_Result_base::_Deleter>, std::future_base::_Task_state<carla::rpc::detail::FunctionWrapper<int (*)(int, int)>::WrapSyncCall<rpc_server_bind_sync_run_on_game_thread_Test::TestBody()::$_4>(boost::asio::io_context&, rpc_server_bind_sync_run_on_game_thread_Test::TestBody()::$_4&&)::{lambda(carla::rpc::Metadata, int, int)#1}::operator()(carla::rpc::Metadata, int, int) const::{lambda()#1}, std::allocator, int ()>::_M_run()::{lambda()#1}, int> >::_M_invoke(std::_Any_data const&)':
test_rpc.cpp:(.text+0x54a6): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: test_rpc.cpp:(.text+0x54b8): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_rpc.cpp.o:test_rpc.cpp:(.text+0x5796): more undefined references to std::__exception_ptr::exception_ptr::_M_release()' follow /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/client/test_rpc.cpp.o: in function std::basic_future::_M_get_result() const':
test_rpc.cpp:(.text._ZNKSt14__basic_futureIfE13_M_get_resultEv[_ZNKSt14__basic_futureIfE13_M_get_resultEv]+0x8b): undefined reference to std::__exception_ptr::exception_ptr::_M_addref()' /usr/bin/ld: test_rpc.cpp:(.text._ZNKSt14__basic_futureIfE13_M_get_resultEv[_ZNKSt14__basic_futureIfE13_M_get_resultEv]+0xa5): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_rpc.cpp.o: in function std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::function<std::unique_ptr<clmdep_msgpack::v1::object_handle, std::default_delete<clmdep_msgpack::v1::object_handle> > (clmdep_msgpack::v2::object const&)> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::function<std::unique_ptr<clmdep_msgpack::v1::object_handle, std::default_delete<clmdep_msgpack::v1::object_handle> > (clmdep_msgpack::v2::object const&)> > >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>)': test_rpc.cpp:(.text._ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St8functionIFSt10unique_ptrIN14clmdep_msgpack2v113object_handleESt14default_deleteISC_EERKNSA_2v26objectEEEESaISM_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSO_18_Mod_range_hashingENSO_20_Default_ranged_hashENSO_20_Prime_rehash_policyENSO_17_Hashtable_traitsILb1ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE[_ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St8functionIFSt10unique_ptrIN14clmdep_msgpack2v113object_handleESt14default_deleteISC_EERKNSA_2v26objectEEEESaISM_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSO_18_Mod_range_hashingENSO_20_Default_ranged_hashENSO_20_Prime_rehash_policyENSO_17_Hashtable_traitsILb1ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE]+0xf1): undefined reference to std::throw_bad_array_new_length()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir//
/source/test/client/test_rpc.cpp.o: in function std::__basic_future<int>::_M_get_result() const': test_rpc.cpp:(.text._ZNKSt14__basic_futureIiE13_M_get_resultEv[_ZNKSt14__basic_futureIiE13_M_get_resultEv]+0x8b): undefined reference to std::exception_ptr::exception_ptr::_M_addref()'
/usr/bin/ld: test_rpc.cpp:(.text._ZNKSt14__basic_futureIiE13_M_get_resultEv[_ZNKSt14__basic_futureIiE13_M_get_resultEv]+0xa5): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/client/test_rpc.cpp.o: in function std::basic_future::_M_get_result() const':
test_rpc.cpp:(.text._ZNKSt14__basic_futureIdE13_M_get_resultEv[_ZNKSt14__basic_futureIdE13_M_get_resultEv]+0x8b): undefined reference to std::__exception_ptr::exception_ptr::_M_addref()' /usr/bin/ld: test_rpc.cpp:(.text._ZNKSt14__basic_futureIdE13_M_get_resultEv[_ZNKSt14__basic_futureIdE13_M_get_resultEv]+0xa5): undefined reference to std::exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir///source/test/client/test_rpc.cpp.o: in function clmdep_msgpack::v1::object_handle rpc::client::call<carla::rpc::Metadata, int, int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, carla::rpc::Metadata, int, int)': test_rpc.cpp:(.text._ZN3rpc6client4callIJN5carla3rpc8MetadataEiiEEEN14clmdep_msgpack2v113object_handleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpT_[_ZN3rpc6client4callIJN5carla3rpc8MetadataEiiEEEN14clmdep_msgpack2v113object_handleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpT_]+0xf1): undefined reference to std::atomic_futex_unsigned_base::_M_futex_wait_until_steady(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
/usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir//
/source/test/client/test_rpc.cpp.o: in function std::__basic_future<clmdep_msgpack::v1::object_handle>::_M_get_result() const': test_rpc.cpp:(.text._ZNKSt14__basic_futureIN14clmdep_msgpack2v113object_handleEE13_M_get_resultEv[_ZNKSt14__basic_futureIN14clmdep_msgpack2v113object_handleEE13_M_get_resultEv]+0x8b): undefined reference to std::__exception_ptr::exception_ptr::_M_addref()'
/usr/bin/ld: test_rpc.cpp:(.text._ZNKSt14__basic_futureIN14clmdep_msgpack2v113object_handleEE13_M_get_resultEv[_ZNKSt14__basic_futureIN14clmdep_msgpack2v113object_handleEE13_M_get_resultEv]+0xa5): undefined reference to std::__exception_ptr::exception_ptr::_M_release()' /usr/bin/ld: LibCarla/cmake/test/CMakeFiles/libcarla_test_client_release.dir/__/__/source/test/common/test_streaming.cpp.o: in function std::_Hashtable<unsigned int, std::pair<unsigned int const, std::shared_ptrcarla::streaming::detail::tcp::Client >, std::allocator<std::pair<unsigned int const, std::shared_ptrcarla::streaming::detail::tcp::Client > >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>)':
test_streaming.cpp:(.text._ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN5carla9streaming6detail3tcp6ClientEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE[_ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN5carla9streaming6detail3tcp6ClientEEESaIS9_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb0ELb0ELb1EEEE13_M_rehash_auxEmSt17integral_constantIbLb1EE]+0xf0): undefined reference to std::__throw_bad_array_new_length()' /usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(server.cc.o): in function __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<rpc::detail::server_session, std::allocatorrpc::detail::server_session, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*)':
server.cc:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceIN3rpc6detail14server_sessionESaIS4_ELNS_12_Lock_policyE2EEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceIN3rpc6detail14server_sessionESaIS4_ELNS_12_Lock_policyE2EEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()' /usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(server.cc.o): in function __gnu_cxx::new_allocator<std::shared_ptrrpc::detail::server_session >::allocate(unsigned long, void const*)':
server.cc:(.text._ZN9__gnu_cxx13new_allocatorISt10shared_ptrIN3rpc6detail14server_sessionEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt10shared_ptrIN3rpc6detail14server_sessionEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()' /usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(server.cc.o): in function __gnu_cxx::new_allocatorstd::thread::allocate(unsigned long, void const*)':
server.cc:(.text._ZN9__gnu_cxx13new_allocatorISt6threadE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt6threadE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()' /usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(server.cc.o): in function __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<rpc::detail::dispatcher, std::allocatorrpc::detail::dispatcher, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*)':
server.cc:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceIN3rpc6detail10dispatcherESaIS4_ELNS_12_Lock_policyE2EEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceIN3rpc6detail10dispatcherESaIS4_ELNS_12_Lock_policyE2EEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()' /usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o):client.cc:(.text._ZN9__gnu_cxx13new_allocatorIN14clmdep_msgpack2v26detail7contextINS2_8unpackerEE12unpack_stack10stack_elemEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorIN14clmdep_msgpack2v26detail7contextINS2_8unpackerEE12unpack_stack10stack_elemEE8allocateEmPKv]+0x47): more undefined references to std::__throw_bad_array_new_length()' follow
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function std::__exception_ptr::exception_ptr::~exception_ptr()': client.cc:(.text._ZNSt15__exception_ptr13exception_ptrD2Ev[_ZNSt15__exception_ptr13exception_ptrD2Ev]+0x23): undefined reference to std::__exception_ptr::exception_ptr::_M_release()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function __gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<unsigned int const, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::promise<clmdep_msgpack::v1::object_handle> > >, false> >::allocate(unsigned long, void const*)': client.cc:(.text._ZN9__gnu_cxx13new_allocatorINSt8__detail10_Hash_nodeISt4pairIKjS3_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt7promiseIN14clmdep_msgpack2v113object_handleEEEELb0EEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorINSt8__detail10_Hash_nodeISt4pairIKjS3_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt7promiseIN14clmdep_msgpack2v113object_handleEEEELb0EEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<std::__future_base::_State_baseV2>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*)': client.cc:(.text._ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS3_ELNS_12_Lock_policyE2EEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS3_ELNS_12_Lock_policyE2EEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function __gnu_cxx::new_allocator<std::__detail::_Hash_node_base*>::allocate(unsigned long, void const*)': client.cc:(.text._ZN9__gnu_cxx13new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorIPNSt8__detail15_Hash_node_baseEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)': client.cc:(.text._ZNSt15__exception_ptr13exception_ptrC2ERKS0_[_ZNSt15__exception_ptr13exception_ptrC2ERKS0_]+0x31): undefined reference to std::__exception_ptr::exception_ptr::_M_addref()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function __gnu_cxx::new_allocator<std::_Sp_counted_deleter<void*, clmdep_asio::detail::socket_ops::noop_deleter, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*)': client.cc:(.text._ZN9__gnu_cxx13new_allocatorISt19_Sp_counted_deleterIPvN11clmdep_asio6detail10socket_ops12noop_deleterESaIvELNS_12_Lock_policyE2EEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt19_Sp_counted_deleterIPvN11clmdep_asio6detail10socket_ops12noop_deleterESaIvELNS_12_Lock_policyE2EEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/rpclib-v2.2.1_c5-c8-libstdcxx-install/lib/librpc.a(client.cc.o): in function __gnu_cxx::new_allocator<clmdep_asio::ip::basic_resolver_entry<clmdep_asio::ip::tcp> >::allocate(unsigned long, void const*)': client.cc:(.text._ZN9__gnu_cxx13new_allocatorIN11clmdep_asio2ip20basic_resolver_entryINS2_3tcpEEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorIN11clmdep_asio2ip20basic_resolver_entryINS2_3tcpEEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib/libgtest.a(gtest-all.cc.o): in function __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned long> > >::allocate(unsigned long, void const*)': gtest-all.cc:(.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib/libgtest.a(gtest-all.cc.o): in function __gnu_cxx::new_allocator<std::_List_node<std::pair<char, char const*> > >::allocate(unsigned long, void const*)': gtest-all.cc:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeISt4pairIcPKcEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorISt10_List_nodeISt4pairIcPKcEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib/libgtest.a(gtest-all.cc.o): in function __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*)': gtest-all.cc:(.text._ZN9__gnu_cxx13new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv]+0x47): undefined reference to std::__throw_bad_array_new_length()'
/usr/bin/ld: /home/xyd-a001/xyd_works/sunbo/projects/carla/Build/gtest-1.8.1-c8-libstdcxx-install/lib/libgtest.a(gtest-all.cc.o):gtest-all.cc:(.text._ZN9__gnu_cxx13new_allocatorIPcE8allocateEmPKv[_ZN9__gnu_cxx13new_allocatorIPcE8allocateEmPKv]+0x47): more undefined references to `std::__throw_bad_array_new_length()' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
make: *** [Util/BuildTools/Linux.mk:124: LibCarla.client.release] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant