I am trying to compile the apache module given here:
http://people.apache.org/~humbedooh/mods/examples/mod_example_1.c

I get the following error:

*mod_example.c:13:1: **error: *
> *unknown type name 'module'*module AP_MODULE_DECLARE_DATA
> example_module =
>
> *^**mod_example.c:15:5: **error: *
> *use of undeclared identifier 'STANDARD20_MODULE_STUFF'*
> STANDARD20_MODULE_STUFF,
>
> *    ^**mod_example.c:30:5: **warning: *
> *implicit declaration of function 'ap_hook_handler' is invalid in C99
> [-Wimplicit-function-declaration]*    ap_hook_handler(example_handler,
> NULL, NULL, APR_HOOK_LAST);
>
> *    ^*1 warning and 2 errors generated.
> apxs:Error: Command failed with rc=65536


I'm on mac os x mavericks

Thanks a lot for your help

Reply via email to