<div dir="ltr">Hi All,<div><br></div><div>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 error.</div><div><br></div><div>First after installing the NDK.</div><div>I did "make OS=android NDK_BASE=/path/to/your/android-ndk-r10 build_all"</div><div>and then "sudo make OS=android DEBUG=0 install_all" </div><div>After this the error came up.</div><div><br></div><div>
<p class=""><span class="">Installing manpages olsrd(8) and olsrd.conf(5)</span></p>
<p class=""><span class="">mkdir -p /usr/share/man/man8/</span></p>
<p class=""><span class="">cp files/olsrd.8.gz /usr/share/man/man8/olsrd.8.gz</span></p>
<p class=""><span class="">mkdir -p /usr/share/man/man5/</span></p>
<p class=""><span class="">cp files/olsrd.conf.5.gz /usr/share/man/man5/olsrd.conf.5.gz</span></p>
<p class=""><span class="">: olsrd_arprefresh.so.0.1</span></p>
<p class=""><span class="">install -D -m 755 olsrd_arprefresh.so.0.1 /lib/olsrd_arprefresh.so.0.1; /sbin/ldconfig -n /lib</span></p>
<p class=""><span class="">install: illegal option -- D</span></p>
<p class=""><span class="">usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]</span></p>
<p class=""><span class=""> [-o owner] file1 file2</span></p>
<p class=""><span class=""> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]</span></p>
<p class=""><span class=""> [-o owner] file1 ... fileN directory</span></p>
<p class=""><span class=""> install -d [-v] [-g group] [-m mode] [-o owner] directory ...</span></p>
<p class=""><span class="">/bin/sh: /sbin/ldconfig: No such file or directory</span></p>
<p class=""><span class="">make[1]: *** [install] Error 127</span></p>
<p class=""><span class="">make: *** [install_libs] Error 2</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">I was wondering what went wrong.</span></p></div></div>