Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build err when catkin build --workspace ~/isir/lwr_ws #19

Open
dbdxnuliba opened this issue Aug 11, 2020 · 1 comment
Open

build err when catkin build --workspace ~/isir/lwr_ws #19

dbdxnuliba opened this issue Aug 11, 2020 · 1 comment

Comments

@dbdxnuliba
Copy link

dbdxnuliba commented Aug 11, 2020

on ubunut16.04 xenomai3 gazebo8
image
Errors << rtt_gazebo_embedded:make /home/dell/isir/lwr_ws/logs/rtt_gazebo_embedded/build.make.002.log
In file included from /usr/xenomai/include/cobalt/wrappers.h:21:0,
from /usr/xenomai/include/cobalt/stdio.h:28,
from /usr/include/wchar.h:36,
from /usr/include/c++/5/cwchar:44,
from /usr/include/c++/5/bits/postypes.h:40,
from /usr/include/c++/5/bits/char_traits.h:40,
from /usr/include/c++/5/string:40,
from /usr/include/gazebo-8/gazebo/common/Animation.hh:20,
from /usr/include/gazebo-8/gazebo/common/common.hh:5,
from /usr/include/gazebo-8/gazebo/gazebo_core.hh:19,
from /usr/include/gazebo-8/gazebo/gazebo.hh:20,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/include/rtt_gazebo_embedded/rtt_gazebo_embedded.hh:5,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/src/rtt_gazebo_embedded.cc:1:
/usr/include/tbb/machine/gcc_generic.h:114:16: error: expected unqualified-id before ‘{’ token
inline int clz(unsigned int x){ return __builtin_clz(x);};
^
/usr/include/tbb/machine/gcc_generic.h:114:16: error: expected ‘)’ before ‘{’ token
In file included from /usr/local/include/boost/asio/handler_type.hpp:20:0,
from /usr/local/include/boost/asio/async_result.hpp:19,
from /usr/local/include/boost/asio.hpp:20,
from /usr/include/gazebo-8/gazebo/transport/Connection.hh:23,
from /usr/include/gazebo-8/gazebo/transport/transport.hh:3,
from /usr/include/gazebo-8/gazebo/gazebo_core.hh:22,
from /usr/include/gazebo-8/gazebo/gazebo.hh:20,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/include/rtt_gazebo_embedded/rtt_gazebo_embedded.hh:5,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/src/rtt_gazebo_embedded.cc:1:
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected declaration before end of line
make[2]: *** [CMakeFiles/rtt_gazebo_embedded.dir/src/rtt_gazebo_embedded.cc.o] Error 1
make[1]: *** [CMakeFiles/rtt_gazebo_embedded.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/xenomai/include/cobalt/wrappers.h:21:0,
from /usr/xenomai/include/cobalt/stdio.h:28,
from /usr/include/wchar.h:36,
from /usr/include/c++/5/cwchar:44,
from /usr/include/c++/5/bits/postypes.h:40,
from /usr/include/c++/5/bits/char_traits.h:40,
from /usr/include/c++/5/string:40,
from /home/dell/isir/orocos-2.9_ws/install/include/rtt/OperationInterface.hpp:42,
from /home/dell/isir/orocos-2.9_ws/install/include/rtt/Service.hpp:43,
from /home/dell/isir/orocos-2.9_ws/install/include/rtt/TaskContext.hpp:44,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/example/model_plugin_example.cpp:1:
/usr/include/tbb/machine/gcc_generic.h:114:16: error: expected unqualified-id before ‘{’ token
inline int clz(unsigned int x){ return __builtin_clz(x);};
^
/usr/include/tbb/machine/gcc_generic.h:114:16: error: expected ‘)’ before ‘{’ token
In file included from /usr/local/include/boost/asio/handler_type.hpp:20:0,
from /usr/local/include/boost/asio/async_result.hpp:19,
from /usr/local/include/boost/asio.hpp:20,
from /usr/include/gazebo-8/gazebo/transport/Connection.hh:23,
from /usr/include/gazebo-8/gazebo/transport/transport.hh:3,
from /usr/include/gazebo-8/gazebo/gazebo_core.hh:22,
from /usr/include/gazebo-8/gazebo/gazebo.hh:20,
from /home/dell/isir/lwr_ws/src/rtt_gazebo_embedded/example/model_plugin_example.cpp:5:
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected ‘}’ before end of line
/usr/local/include/boost/asio/detail/push_options.hpp:71:40: error: expected declaration before end of line
make[2]: *** [example/CMakeFiles/model_plugin_example.dir/model_plugin_example.cpp.o] Error 1
make[1]: *** [example/CMakeFiles/model_plugin_example.dir/all] Error 2
make: *** [all] Error 2

@ahoarau
Copy link
Member

ahoarau commented Aug 18, 2020

This has been addressed at : https://gitlab.denx.de/Xenomai/xenomai/commit/9f6e9ba592ed7459539c585f49fac46bb198f3e8
Just update your xenomai !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants