Author Topic: Can't build yatebts. Error at make  (Read 10794 times)

creator4983

  • Newbie
  • *
  • Posts: 10
    • View Profile
Can't build yatebts. Error at make
« on: January 22, 2018, 07:17:57 AM »
Hello all, just registered because i'm having problems regarding yatebts building under linux, and connot find the solution on the net. I compile and build yate with no problems, but when going to do the same with yate-bts, after configure i get the following error:
Makefile:122: recipe for target 'MSInfo.o' failed
make[2]: *** [MSInfo.o] Error 1
make[2]: Leaving directory '/root/yate-bts/mbts/GPRS'
Makefile:140: recipe for target '../GPRS/libGPRS.a' failed
make[1]: *** [../GPRS/libGPRS.a] Error 2
make[1]: Leaving directory '/root/yate-bts/mbts/apps'
Makefile:53: recipe for target 'all' failed
make: *** [all] Error 2

I have tried several times and on another installations and i get the same error. All dependencies needed are installed as the wiki and docs say. Anyone encountered this error and solved it?.
Thanks in advance!!!!

creator4983

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Can't build yatebts. Error at make
« Reply #1 on: January 24, 2018, 07:39:10 AM »
Anyone knows what the MSinfo.o file is for?. I can't finda any reference on the source and think it could be a Microsoft related file, but this is on linux?????. Anyone with this problem while building?

Ioana Stanciu

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Can't build yatebts. Error at make
« Reply #2 on: January 25, 2018, 02:58:22 AM »
Hi,

This is an issues that happens when you try to compile YateBTS with gcc-6.

Please see: http://yate.null.ro/mantis/view.php?id=416 , where a patch that should solve this compilation error is provided.
Apply the patch and then retry recompiling.

And MSInfo is a file that contains classes that keep information about a MS (Mobile Station). It's not related with Microsoft.

creator4983

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Can't build yatebts. Error at make
« Reply #3 on: January 29, 2018, 01:36:45 PM »
Thanks for the reply. I managed to patch the files needed and now it builds without problem. Now the problem i'm facing is that whoever the reason, yatebts doesn't find my bladerf when trying to start it using yate -s.
The error i'm getting is:

Starting MBTS...
2018-01-29_14:15:13.011142 <gsmtrx:GOON> Failed to create radio interface: Message not handled
ALERT 140619497412416 14:15:13.0 TRXManager.cpp:135:sendCommand: RESET failed with status 2
2018-01-29_14:15:13.011269 <mbts:WARN> TRXManager.cpp:135:sendCommand: RESET failed with status 2
ALERT 140619497412416 14:15:13.0 OpenBTS.cpp:250:main: Failed to reset transceiver
2018-01-29_14:15:13.011440 <mbts:WARN> OpenBTS.cpp:250:main: Failed to reset transceiver

Ioana Stanciu

  • Jr. Member
  • **
  • Posts: 79
    • View Profile

creator4983

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Can't build yatebts. Error at make
« Reply #5 on: January 30, 2018, 10:35:41 AM »
Thanks for the info. i managed to get it up and running with that post. Seems that libusb is the culprit in my case. Need to be installed when building.