httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: lar2: build warnings
Date Thu, 18 Sep 2003 05:08:28 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>mod_apreq_access_test.c:71:1: warning: "APACHE_HTTPD_TEST_ACCESS_CHECKER"
>>redefined
>>In file included from mod_apreq_access_test.c:64:
>>/home/stas/apache.org/httpd-apreq-2/env/c-modules/apache_httpd_test.h:50:1:
>>warning: this is the location of the previous definition
>>mod_apreq_access_test.c:72:1: warning: "APACHE_HTTPD_TEST_COMMANDS" redefined
>>/home/stas/apache.org/httpd-apreq-2/env/c-modules/apache_httpd_test.h:86:1:
>>warning: this is the location of the previous definition
>>mod_apreq_access_test.c:73:1: warning: "APACHE_HTTPD_TEST_PER_DIR_CREATE"
>>redefined
>>/home/stas/apache.org/httpd-apreq-2/env/c-modules/apache_httpd_test.h:74:1:
>>warning: this is the location of the previous definition
> 
> 
> This patch should fix; you may need to % make clean
> to get the c-modules to recompile during % make test.

It does. Thanks.

I always do make clean + ./buildconf when updating things.

> Index: env/c-modules/apreq_access_test/mod_apreq_access_test.c
> ===================================================================
> RCS file: /home/cvs/httpd-apreq-2/env/c-modules/apreq_access_test/mod_apreq_access_test.c,v
> retrieving revision 1.2
> diff -u -r1.2 mod_apreq_access_test.c
> --- env/c-modules/apreq_access_test/mod_apreq_access_test.c	11 Jul 2003 02:40:20 -0000
1.2
> +++ env/c-modules/apreq_access_test/mod_apreq_access_test.c	17 Sep 2003 21:46:09 -0000
> @@ -61,6 +61,10 @@
>  
>  #endif
>  
> +#define APACHE_HTTPD_TEST_ACCESS_CHECKER apreq_access_checker
> +#define APACHE_HTTPD_TEST_COMMANDS       access_cmds
> +#define APACHE_HTTPD_TEST_PER_DIR_CREATE create_access_config 
> +
>  #include "apache_httpd_test.h"
>  #include "apreq_params.h"
>  #include "apreq_env.h"
> @@ -68,9 +72,6 @@
>  #include "apr_strings.h"
>  
>  module AP_MODULE_DECLARE_DATA apreq_access_test_module;
> -#define APACHE_HTTPD_TEST_ACCESS_CHECKER apreq_access_checker
> -#define APACHE_HTTPD_TEST_COMMANDS       access_cmds
> -#define APACHE_HTTPD_TEST_PER_DIR_CREATE create_access_config 
>  
>  struct access_test_cfg {
>      apr_pool_t *pool;
> 


-- 


__________________________________________________________________
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


Mime
View raw message