-
Notifications
You must be signed in to change notification settings - Fork 31
Fix errors when building with an alternative libc than glibc #149
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
base: scarthgap
Are you sure you want to change the base?
Conversation
Otherwise it ends up failed when building with an alternative libc such as musl. Signed-off-by: Jaeyoon Jung <[email protected]>
lumag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to go to OE-Core instead.
Hmm, or not. Please ignore my comment. |
It's unnecessary and redundant as BASE_DEFAULT_DEPS already has virtual/libc, and causing an error when building with an alternative libc implementation such as musl. Signed-off-by: Jaeyoon Jung <[email protected]>
|
Added one more commit 284edd9 |
Can you update update the PR title acording, removing the bluez5_%.bbappend given that PR is more extensive. |
Backports the commit 300f7b5c0d5e223441e4687113d55d4350859f9e from upstream. Signed-off-by: Jaeyoon Jung <[email protected]>
Signed-off-by: Jaeyoon Jung <[email protected]>
Remove __unused macro and use __attribute__((unused)) instead. Use -1 instead of NULL for SOCKET type. Signed-off-by: Jaeyoon Jung <[email protected]>
Have HAVE_SYS_SOCKET_H defined by configure. Signed-off-by: Jaeyoon Jung <[email protected]>
Remove __unused macro and use __attribute__((unused)) instead. '#include <unistd.h>' is needed by 'usleep' and 'close'. Signed-off-by: Jaeyoon Jung <[email protected]>
|
@jaeyoonjung thanks for submitting this PR. Since this branch is not yet accepting changes directly via GitHub, will raise this issue internally, get changes accepted there. |
Add missing function declarations. Have HAVE_SYS_SOCKET_H defined by configure. Signed-off-by: Jaeyoon Jung <[email protected]>
Have HAVE_SYS_SOCKET_H defined by configure. Signed-off-by: Jaeyoon Jung <[email protected]>
Remove __unused macro. Use 0 over NULL for int type. Signed-off-by: Jaeyoon Jung <[email protected]>
Alright. I've added one more set of commits, which seems to be the last I guess. |
Otherwise it ends up failed when building with an alternative libc such as musl.