-
Notifications
You must be signed in to change notification settings - Fork 862
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
failed to cross-compile for Android #37
Comments
Hey, where did you find the definitions for node_t? I tried to copy the files as you say but I cannot find definitions of node_t. |
@Periphory well, since this was a nearly two-year old issue, things may change drastically :( |
Hmm, I cannot find a more up-to-date straight build for Android. None of the files that are in the place you linked have been updated since before then so there must be a definition somewhere. |
I've added following paragraph to README:
Tell me, is Android build still relevant for your project? Probably, |
redudp.c
has been usingtfind / tsearch
functions (defined in<search.h>
) since commit 709646d, which causes the failure of cross-compiling for Android, because the Android standalone toolchain doesn't provide<search.h>
, neither does it implementstfind
related functions.A quick fix can be done by downloading the missing files from here, put them into the redsocks repo, and update
Makefile
to add these dependencies. (tested on my machine and it works)What do you think?
The text was updated successfully, but these errors were encountered: