[Olsr-users] Compiling Error

Bill Cheng (spam-protected)
Tue Apr 7 22:08:20 CEST 2015

Hi All,

After reading the readme files for compiling OLSR onto an android phone and
googling anything that might fix the problem. I still couldn't fix the

First after installing the NDK.
I did  "make OS=android NDK_BASE=/path/to/your/android-ndk-r10 build_all"
and then "sudo make OS=android DEBUG=0 install_all"
After this the error came up.

Installing manpages olsrd(8) and olsrd.conf(5)

mkdir -p /usr/share/man/man8/

cp files/olsrd.8.gz /usr/share/man/man8/olsrd.8.gz

mkdir -p /usr/share/man/man5/

cp files/olsrd.conf.5.gz /usr/share/man/man5/olsrd.conf.5.gz

: olsrd_arprefresh.so.0.1

install -D -m 755 olsrd_arprefresh.so.0.1 /lib/olsrd_arprefresh.so.0.1;
/sbin/ldconfig -n /lib

install: illegal option -- D

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

               [-o owner] file1 file2

       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

               [-o owner] file1 ... fileN directory

       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

/bin/sh: /sbin/ldconfig: No such file or directory

make[1]: *** [install] Error 127

make: *** [install_libs] Error 2

I was wondering what went wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150407/c0ff5ce2/attachment.html>

More information about the Olsr-users mailing list