(Changed destination directory)
Line 11: Line 11:
 
cd libdaemon-0.14
 
cd libdaemon-0.14
 
./configure --host=arm-linux-gnueabi \
 
./configure --host=arm-linux-gnueabi \
             --prefix=/home/temp/radvd \   
+
             --prefix= \   
 
             ac_cv_func_setpgrp_void=yes
 
             ac_cv_func_setpgrp_void=yes
 
make
 
make
make install
+
make install DESTDIR=/home/export/rootfs
 
</PRE>
 
</PRE>
  

Revision as of 10:53, 11 April 2014

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-linux-gnueabi \
            --prefix= \   
            ac_cv_func_setpgrp_void=yes
make
make install DESTDIR=/home/export/rootfs 

Cross Compiling Radvd for ARM

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

Download Pre-built Binaries

The link below contains a bzip2 tarball of the radvd binaries compiled for ARM :

  • Built using:
    • Libdaemon-0.14
    • radvd-1.10.0
    • arm-linux-gnueabi-gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)