[Catalyst] Testers Wanted: Cache::FastMmap 1.15 (w/Win32 Support)

Ash Berlin ash at cpan.org
Sun Oct 29 23:45:46 GMT 2006


Nilson Santos Figueiredo Junior wrote:

> ..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.exp
> mmap_cache.obj : error LNK2019: unresolved external symbol _vsnprintf 
> referenced
> in function __mmc_set_error
> ..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.dll : fatal error LNK1120: 
> 1 unreso
> lved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual 
> Studio .N
> ET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
> 

Hmmm okay. Could you try editing Win32.c and including varargs.h and 
changing line 467 to one of the following:

_vsnprintf(errbuf, 1023, error_string, ap);
_vsprintf(errbuf, error_string, ap);
vsprintf(errbuf, error_string, ap);
vsnprintf_s(errbuf, 1023, _TRUNCATE, error_string, ap);

You might have to re `perl Makefile.PL` to get it to updated properly.

Let me know if any of the above make any difference.

Ash



More information about the Catalyst mailing list