Attempt to export non-public symbol
g_will at cyberus.ca
Tue May 16 14:33:06 CEST 2000
Sounds like you need a .def file to change the name from _initoptprice to
initoptrice. It should contain something like
initoptprice = _initoptprice
I dont know what compiler you are using. I wrote a HOWTO for creating
extensions using the free Borland compiler where you might find more
information at http://www.cyberus.ca/~g_will/pyExtenDL.shtml .
nicshane at my-deja.com wrote in article <8fpp73$4da$1 at nnrp1.deja.com>...
> I am currently trying to enable my c code to be called from python. I
> have written a simple module which worked fine but am now trying to
> incorporate a much larger module following the same procedures and am
> not having any success. One difference which I guess is the problem is
> a warning message I get when linking :
> Warning : Attempt to export a non-public symbol '_initoptprice'
> This is the only difference between the working and non-working
> versions. As it is on the init function it is more than likely the
> problem ??
> Any ideas how to eradicate this ??
> Sent via Deja.com http://www.deja.com/
> Before you buy.
More information about the Python-list