[Olsr-users] Compiling error

Ferry Huberts (spam-protected)
Wed Feb 18 18:33:42 CET 2015


You clearly didn't read the docs.

> make NDK_BASE="/opt/android-ndk" DESTDIR="$(pwd)/dist/debug"   OS="android" DEBUG="1" build_all install_all
> make uberclean
> make NDK_BASE="/opt/android-ndk" DESTDIR="$(pwd)/dist/release" OS="android" DEBUG="1" build_all install_all



On 18/02/15 18:21, 鄭淳展 wrote:
> Hi All,
>
> Recently I am trying to implement OLSR on android phones. All went
> smooth until I tried to make OS=android DEBUG=0, which gives the below
> error.
>
> [CC] src/common/autobuf.c
>
> In file included from src/common/autobuf.h:47:0,
>
>                   from src/common/autobuf.c:42:
>
> src/defs.h:46:22: fatal error: sys/time.h: No such file or directory
>
>   #include <sys/time.h>
>
>                        ^
>
> compilation terminated.
>
> make: *** [src/common/autobuf.o] Error 1
>
> I was wondering what the problem would be. I believe this has something
> to do with the compiler unable to find the header? By the way, I am
> using a mac system.
>
> Thanks,
> Bill
>
>

-- 
Ferry Huberts




More information about the Olsr-users mailing list