Error building pjsip 2.7 with ndk 15c

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

 



Hi All,

With the release of pjsip 2.7 we can now successfully build for Android using ndk-13b & ndk-14b (yeah), but, it does not work for ndk-15c (boo)

We get an error in the openh264 build referencing a missing header file as follows:

/opt/ndk/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar: creating ../lib/libpjmedia-arm-unknown-linux-androideabi.a In file included from /opt/ndk/android-ndk-r15c/platforms/android-19/arch-arm/usr/include/linux/posix_types.h:41:0,                  from /opt/ndk/android-ndk-r15c/platforms/android-19/arch-arm/usr/include/sys/types.h:37,                  from /opt/ndk/android-ndk-r15c/platforms/android-19/arch-arm/usr/include/stdio.h:50,
                 from ../../pjlib/include/pj/compat/string.h:39,
                 from ../../pjlib/include/pj/string.h:29,
                 from ../include/pjmedia/frame.h:28,
                 from ../include/pjmedia/port.h:30,
                 from ../include/pjmedia/codec.h:29,
                 from ../include/pjmedia-codec/types.h:29,
                 from ../include/pjmedia-codec/openh264.h:22,
                 from ../src/pjmedia-codec/openh264.cpp:19:
/opt/ndk/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi/asm/posix_types.h:32:37: fatal error: asm-generic/posix_types.h: No such file or directory
 #include <asm-generic/posix_types.h>
                                     ^
compilation terminated.
make[2]: *** [output/pjmedia-codec-arm-unknown-linux-androideabi/openh264.o] Error 1

Anyone else have this issue?  How did you resolve it if you did?

Best regards,

-- Scott.


_______________________________________________
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