These are the efforts of one grandfather and his grandson to make a home brew robot for fun.
Monday, November 8, 2010
Still Cannot Get Boost to Link on ARM Platform
Well, truth be known, I was unable to get Boost to link after performing a cross compile for the Chumby. It appears that the holdup of getting to compiling the ROS material using my GNU Toolchain is Bzip2. The output of the linking indicates that it cannot find the library for Bzip2. I have tried everything that I know of to prevent the linking from adding Bzip2 to the mix but have failed miserably. I will now have to wait until the weekend to complete the compile process. Wish me luck!
Subscribe to:
Post Comments (Atom)
Why not just build libbzip2 for chumby and link against it?
ReplyDeletewget http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
tar zxvf bzip2-1.0.6.tar.gz
cd bzip2-1.0.6
make -f Makefile-libbz2_so CC=arm-linux-gcc
FWIW, here's what I did to build boost:
ReplyDeletewget http://sourceforge.net/projects/boost/files/boost/1.44.0/boost_1_44_0.tar.gz/download
tar zxvf boost_1_44_0.tar.gz
cd boost_1_44_0/tools/jam/src
vi ../../build/v2/user-config.jam
# add the following line
using gcc : 4.3.2 : /usr/arm-linux/bin/gcc ;
cd ../../../
export PATH=/usr/arm-linux/bin:$PATH
mkdir _install
tools/jam/src/bin.linuxx86/bjam --libdir=`pwd`/_install/lib --includedir=`pwd`/_install/include -sBUILD=release --with-date_time --with-filesystem --with-regex --with-thread --with-program_options install
# libraries end up in boost_1_44_0/_install