-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
2.14.1: Compilation issue on NetBSD #2310
Comments
ARM Internal Ref: IOTSSL-2677 |
|
We don't have NetBSD on our CI. A patch would be welcome, but of course it mustn't break other platforms. Commenting out |
AFAIK, both Solaris and NetBSD hide symbols when particular requirements are defined using e.g. _POSIX_C_SOURCE.
or |
Fixes Mbed-TLS#2310 Signed-off-by: Nia Alarie <[email protected]>
Fixes Mbed-TLS#2310 Signed-off-by: nia <[email protected]>
When compiling on NetBSD (8.99.27/amd64) the build stops because
sockaddr_storage
is not defined.The problem is that in
library/net_sockets.c
, the symbol_POSIX_C_SOURCE
is defined to200112L
. In contrast to Linux, NetBSD removes symbols from the namespace when particular namespaces are requested.(I think this might also be a problem on Solaris because it also likes to removes symbols.)
Workaround:
Please note the comment is incorrect ;)
The text was updated successfully, but these errors were encountered: