Logan Chien added the comment: It seems that this is still reproducible with Python 3.5 (dev) by running:
$ gcc test.c `python3-config --includes --ldflags` cpython-install/lib/python3.5/config-3.5m/libpython3.5m.a(pytime.o): In function `_PyTime_ObjectToTime_t': cpython-build/../cpython/Python/pytime.c:371: undefined reference to `ceil' cpython-build/../cpython/Python/pytime.c:373: undefined reference to `floor' ... skipped ... I have slightly revised the patch to include Misc/python-config.sh.in as well. Please have a look. Thanks. ---------- keywords: +patch nosy: +Logan.Chien versions: +Python 3.5 Added file: http://bugs.python.org/file36767/fix-undef-ref.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com