Stretch uses a new version of zeromq / czmq which is backwardly incompatible with previous versions

The answer is to compile your own libs of a lower version number for now.

There is an issue thread on this at
https://github.com/machinekit/machinekit/issues/1228

The problem with porting Machinekit to the new API, is that this would instantly kill Wheezy and Jessie builds,
unless we can backport the new lib.
As the old libs work perfectly well, that may not happen for a while.

All the other compiler errors have already been fixed and incorporated in the Machinekit code


On 14/07/17 16:20, [email protected] wrote:
Hi All

I am trying to build machinekit from source on an Intel D525 with Debian Stretch kernal 4.09

I get the following error from make

Compiling machinetalk/lib/mk_service.cc
In file included from machinetalk/lib/mk_service.cc:9:0:
machinetalk/include/mk-service.hh:19:5: error: ‘zctx_t’ does not name a type
     zctx_t        *z_context;
     ^~~~~~
machinetalk/lib/mk_service.cc: In function ‘int bind_ifs(mk_socket_t*, const argvec_t&)’:
machinetalk/lib/mk_service.cc:111:53: error: ‘zsocket_bind’ was not declared in this scope
  s->port = zsocket_bind(s->socket, "%s", uri.c_str());
                                                     ^
machinetalk/lib/mk_service.cc: In function ‘int mk_bindsocket(mk_netopts_t*, mk_socket_t*)’:
machinetalk/lib/mk_service.cc:156:33: error: ‘zsocket_set_ipv6’ was not declared in this scope
   zsocket_set_ipv6 (s->socket, 1);
                                 ^
In file included from /usr/include/boost/assert.hpp:58:0,
                 from /usr/include/boost/math/special_functions/detail/fp_traits.hpp:25,
                 from /usr/include/boost/math/special_functions/sign.hpp:18,
                 from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
                 from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
                 from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
                 from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
                 from /usr/include/boost/lexical_cast.hpp:32,
                 from machinetalk/lib/mk_service.cc:19:
machinetalk/lib/mk_service.cc:157:34: error: ‘zsocket_ipv6’ was not declared in this scope
   assert (zsocket_ipv6 (s->socket) == 1);
                                  ^
machinetalk/lib/mk_service.cc:169:45: error: ‘zsocket_bind’ was not declared in this scope
  s->port = zsocket_bind(s->socket, "%s", buf);
                                             ^
Makefile:437: recipe for target 'objects/machinetalk/lib/mk_service.o' failed
make: *** [objects/machinetalk/lib/mk_service.o] Error 1
make: Leaving directory '/home/linux/machinekit/src'

any help would be appreciated
med
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to