unitsync fails to load

unitsync fails to load

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

unitsync fails to load

Post by 1467 »

im am using slackware 13.1
when i start springlobby
i get a small window saying
springlobby is unable to load your unitSync library
you might want to take a another look at your Unitsync settings
so i ran the find command "find / -iname "*Unitsync*""
/home/nathaniel/.spring/unitsync.log
find: `/mnt/dvd': Input/output error
/root/.spring/unitsync.log
find: `/proc/20005/net': Invalid argument
/usr/lib64/libunitsync.so
and i checked to see that settings has it set to /usr/lib64/libunitsync.so and it is so what do i do now ?

i says i am using 0.116
Last edited by 1467 on 30 Jan 2011, 02:10, edited 1 time in total.
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

ok so i installed version 0.120 but i still get that message
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: unitsync fails to load

Post by hoijui »

what spring version do you have? is unitsync.log a recent one? if so, attach it as a file to your post please.
make sure that the user with which you run the lobby has rights to load/run the library.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: unitsync fails to load

Post by koshi »

this was kindof resolved last night on lobby. He somehow managed to install a 64bit engine package (on slackware) whereas his self compiled SL was 32...
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: unitsync fails to load

Post by hoijui »

ahhh k.... strange!
thanks :-)
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

yea ty for the help but i am getting some errors when i try to compile from source
"cmake ."

Code: Select all

-- Building Spring for 32bit environment
-- Found AI Wrapper: Cpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-AIWrapper
-- Found AI Wrapper: LegacyCpp-Creg-AIWrapper
-- Found AI Wrapper: CUtils (sources only wrapper)
-- Found AI Interface: C-AIInterface 0.1
-- Found AI Interface: Python-AIInterface 0.1
-- Found Skirmish AI: NullPythonAI 0.1
-- Could NOT find JNI  (missing:  JAVA_AWT_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
warning: No Java includes found!
warning: Java AI Interface will not be built!
warning: NullJavaAI Skirmish AI will not be built!
-- Found Skirmish AI: AAI 0.9
-- Found Skirmish AI: KAIK 0.13
-- Found Skirmish AI: NullAI 0.1
warning: HughAI Skirmish AI will not be built!
-- Found Skirmish AI: E323AI 3.25.0
-- Found Skirmish AI: RAI 0.601
-- Found Skirmish AI: CppTestAI 0.1
warning: NullOOJavaAI Skirmish AI will not be built!
-- Could NOT find DocBook  (missing:  DOCBOOK_XSL)
-- MAN pages will not be generated/installed; missing utilit(y|ies): docbook-xsl
-- Found OpenAL: /usr/lib/libopenal.so
-- Found Freetype: -lfreetype -lz
-- Found Freetype: -lfreetype -lz
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/spring_0.82.7.1
then when i run "make" it gets to 44% then barfs

Code: Select all

ar, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
/tmp/SBo/spring_0.82.7.1/rts/System/Platform/BaseCmd.cpp:16: undefined reference to `boost::program_options::options_description::m_default_line_length'
/tmp/SBo/spring_0.82.7.1/rts/System/Platform/BaseCmd.cpp:16: undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)'
CMakeFiles/engine-default.dir/__/__/System/Platform/BaseCmd.cpp.o: In function `get_single_string<char>':
/usr/include/boost/program_options/detail/value_semantic.hpp:58: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/include/boost/program_options/detail/value_semantic.hpp:62: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/engine-default.dir/__/__/System/Input/InputHandler.cpp.o: In function `signal1':
/usr/include/boost/signals/signal_template.hpp:197: undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group> const&, boost::any const&)'
/usr/include/boost/signals/signal_template.hpp:197: undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group> const&, boost::any const&)'
../../System/Sound/libsound.a(Sound.cpp.o): In function `boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::~thread_data()':
Sound.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1Iv6CSoundiEENS2_5list2INS2_5valueIPS6_EENS9_IiEEEEEEED0Ev[boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::~thread_data()]+0x14): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
../../System/Sound/libsound.a(Sound.cpp.o): In function `boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::~thread_data()':
Sound.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1Iv6CSoundiEENS2_5list2INS2_5valueIPS6_EENS9_IiEEEEEEED1Ev[boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >::~thread_data()]+0x14): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
../../System/Sound/libsound.a(Sound.cpp.o): In function `boost::thread::thread<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type)':
Sound.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvNS_4_mfi3mf1Iv6CSoundiEENS2_5list2INS2_5valueIPS6_EENS9_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSF_NS_6detail13thread_move_tISF_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type)]+0x5a): undefined reference to `vtable for boost::detail::thread_data_base'
Sound.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvNS_4_mfi3mf1Iv6CSoundiEENS2_5list2INS2_5valueIPS6_EENS9_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSF_NS_6detail13thread_move_tISF_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type)]+0x1b3): undefined reference to `boost::thread::start_thread()'
../../System/Sound/libsound.a(Sound.cpp.o): In function `void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> const&)':
Sound.cpp:(.text._ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELx1000EEEEEvRKT_[void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> const&)]+0x5de): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
../../System/Sound/libsound.a(Sound.cpp.o):(.rodata._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1Iv6CSoundiEENS2_5list2INS2_5valueIPS6_EENS9_IiEEEEEEEE[typeinfo for boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CSound, int>, boost::_bi::list2<boost::_bi::value<CSound*>, boost::_bi::value<int> > > >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
collect2: ld returned 1 exit status
make[2]: *** [spring] Error 1
make[1]: *** [rts/builds/default/CMakeFiles/engine-default.dir/all] Error 2
make: *** [all] Error 2
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

i went back to the wiki to see if i downloaded the 64bit by mistake http://springrts.com/wiki/Slackware12_install
but if you look the 64 bit link and the 32bit both link to the same file "spring-0.82.6.1-x86_64-1_SBo.tgz"
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

after i get it all working i will try to go back to the wiki and up date it to the best of my ability
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

they have a slackbuild at http://slackbuilds.org/repository/13.1/games/spring/ but its for the 0.82.6.1 version i will try to up date it
1467
Posts: 10
Joined: 30 Jan 2011, 00:33

Re: unitsync fails to load

Post by 1467 »

k fixed it i removed my installed boost and reinstalled it woot! how do i mark this as solved ?
Post Reply

Return to “Linux”