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

2013-05-02 Thread oneat
and actibvate by apxs -i -a -c mod_cpp.cpp I get: [oneat@localhost ~]$ sudo apxs -iac  mod_cpp.cpp /usr/lib/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now   -o mod_cpp.la  -rpath /usr/lib/httpd/modules -module -avoid-version    mod_cpp.cpp apxs:Error: Sorry, cannot determine

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: 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, NULL