[ros-users] executive
Tully Foote
tfoote at willowgarage.com
Sun Jun 27 20:09:30 UTC 2010
Andrew,
These look like common gcc upgrade errors. I doubt its been tested against
gcc 4.4 and it looks like it needs a few patches. Each recent version of
gcc has been getting stricter. Usually its a missing include or two which
used to be automatically added to fix this type of problem.
Tully
On Jun 27, 2010 3:56 PM, "Andrew Harris" <andrew.unit at gmail.com> wrote:
Hi,
I thought I'd try installing plexil, but I'm having troubles
compiling it. I'm using the latest ROS. Is a different executive
more commonly used? I attached my compiler errors below. I was
surprised to see that IPC was being compiled.
thanks,
-andrew
andrewha at andrewha-desktop:~/ros/stacks$ rosmake executive_plexil
[ rosmake ] Packages requested are: ['executive_plexil']
[ rosmake ] Logging to directory
[ rosmake ] /home/andrewha/.ros/rosmake/rosmake_output-20100627-153844
[ rosmake ] Expanded args ['executive_plexil'] to:
['plexil', 'plexil_actionlib', 'plexil_ros']
[ rosmake ] Checking rosdeps compliance for packages executive_plexil.
This may take a few seconds.
[ rosmake ] rosdep check passed all system dependencies in packages
[ rosmake ] Prebuilding rospack
[ rosmake ] Prebuilding gtest
[ rosmake ] Prebuilding genmsg_cpp
[ rosmake ] [ 2 of 15 Completed ]
[rosmake-0] >>> plexil >>> [ make ]
[ rosmake ] Last 40 lines
{-------------------------------------------------------------------------------
/usr/include/c++/4.4/cstring:96: error: ‘::strrchr’ has not been declared
/usr/include/c++/4.4/cstring:97: error: ‘::strstr’ has not been declared
/usr/include/c++/4.4/cstring: In function ‘void* std::memchr(void*,
int, size_t)’:
/usr/include/c++/4.4/cstring:102: error: invalid conversion from
‘const void*’ to ‘void*’
/usr/include/c++/4.4/cstring:102: error: initializing argument 1
of ‘void* std::memchr(void*, int, size_t)’
In file included from XDR.l:26:
./XDRTree.h: In member function ‘std::string
XDRPassThroughCodeNode::getCode()’:
./XDRTree.h:254: error: ‘strdup’ was not declared in this scope
XDR.l: In function ‘void yyNewFile(char*)’:
XDR.l:49: error: ‘strncmp’ was not declared in this scope
XDR.l:58: error: ‘strncmp’ was not declared in this scope
XDR.l:59: error: ‘strcpy’ was not declared in this scope
XDR.l: In function ‘int yylex()’:
XDR.l:255: warning: deprecated conversion from string constant to ‘char*’
XDR.l:256: warning: deprecated conversion from string constant to ‘char*’
XDR.l:257: warning: deprecated conversion from string constant to ‘char*’
XDR.l:258: warning: deprecated conversion from string constant to ‘char*’
XDR.l:259: warning: deprecated conversion from string constant to ‘char*’
XDR.l:260: warning: deprecated conversion from string constant to ‘char*’
XDR.l:288: error: ‘strtol’ was not declared in this scope
gen/XDR.yy.cc: In function ‘void yyensure_buffer_stack()’:
gen/XDR.yy.cc:2780: error: ‘memset’ was not declared in this scope
gen/XDR.yy.cc:2801: error: ‘memset’ was not declared in this scope
gen/XDR.yy.cc: In function ‘yy_buffer_state* yy_scan_string(const char*)’:
gen/XDR.yy.cc:2852: error: ‘strlen’ was not declared in this scope
gen/XDR.yy.cc: In function ‘void yy_fatal_error(const char*)’:
gen/XDR.yy.cc:2899: error: ‘exit’ was not declared in this scope
gen/XDR.yy.cc: In function ‘void* yyalloc(yy_size_t)’:
gen/XDR.yy.cc:3075: error: ‘malloc’ was not declared in this scope
gen/XDR.yy.cc: In function ‘void* yyrealloc(void*, yy_size_t)’:
gen/XDR.yy.cc:3087: error: ‘realloc’ was not declared in this scope
gen/XDR.yy.cc: In function ‘void yyfree(void*)’:
gen/XDR.yy.cc:3092: error: ‘free’ was not declared in this scope
make[3]: *** [obj/Linux-2.6/XDR.yy.o] Error 1
make[3]: Leaving directory
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn/third-party/ipc-3.8.5/xdrgen'
make[2]: *** [install_bins] Error 2
make[2]: Leaving directory
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn/third-party/ipc-3.8.5'
make[1]: *** [ipc] Error 2
make[1]: Leaving directory
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package plexil written to:
[ rosmake ]
/home/andrewha/.ros/rosmake/rosmake_output-20100627-153844/plexil/build_output.log
[rosmake-0] <<< plexil <<< [FAIL] [ 131.06 seconds ]
[ rosmake ] Halting due to failure in package plexil.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Summary output to directory
[ rosmake ] /home/andrewha/.ros/rosmake/rosmake_output-20100627-153844
andrewha at andrewha-desktop:~/ros/stacks$
_______________________________________________
ros-users mailing list
ros-users at code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100627/4b9ae072/attachment-0004.html>
More information about the ros-users
mailing list