Re: can't compile module with apxs

2012-02-28 Thread Nick Kew
On Mon, 27 Feb 2012 17:13:52 +0800 Rui Hu tchrb...@gmail.com wrote: Should I add some compile parameters in apxs? No, but you should probably have posted to the modules-dev list rather than here. It's not a compile problem, it's a design problem. You're trying to use data that's private to

Re: can't compile module with apxs

2012-02-28 Thread Rui Hu
Thanks for your advice :-) Rui Hu 2012/2/27 Nick Kew n...@webthing.com On Mon, 27 Feb 2012 17:13:52 +0800 Rui Hu tchrb...@gmail.com wrote: Should I add some compile parameters in apxs? No, but you should probably have posted to the modules-dev list rather than here. It's not a

can't compile module with apxs

2012-02-27 Thread Rui Hu
hi, 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