|
From: ned . <ne...@ho...> - 2015-09-18 06:31:31
|
I'm having trouble compiling OpenBTS in a Virtual Box machine running Ubuntu 14.04 lts, i would really appreciate any input :
user@ubuntu:~/src/openbts/openbts/trunk$ sudo make
make all-recursive
make[1]: Entering directory `/home/debian/src/openbts/openbts/trunk'
Making all in config
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/config'
Making all in sqlite3
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/sqlite3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/sqlite3'
Making all in CommonLibs
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/CommonLibs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/CommonLibs'
Making all in Globals
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/Globals'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/Globals'
Making all in SR
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/SR'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/SR'
Making all in CLI
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/CLI'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/CLI'
Making all in SIP
svn: E155036: The working copy at '/home/debian/src/openbts'
is too old (format 29) to work with client version '1.8.8 (r1568071)' (expects format 31). You need to upgrade the working copy first.
make[2]: Entering directory `/home/debian/src/openbts/openbts/trunk/SIP'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -D'SVN_REV=""' -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering -I../sqlite3 -I -I -Wall -Wextra -g -O2 -MT SIPEngine.lo -MD -MP -MF .deps/SIPEngine.Tpo -c -o SIPEngine.lo SIPEngine.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"\" -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering -I../sqlite3 -I -I -Wall -Wextra -g -O2 -MT SIPEngine.lo -MD -MP -MF .deps/SIPEngine.Tpo -c SIPEngine.cpp -fPIC -DPIC -o .libs/SIPEngine.o
In file included from ../GSM/GSMLogicalChannel.h:33:0,
from SIPEngine.cpp:35:
../GSM/GSML2LAPDm.h:130:11: warning: unused parameter 'timeout' [-Wunused-parameter]
L3Frame* readHighSide(unsigned timeout=3600000) { assert(0); return NULL; }
^
../GSM/GSML2LAPDm.h:146:11: warning: unused parameter 'format' [-Wunused-parameter]
unsigned N201(GSM::L2Control::ControlFormat format) const { assert(0); }
^
../GSM/GSML2LAPDm.h:154:11: warning: unused parameter 'timeout' [-Wunused-parameter]
L3Frame* readHighSide(unsigned timeout=3600000) { assert(0); return NULL; }
^
SIPEngine.cpp:212:6: warning: unused parameter 'mine' [-Wunused-parameter]
void SIPEngine::saveBYE(const osip_message_t *BYE, bool mine)
^
SIPEngine.cpp:221:6: warning: unused parameter 'mine' [-Wunused-parameter]
void SIPEngine::saveCANCEL(const osip_message_t *CANCEL, bool mine)
^
SIPEngine.cpp:230:6: warning: unused parameter 'mine' [-Wunused-parameter]
void SIPEngine::saveERROR(const osip_message_t *ERROR, bool mine)
^
SIPEngine.cpp: In function 'bool containsResponse(std::vector<unsigned int>*, unsigned int)':
SIPEngine.cpp:891:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < validResponses->size(); i++) {
^
SIPEngine.cpp: In member function 'void SIP::SIPEngine::InitRTP(const osip_message_t*)':
SIPEngine.cpp:1252:59: error: too few arguments to function 'int rtp_session_set_local_addr(RtpSession*, const char*, int, int)'
rtp_session_set_local_addr(mSession, "0.0.0.0", mRTPPort );
^
In file included from /usr/include/ortp/telephonyevents.h:30:0,
from SIPEngine.cpp:28:
/usr/include/ortp/rtpsession.h:291:17: note: declared here
ORTP_PUBLIC int rtp_session_set_local_addr(RtpSession *session,const char *addr, int rtp_port, int rtcp_port);
^
SIPEngine.cpp: In member function 'SIP::SIPState SIP::SIPEngine::inboundHandoverSendINVITE(Control::TransactionEntry*, unsigned int)':
SIPEngine.cpp:1620:60: error: too few arguments to function 'int rtp_session_set_local_addr(RtpSession*, const char*, int, int)'
rtp_session_set_local_addr(mSession, "0.0.0.0", mRTPPort );
^
In file included from /usr/include/ortp/telephonyevents.h:30:0,
from SIPEngine.cpp:28:
/usr/include/ortp/rtpsession.h:291:17: note: declared here
ORTP_PUBLIC int rtp_session_set_local_addr(RtpSession *session,const char *addr, int rtp_port, int rtcp_port);
^
make[2]: *** [SIPEngine.lo] Error 1
make[2]: Leaving directory `/home/debian/src/openbts/openbts/trunk/SIP'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/debian/src/openbts/openbts/trunk'
make: *** [all] Error 2
|