Update main.c so wake-on-arp can compile on clang 17#20
Merged
nikp123 merged 1 commit intonikp123:masterfrom Oct 14, 2023
Merged
Update main.c so wake-on-arp can compile on clang 17#20nikp123 merged 1 commit intonikp123:masterfrom
nikp123 merged 1 commit intonikp123:masterfrom
Conversation
This fixed compiling on clang 17 on termux (Android arm)
Contributor
Author
|
I also just found that you'll need to do the following to make it work in Termux as well (but I don't think it needs code changes): Before you compile:
I'm running into a "socket error: Bad file descriptor" when trying to run wake-on-arp as normal, but I'm looking into it |
Owner
I think you might need root permissions due to the whole "listening to the entire network on your device". Try with those and report back PS: I'll look into the change in a sec, seems fine but better make sure that it works, thanks. |
Contributor
Author
|
Yup, you were right. I switched to a rooted phone that had termux and it worked! Thanks for your help. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixed compiling on clang 17 on termux (Android arm)