Embedding python: GCC gives errors of "undefined reference" to Py_* functions.

Shuaib aries.shuaib at gmail.com
Sat Aug 19 15:01:15 EDT 2006


Hey!

I am trying to embedd python into a C programe of mine. But when I try
to compile the C code, gcc gives errors like "undefined reference to
`Py_Finalize'" and the same kind for all the other functions. I have
incuded "Python.h".

Any idea what might be wrong?

Thanks.




More information about the Python-list mailing list