Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 67793 invoked by uid 500); 9 Nov 2002 05:20:48 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 67769 invoked from network); 9 Nov 2002 05:20:48 -0000 Date: Fri, 8 Nov 2002 23:20:19 -0600 (CST) From: Randy Kobes To: jheckel cc: modperl@perl.apache.org, Subject: Re: [Win32] nmake error compiling mod_perl.so In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 7 Nov 2002, jheckel wrote: > Hi > since two weeks I can no longer compile the mod_perl-2.0 package from > the snapshot server without errors. The last "good" compilation was > 10/27/2002:-( > > Apache version 2.0.44-dev, WinXP, Perl 5.6.1 Build 633. > > My install commands: > perl Makefile.PL MP_AP_PREFIX=f:/apache2 > nmake > nmake install > ..... > "C:\Programme\Microsoft Visual Studio\VC98\lib\msvcrt.lib" -def:Access.def > Creating library ..\..\..\blib\arch\auto\Apache\Access\Access.lib > and object > ..\..\..\blib\arch\auto\Apache\Access\Access.exp > Access.obj : error LNK2001: unresolved external symbol _newSVpvf > ..\..\..\blib\arch\auto\Apache\Access\Access.dll : fatal error LNK1120: > 1 unresolved externals The following patch, ================================================================== Index: xs/Apache/Access/Apache__Access.h =================================================================== RCS file: /home/cvspublic/modperl-2.0/xs/Apache/Access/Apache__Access.h,v retrieving revision 1.6 diff -u -r1.6 Apache__Access.h --- xs/Apache/Access/Apache__Access.h 22 Oct 2002 15:13:22 -0000 1.6 +++ xs/Apache/Access/Apache__Access.h 9 Nov 2002 05:06:47 -0000 @@ -60,7 +60,7 @@ const char *errmsg; AV *config = newAV(); - av_push(config, newSVpvf("%s %s", directive, val)); + av_push(config, Perl_newSVpvf(aTHX_ "%s %s", directive, val)); errmsg = modperl_config_insert_request(aTHX_ r, ======================================================================= allows this symbol to be found, and the associated access tests pass with perl-5.8 on Win32. -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org