Error compiling ODR-DabMux-2.3.1

Skip to first unread message

Gerard Lokhoff

Aug 28, 2020, 6:41:43 AM8/28/20
to mmbtools

I'm trying to compile ODR-DabMux-2.3.1 for an SFN system with EasyDabv2. However, I'm running into a problem that I cannot seem to get past:

In the make phase I get the message

src/RemoteControl.cpp: In member function \u2018void RemoteControllerTelnet::process(long int)\u2019:
src/RemoteControl.cpp:201:42: error: \u2018boost::asio::ip::tcp::acceptor\u2019 {aka \u2018class boost::asio::basic_socket_acceptor<boost::asio::ip::tcp>\u2019} has no member named \u2018get_io_service\u2019
  201 |                 new tcp::socket(acceptor.get_io_service()));
      |                                          ^~~~~~~~~~~~~~

I guess this is due to using a new library in which the get_io_service procedure is not available anymore.
Any pointer to a solution very much appreciated !

Thanks in advance,

Gerard Lokhoff

Aug 28, 2020, 7:52:20 AM8/28/20
to mmbtools
Well, I may be able to answer my own question after all... a short bright moment made me search for get_io_service without any reference to DabMux, and I found
Indeed, the procedure has been deprecated, and as suggested I changed the call in the source code file RemoteControl.cpp to get_executor() . I am now able to compile and install ODR-DabMux-2.3.1. Next step to see if it actually runs OK  ;o)
Hope this helps anyone running into the same problem.


Op vrijdag 28 augustus 2020 om 12:41:43 UTC+2 schreef Gerard Lokhoff:

Matthias Brändli

Aug 28, 2020, 8:08:08 AM8/28/20
Hi Gerard,

well done, you found the issue!

This was fixed in more recent versions of ODR-DabMux, but I guess you're
on 2.3.1 because of the easydab.

> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
> <>.
> To view this discussion on the web visit
> <>.

Francis Hennessy

Nov 24, 2021, 9:26:04 AM11/24/21
to mmbtools
Hi Gerard,
have you an amended copy of dabmux v2,3.1 it would be much appreciated.
Regard Francis ,
Reply all
Reply to author
0 new messages