Skip to content

C-API header files break compilation #103317

@Jon-Croz

Description

@Jon-Croz

Bug report

I am extending a currently-functional C program with a new module that contains embedded python. As such, I set my environment variables, LDFLAGS / CFLAGS, PYTHONHOME, load the intel modules I need, and everything compiles except the references to Python.h's related files. There is nothing wrong with Python.h (as far as I'm concerned), but rather the libraries it calls (specifically: object.h, pytime.h, objimpl.h, bytesobject.h and unicodeobject.h.

I've tested the compilation for Python2.7, and it works fine. Python3.9's libraries are giving me problems.

Your environment

CentOS Linux 7, intel64/2019/mpiicc, Python3.9

2023-4-6_Python-C-API.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions