Hey All, I'm getting this error when I try to make mod_perl2, under solaris 9
>make cd "src/modules/perl" && make -f Makefile.modperl make[1]: Entering directory `/usr/share/src/modperl-2.0/src/modules/perl' gcc -I/usr/share/src/modperl-2.0/src/modules/perl -I/usr/share/src/modperl-2.0/xs -I/usr/local/apache2/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DMOD_PERL -O -fPIC \ -c mod_perl.c && mv mod_perl.o mod_perl.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory In file included from modperl_perl_includes.h:42, from mod_perl.h:5, from mod_perl.c:1: /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:23:1: warning: "VOIDUSED" redefined In file included from modperl_perl_includes.h:12, from mod_perl.h:5, from mod_perl.c:1: /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/config.h:3118:1: warning: this is the location of the previous definition mod_perl.c: In function `modperl_response_handler_cgi': mod_perl.c:712: `rcfg' undeclared (first use in this function) mod_perl.c:712: (Each undeclared identifier is reported only once mod_perl.c:712: for each function it appears in.) make[1]: *** [mod_perl.lo] Error 1 make[1]: Leaving directory `/usr/share/src/modperl-2.0/src/modules/perl' make: *** [modperl_lib] Error 2 bash-2.05# cd "src/modules/perl" && make -f Makefile.modperl from mod_perl.h:5, from mod_perl.c:1: /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/config.h:3118:1: warning: this is the location of the previous definition mod_perl.c: In function `modperl_response_handler_cgi': mod_perl.c:712: `rcfg' undeclared (first use in this function) mod_perl.c:712: (Each undeclared identifier is reported only once mod_perl.c:712: for each function it appears in.) make[1]: *** [mod_perl.lo] Error 1 make[1]: Leaving directory `/usr/share/src/modperl-gcc -I/usr/share/src/modperl-2.0/src/modules/perl -I/usr/share/src/modperl-2.0/xs -I/usr/local/apache2/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DMOD_PERL -O -fPIC \ -c mod_perl.c && mv mod_perl.o mod_perl.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory In file included from modperl_perl_includes.h:42, from mod_perl.h:5, from mod_perl.c:1: /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:23:1: warning: "VOIDUSED" redefined In file included from modperl_perl_includes.h:12, from mod_perl.h:5,from mod_perl.c:1: /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/config.h:3118:1: warning: this is the location of the previous definition mod_perl.c: In function `modperl_response_handler_cgi': mod_perl.c:712: `rcfg' undeclared (first use in this function) mod_perl.c:712: (Each undeclared identifier is reported only once mod_perl.c:712: for each function it appears in.) make[1]: *** [mod_perl.lo] Error 1 make[1]: Leaving directory `/usr/share/src/modperl-2.0/src/modules/perl' make: *** [modperl_lib] Error 2 Perl has been compilied with gcc 2.95, and I'm using system mallocs, I've also added the bincompat5005 option. >sh Configure -Ubincompat5005 -Dcc=gcc -de -Uusemymalloc It then makes, tests and installs nicely to /usr/local/bin/perl5.6.1 I've configure mod_perl with: > perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 Any one have any ideas? Oh and I'm running Solaris 9, with Apache 2.0.40cvs, it should also be noted that the mod_perl was pulled from CVS on July 8th. Is this just a broken build? -Joshua Bernstein Systems Administrator College of Engineering and Mines University of Arizona Tucson, Arizona, USA