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 wrote: > On Thu, May 2, 2013 at 12:22 PM, oneat 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 = &g

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 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, >NU

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

2013-05-02 Thread oneat
ile it install 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:Er