Error compiling ODR-DabMux-2.3.1

119 views
Skip to first unread message

Gerard Lokhoff

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

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

Gerard Lokhoff

unread,
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 https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/basic_stream_socket/get_io_service.html
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.

Gerard

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

Matthias Brändli

unread,
Aug 28, 2020, 8:08:08 AM8/28/20
to crc-mm...@googlegroups.com
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.

mpb
> --
> 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 crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/crc-mmbtools/1178bc35-fea4-4def-b850-bfc074516f16n%40googlegroups.com
> <https://groups.google.com/d/msgid/crc-mmbtools/1178bc35-fea4-4def-b850-bfc074516f16n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Francis Hennessy

unread,
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
Forward
0 new messages