Difference between revisions of "OpenBTS: Ubuntu Install"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 40: | Line 40: | ||
Compile smqueue | Compile smqueue | ||
+ | |||
+ | vi /usr/local/src/openbts-2.6.0Mamou/smqueue/Makefile.standalone | ||
+ | |||
+ | g++ -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS) | ||
+ | menjadi | ||
+ | g++-4.4 -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS) | ||
+ | |||
cd /usr/local/src/openbts-2.6.0Mamou/smqueue/ | cd /usr/local/src/openbts-2.6.0Mamou/smqueue/ |
Revision as of 06:58, 6 February 2011
- Compile dan Install GNURadio. Tanpa GNURadio terinstall maka OpenBTS tidak mungkin di instalasi.
Instalasi paket / library pendukung tambahan
apt-get install libortp8 libortp-dev
Untuk bisa mengcompile SMS queue tampaknya osip dari Ubuntu tidak bisa di gunakan kita harus compile dari scratch
apt-get remove --purge libosip2-4 libosip2-dev
Install osip
Download osip dari http://ftp.gnu.org/gnu/osip/ tepatnya http://ftp.gnu.org/gnu/osip/libosip2-3.5.0.tar.gz
cp libosip2-3.5.0.tar.gz /usr/local/src cd /usr/local/src tar zxvf libosip2-3.5.0.tar.gz mkdir linux-build cd /usr/local/src/linux-build/ ../libosip2-3.5.0/configure make make install
Download source code dari
http://www.openbts.org http://sourceforge.net/projects/openbts/
Lakukan
cp openbts-2.6.0Mamou.tar.gz /usr/local/src/ cd /usr/local/src/ tar zxvf openbts-2.6.0Mamou.tar.gz cd /usr/local/src/openbts-2.6.0Mamou/ ./configure make make all make install
Compile smqueue
vi /usr/local/src/openbts-2.6.0Mamou/smqueue/Makefile.standalone
g++ -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)
menjadi
g++-4.4 -o smqueue $(CPPFLAGS) $(INCLUDES) smqueue.cpp smnet.cpp smcommands.cpp ../HLR/HLR.cpp $(LIBS)
cd /usr/local/src/openbts-2.6.0Mamou/smqueue/ make -f Makefile.standalone
masih ada error
smnet.cpp:423: error: invalid conversion from ‘const char*’ to ‘char*’ make: *** [smqueue] Error 1
Instalasi OpenBTS Selesai :)