(Added sysconfdir)
(reformat configure line)
Line 10: Line 10:
 
tar -xzf libdaemon-0.14.tar.gz
 
tar -xzf libdaemon-0.14.tar.gz
 
cd libdaemon-0.14
 
cd libdaemon-0.14
./configure --host=arm-none-linux-gnueabi --prefix=/opt/arm-2011.09/arm-none-linux-gnueabi ac_cv_func_setpgrp_void=yes
+
./configure --host=arm-none-linux-gnueabi \
 +
            --prefix=/opt/arm-2011.09/arm-none-linux-gnueabi
 +
            ac_cv_func_setpgrp_void=yes
 
make
 
make
 
make install
 
make install

Revision as of 11:03, 25 November 2012

libdaemon

Libdaemon is a dependancy for radvd.

Download libdaemon and cross compile for ARM assuming your ARM cross compiler is located at /opt/arm-2011.09/

wget http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.14.tar.gz
tar -xzf libdaemon-0.14.tar.gz
cd libdaemon-0.14
./configure --host=arm-none-linux-gnueabi \
            --prefix=/opt/arm-2011.09/arm-none-linux-gnueabi \   
            ac_cv_func_setpgrp_void=yes
make
make install

Cross Compiling Radvd for ARM

wget http://www.litech.org/radvd/dist/radvd-1.9.2.tar.gz
tar -xzf radvd-1.9.2.tar.gz 
cd radvd-1.9.2/
./configure --prefix=/home/temp/radvd \
            --host=arm-none-linux-gnueabi \
            --sysconfdir=/etc \
            PKG_CONFIG_PATH=/opt/arm-2011.09/arm-none-linux-gnueabi/lib/pkgconfig
make
make install