Nico,
I'm moving this to the vmsperl list as there may be others interested
and/or more knowledgeable than me.
cc/names=truncated will not work because the extension-building
mechanism in Perl does its own name shortening, which will be
incompatible with any done by the C compiler. The problem that
arises then is that the expat library does not go through the Perl
extension preprocessor, so there is no automatic way to shorten its
names in a fashion compatible with those in the the extension. The
only workaround is to manually identify the long symbol names shared
between XML::Parser and expat, and then manually whack them into
something shorter but still unique. I think the only way to identify
which symbols is to follow the linker warnings.
I'd like to see us in the future have the option of leaving long
symbol names alone in the extension preprocessor and then let the
C compiler (6.0 or later only) handle the shortening, but as far as I
know no one has looked into this yet.
At 5:07 PM +0100 1/4/01, Nico Verwer wrote:
>Dear David, Craig,
>
>On the vmsperl newsgroup I found that you have both installed XML::Parser
>and XML::Parser::Expat on VMS, with some degree of success. I am trying to
>do this myself, on OpenVMS 7.2, using Perl 5.6.0. However, I have not been
>able to build XML::Parser, and would like to ask you for some help.
>I have patched File::Spec::VMS.pm as indicated in the newsgroup.
>I have not patched MM_VMS, as this appears to be okay under Perl 5.6.0.
>I use cc/names=truncated
>
>Apparently, I should also change some symbols in the expat.xs files. Do you
>have a list of these?
>
>Thanks for any help you can provide!
>
>Best regards,
>Nico Verwer
>[EMAIL PROTECTED]
--
____________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]