[Pythonmac-SIG] Getting closer on C module extension building.

Louis M. Pecora pecora@anvil.nrl.navy.mil
Tue, 11 Apr 2000 12:35:35 -0400


>Lou Pecora <pecora@anvil.nrl.navy.mil> wrote:
>>Anyone know why it can't find the initC_test symbol/function?  Thanks.
>
>It probably isn't exported from the fragment.  One of the project
>preference panels (PPC Linker I think, but I'm using MPW now) has export
>settings which are probably "None" for you.  You can set it to use an
>export file, which is just a text file where you list the symbols you want
>exported.

Thanks, Brendan. Did that by adding an .exp file to my project (same name as project, but with .exp at the end (Rob Managan suggested something like this). I included it in the project and told Linker PEF to use .exp to export symbols.  But now the linker is complaining that it can't find one of the routines ("square" if you still have the old message I sent).  It's there in the C source code and its name is in the .exp file.  Still puzzled about how this works.  Must have somethhing else set wrong in the project.  Thanks, again, but I'm still stumbling.




Cheers,

Lou Pecora