in reply to Re^2: Problem on XS
in thread Problem on XS module loading

so there may be some magics?

Truthfully, I don't know. I know enough to diagnose the problem, but not enough to resolve it.

From what I see in that section -- and the rest of the document -- there doesn't appear to be any mention of how to persuade the C++ compiler to not mangle the names of Perl's C APIs called from within the XS code. The normal way of doing this -- thereby allowing C apis to be called from C++ code -- is to use extern "C"{} as described here

As far as I can tell that would require you to modify Perl's header files, which doesn't seem right.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.