You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stefan Sabolowitsch <St...@feltengmbh.de> on 2002/08/13 18:42:00 UTC

Compiling problems with Apache 2.040 (Win32)and mod_perl2 last version.

Hi NG.
I has here the current Apache 2.040 for Win32.
With compile of the last mod_perl2 version, get I the following error 
message.  

#-#-#-#-##-#-#-#-#-#-#-#

        cl -IG:/cygwin/tmp/modperl5/src/modules/perl -IG:/cygwin/tmp/modperl5/xs
 -IG:\Apache2/include -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -D
HAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READF
IX  -I"G:\Perl\lib\CORE" -DMOD_PERL -O1 -MD -DNDEBUG   -c mod_perl.c && G:\Perl\
bin\perl.exe -IG:\Perl\lib -IG:\Perl\lib -MExtUtils::Command -e mv mod_perl.obj
mod_perl.lo
mod_perl.c
G:\Perl\lib\CORE\perl.h(23) : warning C4005: 'VOIDUSED' : Makro-Neudefinition
        G:\Perl\lib\CORE\config.h(3118) : Siehe vorherige Definition von 'VOIDUS
ED'
mod_perl.c(511) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei
'int (__cdecl *)(struct ap_filter_t *)' und 'int ' unterschiedlich
mod_perl.c(511) : warning C4024: 'ap_register_output_filter' : Unterschiedliche
Typen fuer formalen und uebergebenen Parameter 3
mod_perl.c(511) : error C2198: 'ap_register_output_filter' : Nicht genuegend Par
ameter uebergeben
mod_perl.c(515) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei
'int (__cdecl *)(struct ap_filter_t *)' und 'int ' unterschiedlich
mod_perl.c(515) : warning C4024: 'ap_register_input_filter' : Unterschiedliche T
ypen fuer formalen und uebergebenen Parameter 3
mod_perl.c(515) : error C2198: 'ap_register_input_filter' : Nicht genuegend Para
meter uebergeben
mod_perl.c(519) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei
'int (__cdecl *)(struct ap_filter_t *)' und 'int ' unterschiedlich
mod_perl.c(519) : warning C4024: 'ap_register_output_filter' : Unterschiedliche
Typen fuer formalen und uebergebenen Parameter 3
mod_perl.c(519) : error C2198: 'ap_register_output_filter' : Nicht genuegend Par
ameter uebergeben
mod_perl.c(523) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei
'int (__cdecl *)(struct ap_filter_t *)' und 'int ' unterschiedlich
mod_perl.c(523) : warning C4024: 'ap_register_input_filter' : Unterschiedliche T
ypen fuer formalen und uebergebenen Parameter 3
mod_perl.c(523) : error C2198: 'ap_register_input_filter' : Nicht genuegend Para
meter uebergeben
NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : Rueckgabe-Code '0x2'
Stop.

#-#-#-#-#-#-#-#


With Apache 2.039 (Win32) there are no problems.
Possibly does someone have an idea?  

Thanks for each assistance.

Stefan


Re: Compiling problems with Apache 2.040 (Win32)and mod_perl2 last version.

Posted by Stas Bekman <st...@stason.org>.
Stefan Sabolowitsch wrote:
> Hi NG.
> I has here the current Apache 2.040 for Win32.
> With compile of the last mod_perl2 version, get I the following error 
> message.  
[...]
> mod_perl.c(511) : warning C4047: 'function' : Anzahl der Dereferenzierungen bei
> 'int (__cdecl *)(struct ap_filter_t *)' und 'int ' unterschiedlich
> mod_perl.c(511) : warning C4024: 'ap_register_output_filter' : Unterschiedliche
> Typen fuer formalen und uebergebenen Parameter 3
> mod_perl.c(511) : error C2198: 'ap_register_output_filter' : Nicht genuegend Par
> ameter uebergeben
[...]
> With Apache 2.039 (Win32) there are no problems.
> Possibly does someone have an idea?  

Try building with the cvs mod_perl version:
http://perl.apache.org/docs/2.0/user/install/install.html#Installing_from_Source

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com