[ros-users] error of rosmake roscpp on Ubuntu 8.04
Rosen Diankov
rosen.diankov at gmail.com
Sat Jul 24 13:54:49 UTC 2010
Suzuki-san,
Try including <endian.h> in
/opt/ros/ros/core/roscpp/src/libros/transport/transport_tcp.cpp
On my system it includes a header file that defines the __BYTE_ORDER
define. Your particular installation might have it in a different
file? You can always try to grep for it.
Perhaps your CPU supports both modes, in which case it requires the
user to set the endiannness of the tcp stack? You can always try to
force defining __BYTE_ORDER...
rosen,
2010年7月22日21:13 鈴木夢見子 <yumemi.suzuki at gmail.com>:
> Dear Brian,
> I tried to install ROS using rosinstall.
> It's written on .rosinstall_source_uri,
> http://ros.org/rosinstalls/boxturtle_pr2.rosinstall
> and on this.rosinstall,
> - svn: {local-name: ros, uri:
> 'https://code.ros.org/svn/ros/stacks/ros/tags/boxturtle'}
> --ysuzuki
> 2010年7月23日2:15 Brian Gerkey <gerkey at willowgarage.com>:
>>
>> hi ysuzuki,
>>
>> What kind of system are you building on?
>>
>> brian.
>>
>> 2010/7/22 鈴木夢見子 <yumemi.suzuki at gmail.com>:
>> > Hi all Ros users,
>> > I tried to source-build install with ROS from svn repositories using
>> > rosinstall.
>> > But rosmake roscpp failed, roscore can't be compiled...
>> > Error logs are below:
>> >
>> > {-------------------------------------------------------------------------------
>> > make[3]: ディレクトリ `/opt/ros/ros/core/roscpp/build' に入ります
>> > [ 20%] [ 22%] Building CXX object
>> > src/libros/CMakeFiles/ros.dir/common.o
>> > Building CXX object src/libros/CMakeFiles/ros.dir/poll_set.o
>> > [ 25%] Building CXX object src/libros/CMakeFiles/ros.dir/header.o
>> > [ 27%] Building CXX object src/libros/CMakeFiles/ros.dir/connection.o
>> > [ 29%] Building CXX object
>> > src/libros/CMakeFiles/ros.dir/transport/transport_tcp.o
>> > /opt/ros/ros/core/roscpp/src/libros/transport/transport_tcp.cpp:47 から
>> > include されたファイル中:
>> > /usr/include/netinet/tcp.h:119:5: error: #error "Adjust your
>> > <bits/endian.h> defines"
>> > make[3]: *** [src/libros/CMakeFiles/ros.dir/transport/transport_tcp.o]
>> > error 1
>> > make[3]: *** 未完了のジョブを待っています....
>> > make[3]: ディレクトリ `/opt/ros/ros/core/roscpp/build' から出ます
>> > make[2]: *** [src/libros/CMakeFiles/ros.dir/all] error 2
>> > make[2]: ディレクトリ `/opt/ros/ros/core/roscpp/build' から出ます
>> > make[1]: *** [all] error 2
>> > make[1]: ディレクトリ `/opt/ros/ros/core/roscpp/build' から出ます
>> >
>> > -------------------------------------------------------------------------------}
>> > My system environments are Ubuntu8.04LTS, gcc4.2.4.
>> > Where should I define __LITTLE_ENDIAN ?
>> > How do I resolve this error?
>> >
>> > Please give me advice.
>> > Thank you.
>> > ysuzuki
>> >
>> > _______________________________________________
>> > ros-users mailing list
>> > ros-users at code.ros.org
>> > https://code.ros.org/mailman/listinfo/ros-users
>> >
>> >
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>
>
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
More information about the ros-users
mailing list