Hi Marko,
Have you tried the CSipSimple app?
https://en.wikipedia.org/wiki/CSipSimple
Cheers
From: pjsip
[mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Marko Tirs via pjsip
Sent: June 4, 2018 12:15 PM
To: pjsip@xxxxxxxxxxxxxxx
Cc: Marko Tirs
Subject: pjsip Android make ERROR - 'features.h' file not found
Hi All,
I tried to compile pjsip
for Android and get errors again and again. I have seen in google that many
people have the same problem but no one of the solutions functions for me.
pjsip
2.7.1
android-ndk-r17
Ubuntu 17.10, 18.04
The simple ./configure
&& make dep && make functions OK.
TARGET_ABI=armeabi-v7a
./configure-android --use-ndk-cflags
make dep && make
In file included from
../src/pjmedia-codec/openh264.cpp:19:
In file included from ../include/pjmedia-codec/openh264.h:22:
In file included from ../include/pjmedia-codec/types.h:28:
In file included from ../include/pjmedia-codec/config.h:35:
In file included from ../include/pjmedia/types.h:28:
In file included from ../include/pjmedia/config.h:27:
In file included from ../../pjlib/include/pj/config.h:313:
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
#include <features.h>
Then
I tried to create empty file:
touch /usr/src/android-ndk-r17/sources/cxx-stl/llvm-libc++/include/features.h
And after it I get another error message:
In file included from ../src/pjmedia-codec/openh264.cpp:19:
In file included from ../include/pjmedia-codec/openh264.h:22:
In file included from ../include/pjmedia-codec/types.h:29:
In file included from ../include/pjmedia/codec.h:29:
In file included from ../include/pjmedia/port.h:30:
In file included from ../include/pjmedia/frame.h:28:
In file included from ../../pjlib/include/pj/string.h:29:
In file included from ../../pjlib/include/pj/compat/string.h:30:
/usr/src/android-ndk-r17/sources/cxx-stl/llvm-libc++/include/string.h:61:15:
fatal error: 'string.h' file not found
#include_next <string.h>
# echo $ANDROID_NDK_ROOT
/usr/src/android-ndk-r17
# echo $KERNEL_DIR
/usr/src/linux-headers-4.15.0-22
# echo $PJPROJECT_DIR
/usr/src/pjproject-2.7.1
# cat /usr/src/pjproject-2.7.1/pjlib/include/pj/config_site.h
/* Activate Android specific settings in the 'config_site_sample.h' */
#define PJ_CONFIG_ANDROID 1
#include <pj/config_site_sample.h>
I tried also to deactivate many components but no success:
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags
--disable-floating-point --disable-sound --disable-small-filter
--disable-large-filter --disable-g711-plc --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-speex-codec
--disable-ilbc-codec --disable-ssl --disable-sdl --disable-ffmpeg
--disable-v4l2 --disable-openh264 --disable-libyuv
Can
anyone please help me to compile and use pjsip on my smartphone?
Thank you
very much!
Marko
|
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org