-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sigtimedwait not supported in the Termux headers (supported on devices since api 23) #899
Comments
From @MeinFuehrer on March 28, 2017 22:31 Were you following these instructions? |
From @abijahm on March 29, 2017 5:35 yah i followed the instruction they solve the issue with glob.h it seems that the function sigtimedwait is not in the signal.h included in termux , could you have the solution to this |
From @MeinFuehrer on March 29, 2017 15:2 Those instructions are out of sync in two respects, namely, Might be a good idea posting a build log in the Nim forum. |
|
I believe the issue has already found a satisfactory fix on the Nim side. |
@MineFuehrer Great! I'll keep this open issue until sigtimedwait has been fixed. |
You mean a different approach from nim-lang/Nim#5646 ? |
Right - that workaround should work, but a proper solution here would mean that no workaround is needed! For that the plan is:
We will then have sigtimedwait (and another couple of missing functions) in the headers and libc. |
I'm closing this now, as Termux has switched to the unified headers. By default the C compiler in Termux targets API level 21, so |
* This is for compiling docker-tini, who is asking for sigtimedwait, which wasn't exposed in signal.h until API 23. termux#899 Signed-off-by: Vladimir Oltean <[email protected]>
* Upgrading is needed in order to fix the stupid situation we're in with docker-tini: * Needs to have API >= 23 for sigtimedwait (termux#899) * Needs to have API <= 21 for static linking (android/ndk#272) * The latter of the 2 above restrictions was removed in NDK r17, so that's why we're upgrading. * The other changes (removed headers and patches) are according to Mr. Fornwall himself: termux#1905 Signed-off-by: Vladimir Oltean <[email protected]>
* This is for compiling docker-tini, who is asking for sigtimedwait, which wasn't exposed in signal.h until API 23. termux#899 Signed-off-by: Vladimir Oltean <[email protected]>
* Upgrading is needed in order to fix the stupid situation we're in with docker-tini: * Needs to have API >= 23 for sigtimedwait (termux#899) * Needs to have API <= 21 for static linking (android/ndk#272) * The latter of the 2 above restrictions was removed in NDK r17, so that's why we're upgrading. * The other changes (removed headers and patches) are according to Mr. Fornwall himself: termux#1905 Signed-off-by: Vladimir Oltean <[email protected]>
* This is for compiling docker-tini, who is asking for sigtimedwait, which wasn't exposed in signal.h until API 23. termux#899 Signed-off-by: Vladimir Oltean <[email protected]>
* Upgrading is needed in order to fix the stupid situation we're in with docker-tini: * Needs to have API >= 23 for sigtimedwait (termux#899) * Needs to have API <= 21 for static linking (android/ndk#272) * The latter of the 2 above restrictions was removed in NDK r17, so that's why we're upgrading. * The other changes (removed headers and patches) are according to Mr. Fornwall himself: termux#1905 Signed-off-by: Vladimir Oltean <[email protected]>
* This is for compiling docker-tini, who is asking for sigtimedwait, which wasn't exposed in signal.h until API 23. termux#899 Signed-off-by: Vladimir Oltean <[email protected]>
* This is for compiling docker-tini, who is asking for sigtimedwait, which wasn't exposed in signal.h until API 23. termux#899 Signed-off-by: Vladimir Oltean <[email protected]>
From @abijahm on March 28, 2017 15:26
am trying to compile nimlang on android i get an error
undefined reference to sigtimedwait
Copied from original issue: termux/termux-app#288
The text was updated successfully, but these errors were encountered: