|
From: Michael I. <mic...@ra...> - 2016-07-07 20:10:24
|
I pushed quite a few fixes to the components last night to make sure they work on 16.04. Give the new-new asterisk a shot and let me know. With the last group of changes, I’ve been able to repeatedly build everything from scratch, install and register+call+text on an N210. $ cd dev $ git pull $ ./pull.sh $ ./switchto.sh master $ ./build.sh your-radio Or try a completely fresh clone to be sure... > On Jul 6, 2016, at 3:37 PM, Ralph A. Schmid, dk5ras <ra...@sc...> wrote: > > I also commented out the five lines to check for UHD, as I already have UHD on my system - then compiling everything went fine. OpenBTS runs, just the new asterisk does not work, no calls are possible. When I install all but the newly compiled asterisk and keep using the asteirsk from December of 2015, OpenBTS is fully functional. > > Ralph. > > From: Rene Groothuis [mailto:RGr...@ir...] > Sent: Wednesday, July 6, 2016 10:13 AM > To: ope...@li... > Subject: [Openbts-discuss] OpenBTS 5.0 (latest version) compiler problems on Ubuntu Desktop 14.04 > > Hi All, > > I started from scratch again to install OpenBTS on a Parallels Virtual Machine environment. Below the steps I followed and the problems I found. I was not able to compile the complete code. Any help would be appreciated. > > Thanks. > > Cheers, Rene > > ========================= > > For the installation if OpentBTS the following guidelines are used: http://openbts.org/w/index.php?title=BuildInstallRun > > Steps to install the latest version of OpentBTS on Ubuntu Desktop 14.04; > > • Install Ubuntu ubuntu-14.04.4-desktop-i386.iso on a Parallels VM. > • sudo apt-get update > • sudo apt-get upgrade > • sudo apt-get install software-properties-common python-software-properties > • sudo apt-get update > • > • sudo apt-get install git > • mkdir openbts > • cd openbts > • git clone https://github.com/RangeNetworks/dev.git > • checked gut version. > • cd dev > • sudo apt-get install autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev > • ./switchto.sh master > • There is no a53/trunk directory so this couldn’t be installed. > • sudo ./build.sh N210 > > Building the code gave me the following error situation: > >> Processing triggers for libc-bin (2.19-0ubuntu6.9) ... >> dpkg-query: package 'libzmq5' is not installed and no information is available >> Use dpkg --info (= dpkg-deb --info) to examine archive files, >> and dpkg --contents (= dpkg-deb --contents) to list their contents. >> # - missing libzmq5, installing dependency >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: Unable to locate package libzmq5 >> # - ERROR : libzmq5 package was unable to be installed >> openbts@ubuntu:~/openbts/dev$ > > 17. In build.sh changed the line “installIfMissing libzmq5” into “installIfMissing libzmq3” because the version 3 library is installed on the system. I passed the error situation above and the compiling went ahead. > 18. Then I ran into the following error situation and it stopped compiling. > >> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -D'REPO_REV="b4c16be0e5 CommonLibs:11d8baa826"' -I../apps -I../CommonLibs -I../Control -I../GSM -I../GSMShare -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../Peering -I../NodeManager -I../NodeManager/JsonBox-0.4.3/include -I../Scanning -g -O2 -Wall -pthread -ldl -rdynamic -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'` -MT UHDDevice.lo -MD -MP -MF .deps/UHDDevice.Tpo -c -o UHDDevice.lo UHDDevice.cpp >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. "-DREPO_REV=\"b4c16be0e5 CommonLibs:11d8baa826\"" -I../apps -I../CommonLibs -I../Control -I../GSM -I../GSMShare -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../Peering -I../NodeManager -I../NodeManager/JsonBox-0.4.3/include -I../Scanning -g -O2 -Wall -pthread -ldl -rdynamic -DTIMESTAMP_ISO=\"2016-07-06T09:23:38\" -MT UHDDevice.lo -MD -MP -MF .deps/UHDDevice.Tpo -c UHDDevice.cpp -fPIC -DPIC -o .libs/UHDDevice.o >> In file included from /usr/include/uhd/version.hpp:21:0, >> from UHDDevice.cpp:25: >> /usr/include/uhd/config.hpp:21:28: fatal error: boost/config.hpp: No such file or directory >> #include <boost/config.hpp> >> ^ >> compilation terminated. >> make[3]: *** [UHDDevice.lo] Error 1 >> make[3]: Leaving directory `/home/openbts/openbts/dev/openbts/Transceiver52M' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/openbts/openbts/dev/openbts' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/openbts/openbts/dev/openbts' >> make: *** [install-arch] Error 2 >> dpkg-buildpackage: error: debian/rules binary gave error exit status 2 >> # ERROR: command failed! >> openbts@ubuntu:~/openbts/dev$ > > 19. sudo apt-get update > 20. sudo apt-get install libuhd-dev > >> Fetched 3,109 kB in 9s (320 kB/s) >> Reading package lists... Done >> openbts@ubuntu:~/openbts/dev$ sudo apt-get install libuhd-dev >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libuhd-dev is already the newest version. >> The following packages were automatically installed and are no longer required: >> libntdb1 python-ntdb >> Use 'apt-get autoremove' to remove them. >> 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. >> openbts@ubuntu:~/openbts/dev$ > > 21. sudo ./pull.sh > > All packages are up to date > > 22. sudo ./build.sh N210 > > and still I got the same error situation. This is logical as nothing has changed between this build and the previous one. > >> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -D'REPO_REV="b4c16be0e5 CommonLibs:11d8baa826"' -I../apps -I../CommonLibs -I../Control -I../GSM -I../GSMShare -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../Peering -I../NodeManager -I../NodeManager/JsonBox-0.4.3/include -I../Scanning -g -O2 -Wall -pthread -ldl -rdynamic -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'` -MT UHDDevice.lo -MD -MP -MF .deps/UHDDevice.Tpo -c -o UHDDevice.lo UHDDevice.cpp >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. "-DREPO_REV=\"b4c16be0e5 CommonLibs:11d8baa826\"" -I../apps -I../CommonLibs -I../Control -I../GSM -I../GSMShare -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../Peering -I../NodeManager -I../NodeManager/JsonBox-0.4.3/include -I../Scanning -g -O2 -Wall -pthread -ldl -rdynamic -DTIMESTAMP_ISO=\"2016-07-06T10:07:12\" -MT UHDDevice.lo -MD -MP -MF .deps/UHDDevice.Tpo -c UHDDevice.cpp -fPIC -DPIC -o .libs/UHDDevice.o >> In file included from /usr/include/uhd/version.hpp:21:0, >> from UHDDevice.cpp:25: >> /usr/include/uhd/config.hpp:21:28: fatal error: boost/config.hpp: No such file or directory >> #include <boost/config.hpp> >> ^ >> compilation terminated. >> make[3]: *** [UHDDevice.lo] Error 1 >> make[3]: Leaving directory `/home/openbts/openbts/dev/openbts/Transceiver52M' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/openbts/openbts/dev/openbts' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/openbts/openbts/dev/openbts' >> make: *** [install-arch] Error 2 >> dpkg-buildpackage: error: debian/rules binary gave error exit status 2 >> # ERROR: command failed! >> openbts@ubuntu:~/openbts/dev$ > > > How to resolve from this error message? > > Cheers, Rene > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape_______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss |