(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 | + | ./configure --host=arm-linux-gnueabi \ |
− | --prefix=/ | + | --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. | + | wget http://www.litech.org/radvd/dist/radvd-1.10.0.tar.gz |
− | tar -xzf radvd-1. | + | tar -xzf radvd-1.10.0.tar.gz |
− | cd radvd-1. | + | cd radvd-1.10.0 |
./configure --prefix=/home/temp/radvd \ | ./configure --prefix=/home/temp/radvd \ | ||
− | --host=arm | + | --host=arm-linux-gnueabi \ |
--sysconfdir=/etc \ | --sysconfdir=/etc \ | ||
− | PKG_CONFIG_PATH=/ | + | PKG_CONFIG_PATH=/home/temp/radvd/lib/pkgconfig |
make | make | ||
make install | make install | ||
</PRE> | </PRE> |
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
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