httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: httpd-trunk r1133163 modules\dav\fs\dbm.c
Date Sun, 03 Jul 2011 07:17:27 GMT
On Sunday 03 July 2011, NormW wrote:
> G/M,
> 
> Now get this when compiling:
> > CC   mod_dav_fs.c
> > CC   dbm.c
> > ### mwccnlm Compiler:
> > #    File: dbm.c
> > # --------------
> > #      45:  APLOG_USE_MODULE(dav_fs);
> > #   Error:                          ^
> > #   identifier expected
> 
> seems like the 'dav_fs' symbol isn't visible here?

No, APLOG_USE_MODULE declares the symbol. But it seems there is an 
include at the wrong position, inside a #ifdef HAVE_SYSLOG. Please try 
this patch:

--- include/http_log.h
+++ include/http_log.h
@@ -31,12 +31,11 @@ extern "C" {
 #endif
 
 #include "apr_thread_proc.h"
+#include "http_config.h"
                                                                                         
                 
 #ifdef HAVE_SYSLOG                                                                      
                 
 #include <syslog.h>                                                               
                       
                                                                                         
                 
-#include "http_config.h"                                                                
                 
-
 #ifndef LOG_PRIMASK
 #define LOG_PRIMASK 7
 #endif

Mime
View raw message