httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Hu <>
Subject can't compile module with apxs
Date Mon, 27 Feb 2012 09:13:52 GMT

I just tried to write a module which must get core_module's configuration.
So I wrote following code:

#include "http_core.h"

 *core_request_config *reqconf;*
* reqconf = (core_request_config
*)ap_get_module_config(r->request_config, &core_module);*

but I can't compile module with apxs after I added this code line.  Error
message is : "core_reqeust_config & reqconf & core_module undeclared".

Should I add some compile parameters in apxs?


Best regards,

Rui Hu
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)

View raw message