Android NDK Cross Compile sys/signal.h: No such file or directory
I am compiling gdcm with cross compile but it gives following error for sys/signal.h: No such file or directory ( NDK does not have that I know it) but is there any alternative I can resolve that error for Cross compilation of library. In file included from /home/kirtan.patel/Desktop/GDCMMob/Build/Utilities/socketxx/socket++/config.h:135:0, from /home/kirtan.patel/Desktop/GDCMMob/GDCMSource/Utilities/socketxx/socket++/sockstream.h:22, from /home/kirtan.patel/Desktop/GDCMMob/GDCMSource/Utilities/socketxx/socket++/sockstream.cpp:49: /home/kirtan.patel/Desktop/GDCMMob/GDCMSource/Utilities/socketxx/socket++/local.h:40:24: fatal error: sys/signal.h: No such file or directory #include <sys/signal.h> ^ compilation terminated. make: *** [Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/sockstream.cpp.o] Error 1 make: *** [Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/all] Error 2
sys/signal.h is only available in latest Android NDK and under platforms above and equal to 21 (/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/signal.h). I had this issue while building RTKLib and fixed this using latest Toolchain. Thanks, Himanshu
Setup Mailgun for Parse-server-example on Heroku
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. in Module
Setting layout weight to dynamically added view is not working in Android
Popup User Authentication Window in android webview
Changing the color of the text in the action bar in android studio [duplicate]
Invalid Registration when sending message to mobile device via GCM
Android adding new Gmail contact
MP4 does not play from Azure Blob on Android
push notification keeps appearing whenever i open my apps
Android how to turn Location services on programmatically?
Retrofit 2.0.2: how to cache GET request?
xFinium Pdf: ConvertPdfToImage create nullpointerexception
Nonsensical jReddit Build Errors
With Xamarin for Android is Mono runtime installed more than once?
Create video using text and music using FFmpeg
How to remove unwanted link from TextView android?