android


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[2]: *** [Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/sockstream.cpp.o] Error 1
make[1]: *** [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

Related Links

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?

Categories

HOME
go
localization
c99
rdbms
google-spreadsheet
saml-2.0
shiro
yandex
database-normalization
echo
settings
startup
emoji
naivebayes
speech-synthesis
shared-libraries
flash-player
android-7.0-nougat
articulate-storyline
springfox
dpdk
backpack-for-laravel
exit
data.stackexchange.com
slidetoggle
ms-access-web-app
soot
send
mobx
sql-server-2000
kodi
playstation-portable
sammy.js
gojs
baidu-map
watchman
apache-stanbol
numberpicker
ssrs-2014
bindingnavigator
apollostack
snapchat
lampp
globalize
configurationmanager
payara-micro
type-theory
gpg-signature
flyout
change-tracking
model-associations
jquery-jscrollpane
delta
dimension
clipboard.js
dock
coda
eoferror
entity-framework-4.3
zxspectrum
shopizer
dbaccess
easyrtc
webfinger
psr-4
create.js
cancellation
live555
malformedurlexception
buffering
qscrollarea
android-audiorecord
modular
merb
css-reset
fb.ui
asplinkbutton
saleslogix
faye
user-tracking
matlab-load
entitydatasource
rmdir
timthumb
ie-compatibility-mode
object-database
eclipse-marketplace
cuda.net
application-planning
pbcopy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App