<p>Andrew, </p>
<p>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.</p>

<p>Tully</p>
<p><blockquote type="cite">On Jun 27, 2010 3:56 PM, "Andrew Harris" <<a href="mailto:andrew.unit@gmail.com">andrew.unit@gmail.com</a>> wrote:<br><br>Hi,<br>
<br>
   I thought I'd try installing plexil, but I'm having troubles<br>
compiling it.  I'm using the latest ROS.  Is a different executive<br>
more commonly used?  I attached my compiler errors below.  I was<br>
surprised to see that IPC was being compiled.<br>
<br>
thanks,<br>
-andrew<br>
<br>
andrewha@andrewha-desktop:~/ros/stacks$ rosmake executive_plexil<br>
[ rosmake ] Packages requested are: ['executive_plexil']<br>
[ rosmake ] Logging to directory<br>
[ rosmake ] /home/andrewha/.ros/rosmake/rosmake_output-20100627-153844<br>
[ rosmake ] Expanded args ['executive_plexil'] to:<br>
['plexil', 'plexil_actionlib', 'plexil_ros']<br>
[ rosmake ] Checking rosdeps compliance for packages executive_plexil.<br>
 This may take a few seconds.<br>
[ rosmake ] rosdep check passed all system dependencies in packages<br>
[ rosmake ] Prebuilding rospack<br>
[ rosmake ] Prebuilding gtest<br>
[ rosmake ] Prebuilding genmsg_cpp<br>
[ rosmake ] [ 2 of 15  Completed ]<br>
[rosmake-0] >>> plexil >>> [ make ]<br>
[ rosmake ] Last 40 lines<br>
{-------------------------------------------------------------------------------<br>
  /usr/include/c++/4.4/cstring:96: error: ‘::strrchr’ has not been declared<br>
  /usr/include/c++/4.4/cstring:97: error: ‘::strstr’ has not been declared<br>
  /usr/include/c++/4.4/cstring: In function ‘void* std::memchr(void*,<br>
int, size_t)’:<br>
  /usr/include/c++/4.4/cstring:102: error: invalid conversion from<br>
‘const void*’ to ‘void*’<br>
  /usr/include/c++/4.4/cstring:102: error:   initializing argument 1<br>
of ‘void* std::memchr(void*, int, size_t)’<br>
  In file included from XDR.l:26:<br>
  ./XDRTree.h: In member function ‘std::string<br>
XDRPassThroughCodeNode::getCode()’:<br>
  ./XDRTree.h:254: error: ‘strdup’ was not declared in this scope<br>
  XDR.l: In function ‘void yyNewFile(char*)’:<br>
  XDR.l:49: error: ‘strncmp’ was not declared in this scope<br>
  XDR.l:58: error: ‘strncmp’ was not declared in this scope<br>
  XDR.l:59: error: ‘strcpy’ was not declared in this scope<br>
  XDR.l: In function ‘int yylex()’:<br>
  XDR.l:255: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:256: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:257: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:258: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:259: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:260: warning: deprecated conversion from string constant to ‘char*’<br>
  XDR.l:288: error: ‘strtol’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘void yyensure_buffer_stack()’:<br>
  gen/<a href="http://XDR.yy.cc:2780" target="_blank">XDR.yy.cc:2780</a>: error: ‘memset’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc:2801" target="_blank">XDR.yy.cc:2801</a>: error: ‘memset’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘yy_buffer_state* yy_scan_string(const char*)’:<br>
  gen/<a href="http://XDR.yy.cc:2852" target="_blank">XDR.yy.cc:2852</a>: error: ‘strlen’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘void yy_fatal_error(const char*)’:<br>
  gen/<a href="http://XDR.yy.cc:2899" target="_blank">XDR.yy.cc:2899</a>: error: ‘exit’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘void* yyalloc(yy_size_t)’:<br>
  gen/<a href="http://XDR.yy.cc:3075" target="_blank">XDR.yy.cc:3075</a>: error: ‘malloc’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘void* yyrealloc(void*, yy_size_t)’:<br>
  gen/<a href="http://XDR.yy.cc:3087" target="_blank">XDR.yy.cc:3087</a>: error: ‘realloc’ was not declared in this scope<br>
  gen/<a href="http://XDR.yy.cc" target="_blank">XDR.yy.cc</a>: In function ‘void yyfree(void*)’:<br>
  gen/<a href="http://XDR.yy.cc:3092" target="_blank">XDR.yy.cc:3092</a>: error: ‘free’ was not declared in this scope<br>
  make[3]: *** [obj/Linux-2.6/XDR.yy.o] Error 1<br>
  make[3]: Leaving directory<br>
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn/third-party/ipc-3.8.5/xdrgen'<br>
  make[2]: *** [install_bins] Error 2<br>
  make[2]: Leaving directory<br>
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn/third-party/ipc-3.8.5'<br>
  make[1]: *** [ipc] Error 2<br>
  make[1]: Leaving directory<br>
`/home/andrewha/ros/stacks/executive_plexil/plexil/plexil-svn'<br>
-------------------------------------------------------------------------------}<br>
[ rosmake ] Output from build of package plexil written to:<br>
[ rosmake ]    /home/andrewha/.ros/rosmake/rosmake_output-20100627-153844/plexil/build_output.log<br>
[rosmake-0] <<< plexil <<< [FAIL] [ 131.06 seconds ]<br>
[ rosmake ] Halting due to failure in package plexil.<br>
[ rosmake ] Waiting for other threads to complete.<br>
[ rosmake ] Summary output to directory<br>
[ rosmake ] /home/andrewha/.ros/rosmake/rosmake_output-20100627-153844<br>
andrewha@andrewha-desktop:~/ros/stacks$<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></p>