Wolfssl 5.2.0 fails to build on windows #390

Open
opened 2 months ago by duke · 2 comments
duke commented 2 months ago
Owner

It gets a undefined reference to "InetPton" in src/ssl.c

@fekt found that it looks like this bug in wolfssl :

https://github.com/wolfssl/wolfssl/issues/4684

Which means we should be able to add this patch to our build system to fix it :

https://patch-diff.githubusercontent.com/raw/wolfSSL/wolfssl/pull/4688.patch

It gets a `undefined reference to "InetPton"` in src/ssl.c @fekt found that it looks like this bug in wolfssl : https://github.com/wolfssl/wolfssl/issues/4684 Which means we should be able to add this patch to our build system to fix it : https://patch-diff.githubusercontent.com/raw/wolfSSL/wolfssl/pull/4688.patch
duke added the
bug
label 2 months ago
Poster
Owner

There is now a wolfssl_win branch that gets us part of the way there, but we need the correct patch to apply to wolfssl 5.2.0

There is now a `wolfssl_win` branch that gets us part of the way there, but we need the correct patch to apply to wolfssl 5.2.0
Collaborator

Just noting that patch was already applied in 5.2.0 so the message you were getting when trying to apply was accurate.

4.8.1 works and the main difference comparing wc_port.h is that it doesn't have this include for ws2tcpip.h which says is required for InetPton.

Just noting that patch was already applied in 5.2.0 so the message you were getting when trying to apply was accurate. 4.8.1 works and the main difference comparing wc_port.h is that it doesn't have [this](https://github.com/wolfSSL/wolfssl/blob/v5.2.0-stable/wolfssl/wolfcrypt/wc_port.h#L75) include for `ws2tcpip.h` which says is required for InetPton.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.