build of ros fuerte colladadom fails on armhf - beaglebone
Hi All,
I was following a guide on building ros for an armhf device (beaglebone) however ran into a problem in that my compiler failed when compiling the level 2 packages
The compiler error is:
[rosmake-0] Starting >>> rosconsole [ make ]
[rosmake-0] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-0] Starting >>> ivcon [ make ]
[rosmake-0] Finished <<< ivcon [PASS] [ 9.57 seconds ]
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-0] Finished <<< roslang No Makefile in package roslang
[rosmake-0] Starting >>> roscpp [ make ]
[rosmake-0] Finished <<< roscpp No Makefile in package roscpp
[rosmake-0] Starting >>> colladadom [ make ]
[ rosmake ] All 14 linesolladadom: 388.8 sec ] [ 1 Active 4/102 Complete ]
{-------------------------------------------------------------------------------
ROOT is: /home/ubuntu/ros/robot_model/colladadom
mkdir -p /home/ubuntu/ros/robot_model/colladadom/include
mkdir -p /home/ubuntu/ros/robot_model/colladadom/lib
making it
cd build/colladadom/dom && make -l1
make[1]: Entering directory `/home/ubuntu/ros/robot_model/colladadom/build/colladadom/dom'
Compiling src/1.5/dom/domTypes.cpp to build/linux-1.5/obj/domTypes.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[1]: *** [build/linux-1.5/obj/domTypes.o] Error 4
make[1]: Leaving directory `/home/ubuntu/ros/robot_model/colladadom/build/colladadom/dom'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package colladadom written to: 4/102 Complete ]
[ rosmake ] /home/ubuntu/.ros/rosmake/rosmake_output-20130321-191548/colladadom/build_output.log
[rosmake-0] Finished <<< colladadom [FAIL] [ 389.12 seconds ]
[ rosmake ] Halting due to failure in package colladadom.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 5 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/ubuntu/.ros/rosmake/rosmake_output-20130321-191548
Stackoverflow says the g++: internal compiler error: Killed (program cc1plus)
error is due to a lack of memory, which may be correct as the beagle bone has 250Mb, though the original guide did not mention anything on it being a problem.
Can anyone suggest a workaround or how to cross compile ros for armhf?
cheers
Peter