Building ros groovy on Fedora 18: bullet fails to build [closed]

asked 2013-03-24 16:38:11 -0500

FranciscoD gravatar image

updated 2014-01-28 17:15:52 -0500

ngrennan gravatar image

Bullet doesn't build when I run the rosmake -a command as described on the wiki in section 2.2.3. Here's the error:

bullet
/home/ankur/ros_catkin_ws/install_isolated/share/mk/cmake.mk:7: warning: overriding recipe for target `all'
/home/ankur/ros_catkin_ws/install_isolated/share/mk/cmake_stack.mk:7: warning: ignoring old recipe for target `all'
/home/ankur/ros_catkin_ws/install_isolated/share/mk/cmake.mk:24: warning: overriding recipe for target `clean'
/home/ankur/ros_catkin_ws/install_isolated/share/mk/cmake_stack.mk:16: warning: ignoring old recipe for target `clean'
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/home/ankur/ros_catkin_ws/install_isolated/share/ros/core/rosbuild/rostoolchain.cmake  ..
[rosbuild] Building package bullet
-- Using CATKIN_DEVEL_PREFIX: /home/ankur/ros_ws/bullet/build/devel
-- Using CMAKE_PREFIX_PATH: /home/ankur/ros_catkin_ws/install_isolated
-- This workspace overlays: /home/ankur/ros_catkin_ws/install_isolated
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/ankur/ros_ws/bullet/build/test_results
-- catkin 0.5.65
[rosbuild] Including /home/ankur/ros_catkin_ws/install_isolated/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /home/ankur/ros_catkin_ws/install_isolated/share/rospy/rosbuild/rospy.cmake
make[1]: Entering directory `/home/ankur/ros_ws/bullet'
cd build/bullet-2.79 && cmake -DCMAKE_INSTALL_PREFIX=/home/ankur/ros_ws/bullet -DCMAKE_CXX_FLAGS="-fPIC -DBT_USE_DOUBLE_PRECISION" -D BUILD_SHARED_LIBS=on . 
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/lib64/ccache/cc
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/usr/lib64/ccache/cc" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: /home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp



  Run Build Command:/usr/bin/gmake "cmTryCompileExec29070990/fast"

  gmake[2]: Entering directory
  `/home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp'

  /usr/bin/gmake -f CMakeFiles/cmTryCompileExec29070990.dir/build.make
  CMakeFiles/cmTryCompileExec29070990.dir/build

  gmake[3]: Entering directory
  `/home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp'

  /usr/bin/cmake -E cmake_progress_report
  /home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp/CMakeFiles
  1

  Building C object CMakeFiles/cmTryCompileExec29070990.dir/testCCompiler.c.o

  /usr/lib64/ccache/cc -o
  CMakeFiles/cmTryCompileExec29070990.dir/testCCompiler.c.o -c
  /home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp/testCCompiler.c


  Linking C executable cmTryCompileExec29070990

  /usr/bin/cmake -E cmake_link_script
  CMakeFiles/cmTryCompileExec29070990.dir/link.txt --verbose=1

  /usr/lib64/ccache/cc
  CMakeFiles/cmTryCompileExec29070990.dir/testCCompiler.c.o -o
  cmTryCompileExec29070990 -rdynamic

  CMakeFiles/cmTryCompileExec29070990.dir/testCCompiler.c.o: file not
  recognized: File truncated

  collect2: error: ld returned 1 exit status

  gmake[3]: Leaving directory
  `/home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp'

  gmake[2]: Leaving directory
  `/home/ankur/ros_ws/bullet/build/bullet-2.79/CMakeFiles/CMakeTmp'

  gmake[3]: *** [cmTryCompileExec29070990] Error 1

  gmake[2]: *** [cmTryCompileExec29070990/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:7 (PROJECT)


-- Check for working C compiler: /usr/lib64/ccache/cc -- broken
-- Configuring incomplete, errors occurred!
make[1]: *** [installed] Error 1
make[1]: Leaving directory `/home/ankur/ros_ws/bullet'
CMake Error at CMakeLists.txt:16 (message):
  Build ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2014-12-16 15:42:37.377469

Comments

tfoote gravatar image tfoote  ( 2014-12-16 15:42:30 -0500 )edit