nuand / yatebts Goto Github PK
View Code? Open in Web Editor NEWYateBTS
YateBTS
Please join and help to fix configuration script, see the following discussion:
https://bugs.gentoo.org/show_bug.cgi?id=606598
Cheers
Failed to execute the make command on the raspberryPi 4 Model B
make -C ../libs/miniwebrtc
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c constants.c
make[2]: Entering directory '/usr/src/yate/libs/miniwebrtc'
g++ -Wall -I. -I./audio/common/processing -I./audio/common/vad -I./audio/processing/aec -I./audio/processing/aecm -I./audio/processing/agc -I./audio/processing/ns -I./audio/processing/utility -I./system_wrappers -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -DWEBRTC_NS_FLOAT=true -c -o audio/common/resampler/resampler.o audio/common/resampler/resampler.cc
In file included from ./audio/common/processing/signal_processing_library.h:22,
from audio/common/resampler/resampler.cc:19:
./typedefs.h:104:2: error: #error Please add support for your architecture in typedefs.h
104 | #error Please add support for your architecture in typedefs.h
| ^~~~~
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c gainquant.c
gcc -Wall -I. -I./audio/common/processing -I./audio/common/vad -I./audio/processing/aec -I./audio/processing/aecm -I./audio/processing/agc -I./audio/processing/ns -I./audio/processing/utility -I./system_wrappers -O2 -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -DWEBRTC_NS_FLOAT=true -c -o audio/common/processing/auto_correlation.o audio/common/processing/auto_correlation.c
In file included from audio/common/processing/signal_processing_library.h:22,
from audio/common/processing/auto_correlation.c:18:
./typedefs.h:104:2: error: #error Please add support for your architecture in typedefs.h
104 | #error Please add support for your architecture in typedefs.h
| ^~~~~
make[2]: *** [Makefile:260: audio/common/processing/auto_correlation.o] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -Wall -I.. -I.. -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -rdynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -Wl,--retain-symbols-file,/dev/null -o zlibcompress.yate -I/usr/include zlibcompress.cpp -L.. -lyate -lz
make[2]: *** [Makefile:263: audio/common/resampler/resampler.o] Error 1
make[2]: Leaving directory '/usr/src/yate/libs/miniwebrtc'
make[1]: *** [Makefile:448: ../libs/miniwebrtc/libminiwebrtc.a] Error 2
make[1]: *** Waiting for unfinished jobs....
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c layer4.cpp
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c iLBC_decode.c
iLBC_decode.c: In function ‘iLBC_decode’:
iLBC_decode.c:325:9: warning: variable ‘check’ set but not used [-Wunused-but-set-variable]
325 | int check;
| ^~~~~
In function ‘Decode’,
inlined from ‘iLBC_decode’ at iLBC_decode.c:483:13:
iLBC_decode.c:244:13: warning: ‘memcpy’ accessing 428 bytes at offsets 0 and 160 overlaps 268 bytes at offset 160 [-Wrestrict]
244 | memcpy(mem, mem+SUBL, (CB_MEML-SUBL)*sizeof(float));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iLBC_decode.c:289:13: warning: ‘memcpy’ accessing 428 bytes at offsets 0 and 160 overlaps 268 bytes at offset 160 [-Wrestrict]
289 | memcpy(mem, mem+SUBL, (CB_MEML-SUBL)*sizeof(float));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c StateConstructW.c
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c router.cpp
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c createCB.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c getCBvec.c
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c sccp.cpp
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c iLBC_encode.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c StateSearchW.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c doCPLC.c
iLBC_encode.c: In function ‘iLBC_encode’:
iLBC_encode.c:297:13: warning: ‘memcpy’ accessing 428 bytes at offsets 0 and 160 overlaps 268 bytes at offset 160 [-Wrestrict]
297 | memcpy(mem, mem+SUBL, (CB_MEML-SUBL)*sizeof(float));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iLBC_encode.c:367:13: warning: ‘memcpy’ accessing 428 bytes at offsets 0 and 160 overlaps 268 bytes at offset 160 [-Wrestrict]
367 | memcpy(mem, mem+SUBL, (CB_MEML-SUBL)*sizeof(float));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c helpfun.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c syntFilter.c
helpfun.c: In function ‘LSF_check’:
helpfun.c:264:11: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
264 | float tmp;
| ^~~
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c enhancer.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c hpInput.c
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c tcap.cpp
sccp.cpp: In member function ‘void TelEngine::SS7SCCP::printStatus(bool)’:
sccp.cpp:4449:12: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘u_int64_t’ {aka ‘long unsigned int’} [-Wformat=]
4449 | Output("SCCP '%s' [%p] Time: " FMT64 " Status:%s",debugName(),this,Time::msecNow(),dest.c_str());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
| |
| u_int64_t {aka long unsigned int}
In file included from yatesig.h:25,
from sccp.cpp:22:
../../yateclass.h:161:19: note: format string is defined here
161 | #define FMT64 "%lld"
| ~~~^
| |
| long long int
| %ld
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c LPCdecode.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c filter.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c hpOutput.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c LPCencode.c
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c FrameClassify.c
LPCencode.c: In function ‘LPCencode’:
LPCencode.c:217:9: warning: variable ‘change’ set but not used [-Wunused-but-set-variable]
217 | int change=0;
| ^~~~~~
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c iCBConstruct.c
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c dumper.cpp
gcc -Wall -I../.. -O2 -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c lsf.c
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c management.cpp
ar rcs libilbc.a anaFilter.o iCBSearch.o packing.o constants.o gainquant.o iLBC_decode.o StateConstructW.o createCB.o getCBvec.o iLBC_encode.o StateSearchW.o doCPLC.o helpfun.o syntFilter.o enhancer.o hpInput.o LPCdecode.o filter.o hpOutput.o LPCencode.o FrameClassify.o iCBConstruct.o lsf.o
make[2]: Leaving directory '/usr/src/yate/libs/ilbc'
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c isup.cpp
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c tup.cpp
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c testpart.cpp
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c q921.cpp
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -c q931.cpp
q931.cpp: In member function ‘virtual void TelEngine::ISDNQ931::timerTick(const TelEngine::Time&)’:
q931.cpp:2921:27: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘u_int64_t’ {aka ‘long unsigned int’} [-Wformat=]
2921 | Debug(this,DebugWarn,"Layer 2 was down for " FMT64 " ms",m_l2DownTimer.interval());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| u_int64_t {aka long unsigned int}
In file included from yatesig.h:25,
from q931.cpp:22:
../../yateclass.h:161:19: note: format string is defined here
161 | #define FMT64 "%lld"
| ~~~^
| |
| long long int
| %ld
ar rcs libyatesig.a engine.o address.o sigcall.o sigtran.o interface.o layer2.o layer3.o layer4.o router.o sccp.o tcap.o dumper.o management.o isup.o tup.o testpart.o q921.o q931.o
g++ -Wall -o ../../libyatesig.so.6.2.1 -shared -Wl,-soname=libyatesig.so.6.2.1 engine.o address.o sigcall.o sigtran.o interface.o layer2.o layer3.o layer4.o router.o sccp.o tcap.o dumper.o management.o isup.o tup.o testpart.o q921.o q931.o -L../.. -lyateasn -lyate
g++ -Wall -I../.. -I../.. -I. -I../../libs/yasn -O2 -Wno-overloaded-virtual -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -o yate-ss7test main-ss7test.cpp -lpthread -L. -lyatesig -L../.. -lyateasn -lyate
cd ../.. && ln -sf libyatesig.so.6.2.1 libyatesig.so
make[2]: Leaving directory '/usr/src/yate/libs/ysig'
make[1]: Leaving directory '/usr/src/yate/modules'
make: *** [Makefile:186: modules] Error 2
Its confusing because of bitrot.. ;)
All current relevant code is in the YateBTS upstream trunk as I am sure you are aware.
Kind Regards,
Edward.
i use bladeRF x115 and i compile the last version of bladeRF on my ubuntu 14.04 32bit, and i using
YateBTS 5.0
Yate 5.5.1 devel1
usb 2.0
bladeRF-cli --version
1.4.0-git-3734f5c
libbladeRF version: 1.7.2-2016.06-1-ppatrusty
Firmware version: 2.0.0
FPGA version: 0.1.2
when i start yate -s
i get the following :
Release 5.0.1 formal build date Jul 22 2016 rev586
Starting MBTS...
Yate engine is initialized and starting up on ubuntu
RTNETLINK answers: File exists
MBTS ready
2016-07-22_14:25:39.745912 <bladerf/1:WARN> RX: timestamp jumped by 2282 to 10836125 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.748106 <bladerf/1:WARN> RX: timestamp jumped by 2242 to 10840423 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.750183 <bladerf/1:WARN> RX: timestamp jumped by 2303 to 10844681 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.752104 <bladerf/1:WARN> RX: timestamp jumped by 2312 to 10849000 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.754067 <bladerf/1:WARN> RX: timestamp jumped by 2318 to 10853328 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.755958 <bladerf/1:WARN> RX: timestamp jumped by 2175 to 10857662 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.757984 <bladerf/1:WARN> RX: timestamp jumped by 2382 to 10861853 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.760025 <bladerf/1:WARN> RX: timestamp jumped by 2223 to 10866251 in buffer 6/8 [0xb58008c0]
2016-07-22_14:25:39.762034 <bladerf/1:WARN> RX: timestamp jumped by 2306 to 10870490 in buffer 6/8 [0xb58008c0]
and can't see my bts and some time when i see my bts i can't registered to it
Trying to build YateBTS on Ubuntu, getting the following errors:
Makefile:122: recipe for target 'MSInfo.o' failed make[2]: *** [MSInfo.o] Error 1 make[2]: Leaving directory '/home/lab/dev/sdr/yatebts/mbts/GPRS' Makefile:140: recipe for target '../GPRS/libGPRS.a' failed make[1]: *** [../GPRS/libGPRS.a] Error 2 make[1]: Leaving directory '/home/lab/dev/sdr/yatebts/mbts/apps' Makefile:53: recipe for target 'all' failed make: *** [all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.