Fix errors when building with an alternative libc than glibc - #149
Fix errors when building with an alternative libc than glibc#149Jaeyoon Jung (jaeyoonjung) wants to merge 10 commits into
Conversation
Otherwise it ends up failed when building with an alternative libc such as musl. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
d5a4552 to
2fdd36b
Compare
Dmitry Baryshkov (lumag)
left a comment
There was a problem hiding this comment.
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 <jaeyoon.jung@lge.com>
|
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 <jaeyoon.jung@lge.com>
Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Remove __unused macro and use __attribute__((unused)) instead. Use -1 instead of NULL for SOCKET type. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Have HAVE_SYS_SOCKET_H defined by configure. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Remove __unused macro and use __attribute__((unused)) instead. '#include <unistd.h>' is needed by 'usleep' and 'close'. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
|
Jaeyoon Jung (@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 <jaeyoon.jung@lge.com>
Have HAVE_SYS_SOCKET_H defined by configure. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Remove __unused macro. Use 0 over NULL for int type. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
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.