|
From: Scott B. <sco...@at...> - 2015-03-07 05:31:14
|
All, I'm having two different problems today... First issue: I decided to give OpenBTS 5.0 a try... and I'm stuck on getting it all built/compiled. When I run "sudo ./build.sh B100 openbts," It runs OK until it gets to this point. What can I do to fix this? USRPping.cpp: In function ‘int main(int, char**)’: USRPping.cpp:84:19: warning: unused variable ‘wordPtr’ [-Wunused-variable] USRPping.cpp:60:9: warning: unused variable ‘data’ [-Wunused-variable] mv -f .deps/USRPping.Tpo .deps/USRPping.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -pthread -ldl -rdynamic -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'` -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o USRPping USRPping.o libtransceiver.la ../CommonLibs/libcommon.la -luhd -la53 -lzmq libtool: link: g++ -g -O2 -Wall -pthread -rdynamic -DTIMESTAMP_ISO=\"2015-03-06T19:55:31\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o USRPping USRPping.o ./.libs/libtransceiver.a ../CommonLibs/.libs/libcommon.a -ldl /usr/lib/i386-linux-gnu/libsqlite3.so -luhd -la53 -lzmq -pthread /usr/bin/ld: warning: libboost_date_time.so.1.46.1, needed by /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libboost_filesystem.so.1.46.1, needed by /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libboost_regex.so.1.46.1, needed by /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libboost_system.so.1.46.1, needed by /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libboost_thread.so.1.46.1, needed by /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::detail::get_current_thread_data()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::detail::system_complete(boost::filesystem3::path const&, boost::system::error_code*)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::this_thread::disable_interruption::disable_interruption()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::this_thread::interruption_point()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::thread::interrupt()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::get_mem_block()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::system::system_category()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `vtable for boost::detail::thread_data_base' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::put_mem_block(void*)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::detail::thread_data_base::~thread_data_base()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::thread::join()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::raise_runtime_error(std::runtime_error const&)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::gregorian::greg_month::as_short_string() const' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::this_thread::interruption_requested()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::thread::~thread()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::path::filename() const' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::match_results<char const*, std::allocator<boost::sub_match<char const*> > >::maybe_assign(boost::match_results<char const*, std::allocator<boost::sub_match<char const*> > > const&)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::filesystem3::path::parent_path() const' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `typeinfo for boost::detail::thread_data_base' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::thread::start_thread()' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libuhd.so: undefined reference to `boost::system::generic_category()' collect2: ld returned 1 exit status make[3]: *** [USRPping] Error 1 make[3]: Leaving directory `/home/bts-00001/dev/openbts/Transceiver52M' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/bts-00001/dev/openbts' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/bts-00001/dev/openbts' make: *** [install-arch] Error 2 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 # ERROR: command failed! Second issue: On my OpenBTS 4.0 machine, I changed the C7's value (from 0 to 1) trying to increase the amount of availability for SMS and GPRS, but now OpenBTS won't start, it crashes before I can do anything. How can I manually edit the configuration database to fix it? Thanks all. R/ Scott |