Re: Android compilation fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lukas,

Thanks for the report.
I believe we fixed a similar issue just a few weeks ago here:
https://trac.pjsip.org/repos/changeset/5757
Let us know if this is not the case.

Regards,
Ming

On Mon, Jun 18, 2018 at 1:25 PM, Lukas Kuzmiak <lukash@xxxxxxxxxxxx> wrote:
> Hey everybody,
>
> I’ve stumbled upon the same issues as couple other people before
> (http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2018-June/040966.html).
>
> In file included from ../../pjlib/include/pj/compat/size_t.h:28:
> In file included from
> /usr/src/android-ndk-r17/sources/cxx-stl/llvm-libc++/include/stddef.h:40:
> /usr/src/android-ndk-r17/sources/cxx-stl/llvm-libc++/include/__config:169:10:
> fatal error: 'features.h' file not found
>
> I really did not want to downgrade to workaround it so I dug deeper and
> solved it (not sure the solution is 100% perfect, I’m not really into
> Android that much :)).
>
> Patch (configure-android):
>
> @@ -214,7 +214,7 @@ if test "x${NDK_TOOLCHAIN}" = "x"; then
>  else
>    # llvm
>    STDCPP_TC="${ANDROID_NDK_ROOT}/sources/cxx-stl/llvm-libc++"
> -  STDCPP_CFLAGS="-I${STDCPP_TC}/include
> -I${ANDROID_NDK_ROOT}/sysroot/usr/include"
> +  STDCPP_CFLAGS="-I${STDCPP_TC}/include"
>    STDCPP_LIBS="-lc++_static -lc++abi"
>    STDCPP_LDFLAGS="-L${STDCPP_TC}/libs/${TARGET_ABI}/"
>  fi
>
>
> PS: is there a way to report bugs to pjproject other than this mailing list?
> I have not found a way to do it in trac.
>
> Regards,
> Lukas
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@xxxxxxxxxxxxxxx
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux