ask help for problem with static linking (fwd)

Gordon McMillan gmcm at hypernet.com
Fri Jun 4 16:37:03 EDT 1999


Xiaohong Yuan wrote:

> I am trying to link my c extension module staticly with python
> interpreter. But in my c extension module, I have external variable
> declaration, which makes it fail to be linked with Python
> interpreter. There must be some way to solve this, could anybody
> help me with this?

Please forgive the lack of response to your query, but I think people 
are confused about what you are asking.

A variable declared as "extern" will have to be found in some object 
when you link. Is this variable something you expected the Python 
interpreter to expose? If so, what is it? What version of Python? 
What platform? What compiler?

- Gordon




More information about the Python-list mailing list