On Sat, Jun 25, 2005 at 06:05:31PM -0400, vadim wrote:
> Dear all,
> 
> when building with ITHREADS, MULTIPLICITY, IMP_SYS turned off, and
> PERL_MALLOC, PERLIO turned on, following linker error happens:
> 
> 
>         link -dll -def:perldll.def -base:0x28000000 -out:..\perl59.dll
> @[EMAIL PROTECTED]:\Temp\nmb00668.^M
> perldll.def : error LNK2001: unresolved external symbol PL_dumper_fd^M
> ..\perl59.lib : fatal error LNK1120: 1 unresolved externals^M
> LINK : fatal error LNK1141: failure during build of exports file^M
> NMAKE : fatal error U1077: 'link' : return code '0x475'^M
> Stop.^M
> 
> (miniperl is built okay)
> 
> 
> could you please anyone  advice how this should be fixed?

Aargh. Can anyone figure out a way to automate this? I think adding
this to makedef.pl will do it:

unless ($define{'DEBUG_LEAKING_SCALARS_FORK_DUMP'}) {
    skip_symbols [qw(
                    PL_dumper_fd
                    )];
}

Does this fix it?

Nicholas Clark

Reply via email to