I am rewriting the Algorithm::SkipList module so that the node class (Algorithm::SkipList::Node) is in C (which spaves a ton of memory, not to mention a little faster).
The problem is that the module won't build:
ExtUtils::Mksymlists::Mksymlists('lib\Algorithm\SkipList\Node') Generating script 'lib\Algorithm\SkipList\Node.lds' link @"lib\Algorithm\SkipList\Node.lds" -out:"blib\arch\auto\Algorithm +\SkipList\ Node\Node.dll" lib\Algorithm\SkipList\Node.obj : warning LNK4042: object specified mo +re than on ce; extras ignored lib\Algorithm\SkipList\Node.obj : warning LNK4042: object specified mo +re than on ce; extras ignored Node.def : error LNK2001: unresolved external symbol boot_Algorithm__S +kipList Node.def : error LNK2001: unresolved external symbol boot_Algorithm__S +kipList blib\arch\auto\Algorithm\SkipList\Node\Node.lib : fatal error LNK1120: + 2 unresol ved externals LINK : fatal error LNK1141: failure during build of exports file
I think this is because the Node.def file defines the bootstrap name for Algorithm::SkipList rather than Algorithm::SkipList::Node:
LIBRARY "Node" EXPORTS boot_Algorithm__SkipList _boot_Algorithm__SkipList = boot_Algorithm__SkipList
I suspect there's a problem with ExtUtils::Mksymlists, but I'm not sure.
I would rather not make Algorithm::SkipList::Node a separate module (which seems to be the only workaround that I'm aware of). Is there a better way to fix this, or have I run into a limitation or bug with ExtUtils::MakeMaker?
In reply to XS namespace problem by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |