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@xxxxxxxxx>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@xxxxxxxxxxxxxxxxOn Fri, Sep 16, 2016 at 1:20 AM, megha chauhan <megha92c@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx