develooper Front page | perl.perl5.porters | Postings from April 2006

[PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))

From:
Abe Timmerman
Date:
April 30, 2006 06:15
Subject:
[PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
Message ID:
200604301515.24580.abe@ztreet.demon.nl
Op een mooie winterdag (Sunday 30 April 2006 01:49),schreef  Abe Timmerman:
> Automated smoke report for 5.9.4 patch 28020
> neewa: x86 Family 6 Model 5 Stepping 2(~450 MHz) (x86/1 cpu)
>     on        MSWin32 - Win2000 SP4
>     using     ? unknown cc version
>     smoketime 5 minutes 49 seconds (average 1 minute 27.250 seconds)
>
> Summary: FAIL(m)
>
> O = OK  F = Failure(s), extended report at the bottom
> X = Failure(s) under TEST but not under harness
> ? = still running or test results not (yet) available
> Build failures during:       - = unknown or N/A
> c = Configure, m = make, M = make (after miniperl), t = make test-prep
>
>    28020     Configuration (common) -DINST_DRV=P:
> ----------- ---------------------------------------------------------
> m m         -Duseithreads -Duselargefiles
> m m         -Accflags='-DPERL_COPY_ON_WRITE' -Duseithreads -Duselargefiles

[snip]

> 'vsnprintf' undefined; assuming extern returning int universal.obj : error
> LNK2001: unresolved external symbol _snprintf util.obj : error LNK2001:
> unresolved external symbol _snprintf
> pp_ctl.obj : error LNK2001: unresolved external symbol _snprintf
> regcomp.obj : error LNK2001: unresolved external symbol _snprintf
> sv.obj : error LNK2001: unresolved external symbol _snprintf
> toke.obj : error LNK2001: unresolved external symbol _snprintf
> perlio.obj : error LNK2001: unresolved external symbol _vsnprintf
> ..\miniperl.exe : fatal error LNK1120: 2 unresolved externals

It looks like MSVC doesn't provide these, so here's a fix for #27987


Good luck,

Abe
-- 
Merijn> We *do* need tests (I am not good in tests: hint hint)

Calling all happy passive readers of perl5-porters - submit a patch, get your 
name into the AUTHORS file: fame, immortality and more spam.
                                      -- Nicholas Clark on p5p @ 2004-01-22



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About