Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Fix POSIX build #75

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Fix POSIX build #75

merged 2 commits into from
Apr 11, 2023

Conversation

krish2718
Copy link
Collaborator

As per [1], newlibc now defines _ANSI_SOURCE to avoid POSIX conflicts, but as hostapd needs POSIX stuff from libc, need to enable this explicitly.

[1] - zephyrproject-rtos/zephyr#52739

@krish2718
Copy link
Collaborator Author

I thought this compiled successfully, but apparently not, so, please wait for proper fix.

Krishna T added 2 commits March 28, 2023 20:58
With upstream commit [1] when CONFIG_POSIX_API is enabled then Zephyr's
header are included before the `libc` headers causing issues as Zephyr
doesn't support POSIX signal implementation.

Resolve this by not using POSIX_API and add a negative dependency.

[1] - zephyrproject-rtos/zephyr@43110dd

Signed-off-by: Krishna T <[email protected]>
Without this the build fails, so, should be selected automatically
rather than relying on the application.

Signed-off-by: Krishna T <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants