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 <1537178795.41.0.956365154283.issue34710@psf.upfronthosting.co.za>
In-reply-to
Content
See: https://github.com/openwrt/packages/pull/7051
The issue seems a bit older ; see comment: 
https://github.com/python/cpython/pull/3943#discussion_r148949292

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]
     DH_free(dh);
     ^~~~~~~
     lh_free
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 setup.py in detect_modules() for the module's name.

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

Failed to build these modules:
_ssl

Makefile:618: recipe for target 'sharedmods' failed

---------------------------------------------------------------

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