Finally I solve boost::python issue by re-set up SD.
But I meet another problem when start to compile source code, it seems relate to libwebsockets.
ln -sf libmtalk.so.0 ../lib/libmtalk.so
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Linking encdec
Compiling machinetalk/support/position.cc
Linking position
Compiling machinetalk/support/unionread.c
machinetalk/support/unionread.c: In function ‘print_container’:
machinetalk/support/unionread.c:41:10: warning: unused variable ‘eof’ [-Wunused-variable]
bool eof;
^
Linking unionread
Compiling machinetalk/support/npbdecode.c
Linking npbdecode
cp machinetalk/include/container.h ../include/container.h
Compiling machinetalk/support/linmove.cc
Linking linmove
cp machinetalk/include/bin2ascii.hh ../include/bin2ascii.hh
cp machinetalk/include/czmq-watch.h ../include/czmq-watch.h
cp machinetalk/include/halpb.hh ../include/halpb.hh
cp machinetalk/include/inihelp.hh ../include/inihelp.hh
cp machinetalk/include/json2pb.hh ../include/json2pb.hh
cp machinetalk/include/ll-zeroconf.hh ../include/ll-zeroconf.hh
cp machinetalk/include/mk-zeroconf-types.h ../include/mk-zeroconf-types.h
cp machinetalk/include/mk-zeroconf.hh ../include/mk-zeroconf.hh
cp machinetalk/include/pb-linuxcnc.h ../include/pb-linuxcnc.h
cp machinetalk/include/pbutil.hh ../include/pbutil.hh
cp machinetalk/include/select_interface.h ../include/select_interface.h
cp machinetalk/include/setup_signals.h ../include/setup_signals.h
cp machinetalk/include/mk-backtrace.h ../include/mk-backtrace.h
cp machinetalk/include/syslog_async.h ../include/syslog_async.h
Compiling machinetalk/webtalk/webtalk_zeroconf.cc
Compiling machinetalk/webtalk/webtalk_wsproxy.cc
machinetalk/webtalk/webtalk_wsproxy.cc: In function ‘int serve_http(libwebsocket_context*, wtself_t*, libwebsocket*, void*, size_t)’:
machinetalk/webtalk/webtalk_wsproxy.cc:182:66: error: too many arguments to function ‘int libwebsockets_serve_http_file(libwebsocket_context*, libwebsocket*, const char*, const char*)’
if (libwebsockets_serve_http_file(context, wsi, buf, mt, NULL))
^
In file included from machinetalk/webtalk/webtalk.hh:37:0,
from machinetalk/webtalk/webtalk_wsproxy.cc:13:
/usr/include/libwebsockets.h:861:1: note: declared here
libwebsockets_serve_http_file(struct libwebsocket_context *context,
^
machinetalk/webtalk/webtalk_wsproxy.cc: In function ‘int callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)’:
machinetalk/webtalk/webtalk_wsproxy.cc:245:62: error: ‘WSI_TOKEN_HTTP_URI_ARGS’ was not declared in this scope
int arglen = lws_hdr_copy(wsi, uriargs, sizeof uriargs, WSI_TOKEN_HTTP_URI_ARGS);
^
machinetalk/webtalk/webtalk_wsproxy.cc:422:33: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
short zevents = poll2zmq(pa->events);
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:423:38: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
zmq_pollitem_t additem = { 0, pa->fd, zevents };
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:433:38: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
zmq_pollitem_t delitem = { 0, pa->fd, 0 };
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:438:10: error: ‘LWS_CALLBACK_CHANGE_MODE_POLL_FD’ was not declared in this scope
case LWS_CALLBACK_CHANGE_MODE_POLL_FD:
^
machinetalk/webtalk/webtalk_wsproxy.cc:440:12: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
if (pa->prev_events == pa->events) // nothing to do
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:440:31: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
if (pa->prev_events == pa->events) // nothing to do
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:444:35: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
zmq_pollitem_t item = { 0, pa->fd, 0 };
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
machinetalk/webtalk/webtalk_wsproxy.cc:448:31: error: invalid use of incomplete type ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
item.events = poll2zmq(pa->events);
^
machinetalk/webtalk/webtalk_wsproxy.cc:199:12: error: forward declaration of ‘struct callback_http(libwebsocket_context*, libwebsocket*, libwebsocket_callback_reasons, void*, void*, size_t)::libwebsocket_pollargs’
struct libwebsocket_pollargs *pa = (struct libwebsocket_pollargs *)in;
^
make: *** [objects/machinetalk/webtalk/webtalk_wsproxy.o] Error 1
make: Leaving directory `/home/ubuntu/machinekit/src'
I appreciated if there are any advise.