httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prakash Premkumar <prakash.p...@gmail.com>
Subject Unable to compile module
Date Mon, 06 Jul 2015 09:32:14 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message