This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alexandru Ardelean
Recipients Alexandru Ardelean, christian.heimes
Date 2018-09-17.10:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The issue seems a bit older ; see comment:

Build error happens on OpenWrt as well:

<openwrt>/build_dir/target-i386_pentium4_musl/Python-3.7.0/Modules/_ssl.c:4000:5: error: implicit declaration of function 'DH_free'; did you mean 'lh_free'? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_tkinter              _uuid                 nis
To find the necessary bits, look in in detect_modules() for the module's name.

The following modules found by detect_modules() in, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd
time                  zlib

Failed to build these modules:

Makefile:618: recipe for target 'sharedmods' failed


The fix seems to be to include <openssl/dh.h>.
Date User Action Args
2018-09-17 10:06:35Alexandru Ardeleansetrecipients: + Alexandru Ardelean, christian.heimes
2018-09-17 10:06:35Alexandru Ardeleansetmessageid: <>
2018-09-17 10:06:35Alexandru Ardeleanlinkissue34710 messages
2018-09-17 10:06:35Alexandru Ardeleancreate