httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From megha chauhan <megha...@gmail.com>
Subject Re: [users@httpd] ap_log_error dumps on apache start with apache 2.4
Date Mon, 19 Sep 2016 05:39:26 GMT
Hello Eric,

The code is compiled with the below headers:

APA24_ORG     = httpd-$(APA24_VERSION)

APA24_DIR     = httpd-$(APA24_VERSION)

APA24_INSTDIR = $(shell pwd)/$(APA24_DIR)/inst

APA24_TAZ     = $(APA24_ORG).tar.gz



APA24_IDIR    = $(APA24_INSTDIR)/include



APA24_HDR_INCL = $(APA24_DIR)/include

Also in the source code I have included the headers

#include “httpd.h”

#include “http_log.h”



Same issue persists.



Should we include any other header?

Best Regards,

Megha
---------- Forwarded message ----------
From: Eric Covener <covener@gmail.com>
Date: Fri, Sep 16, 2016 at 3:59 PM
Subject: Re: [users@httpd] ap_log_error dumps on apache start with apache
2.4
To: users@httpd.apache.org


On Fri, Sep 16, 2016 at 1:20 AM, megha chauhan <megha92c@gmail.com> wrote:
> The same code is working for apache 2.2.

Did you compile this code properly against 2.4 headers? ap_log_error
is a macro in 2.4.  Your binary should only show ap_log_error_ as
undefined with nm otherwise something is fishy.

Also "r" is a very confusing variable name for a server_rec.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Mime
View raw message