Re: Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-03 Thread Tom Evans
On Thu, May 2, 2013 at 6:46 PM, oneat on...@vp.pl wrote: Do you have any other samples for cpp coding for httpd? I heard about codea, but it seems a bit outdated. apxs doesn't really understand how to deal with C++ modules, to get this to work correctly I needed to write a Makefile: APXS=apxs

[users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread oneat
Hi. I'm writing my first module in c++ for apache and this is its code in mod_cpp.cpp file:    module AP_MODULE_DECLARE_DATA  cpp_module = {     STANDARD20_MODULE_STUFF,     NULL,     NULL,     NULL,     NULL,     NULL,     register_hooks    };   static int handle(request_rec *r){  

Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 12:22 PM, oneat on...@vp.pl wrote: Hi. I'm writing my first module in c++ for apache and this is its code in mod_cpp.cpp file: module AP_MODULE_DECLARE_DATA cpp_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL,

Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread oneat
On Thu, May 2, 2013 at 12:22 PM, oneat on...@vp.pl wrote: Hi. I'm writing my first module in c++ for apache and this is its code in mod_cpp.cpp file: module AP_MODULE_DECLARE_DATA cpp_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL,

Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 1:17 PM, oneat on...@vp.pl wrote: On Thu, May 2, 2013 at 12:22 PM, oneat on...@vp.pl wrote: Hi. I'm writing my first module in c++ for apache and this is its code in mod_cpp.cpp file: module AP_MODULE_DECLARE_DATA cpp_module = { STANDARD20_MODULE_STUFF,

Re: Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread oneat
On Thu, May 2, 2013 at 1:17 PM, oneat on...@vp.pl wrote: On Thu, May 2, 2013 at 12:22 PM, oneat on...@vp.pl wrote: Hi. I'm writing my first module in c++ for apache and this is its code in mod_cpp.cpp file: module AP_MODULE_DECLARE_DATA cpp_module = { STANDARD20_MODULE_STUFF,