(reformat configure line)
(Changed cross compiler to arm-linux-gnueabi. Upgraded radvd to 1.10.0.)
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 \
+
./configure --host=arm-linux-gnueabi \
             --prefix=/opt/arm-2011.09/arm-none-linux-gnueabi \   
+
             --prefix=/home/temp/radvd \   
 
             ac_cv_func_setpgrp_void=yes
 
             ac_cv_func_setpgrp_void=yes
 
make
 
make
Line 20: Line 20:
  
 
<PRE>
 
<PRE>
wget http://www.litech.org/radvd/dist/radvd-1.9.2.tar.gz
+
wget http://www.litech.org/radvd/dist/radvd-1.10.0.tar.gz
tar -xzf radvd-1.9.2.tar.gz  
+
tar -xzf radvd-1.10.0.tar.gz
cd radvd-1.9.2/
+
cd radvd-1.10.0
 
./configure --prefix=/home/temp/radvd \
 
./configure --prefix=/home/temp/radvd \
             --host=arm-none-linux-gnueabi \
+
             --host=arm-linux-gnueabi \
 
             --sysconfdir=/etc \
 
             --sysconfdir=/etc \
             PKG_CONFIG_PATH=/opt/arm-2011.09/arm-none-linux-gnueabi/lib/pkgconfig
+
             PKG_CONFIG_PATH=/home/temp/radvd/lib/pkgconfig
 
make
 
make
 
make install
 
make install
 
</PRE>
 
</PRE>

Revision as of 11:25, 7 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=/home/temp/radvd \   
            ac_cv_func_setpgrp_void=yes
make
make install

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