[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Modcaml] Failing to Compile mod_caml on Leopard
From: |
Robert Fischer |
Subject: |
[Modcaml] Failing to Compile mod_caml on Leopard |
Date: |
Sun, 13 Apr 2008 21:40:30 -0500 |
Looking for any advice on how to go about fixing this problem -- I'm
using Ocaml 3.10.1, and with either Apache 2 or Apache 1.3, I get the
following error when doing a "make" on mod_caml:
mod_caml_c.c:104: error: syntax error before ‘pool’
mod_caml_c.c: In function ‘module_init’:
mod_caml_c.c:106: warning: passing argument 1 of
‘ap_add_version_component’ from incompatible pointer type
mod_caml_c.c:106: error: too few arguments to function
‘ap_add_version_component’
mod_caml_c.c: At top level:
mod_caml_c.c:164: error: syntax error before ‘*’ token
mod_caml_c.c: In function ‘alloc_root_value’:
mod_caml_c.c:166: error: ‘p’ undeclared (first use in this function)
mod_caml_c.c:166: error: (Each undeclared identifier is reported only
once
mod_caml_c.c:166: error: for each function it appears in.)
mod_caml_c.c:173: error: ‘ap_null_cleanup’ undeclared (first use in
this function)
mod_caml_c.c: At top level:
mod_caml_c.c:179: error: syntax error before ‘*’ token
mod_caml_c.c: In function ‘create_dir_config’:
mod_caml_c.c:181: error: ‘dirname’ undeclared (first use in this
function)
mod_caml_c.c:182: error: ‘p’ undeclared (first use in this function)
mod_caml_c.c: At top level:
mod_caml_c.c:191: error: syntax error before ‘*’ token
mod_caml_c.c: In function ‘merge_dir_config’:
mod_caml_c.c:193: error: ‘p’ undeclared (first use in this function)
mod_caml_c.c:197: error: ‘base’ undeclared (first use in this function)
mod_caml_c.c:197: error: ‘add’ undeclared (first use in this function)
mod_caml_c.c: At top level:
mod_caml_c.c:202: error: syntax error before ‘*’ token
mod_caml_c.c: In function ‘create_server_config’:
mod_caml_c.c:204: error: ‘s’ undeclared (first use in this function)
mod_caml_c.c:205: error: ‘p’ undeclared (first use in this function)
mod_caml_c.c: At top level:
mod_caml_c.c:214: error: syntax error before ‘*’ token
mod_caml_c.c: In function ‘merge_server_config’:
mod_caml_c.c:216: error: ‘p’ undeclared (first use in this function)
mod_caml_c.c:220: error: ‘base’ undeclared (first use in this function)
mod_caml_c.c:220: error: ‘add’ undeclared (first use in this function)
mod_caml_c.c: At top level:
mod_caml_c.c:445: warning: initialization from incompatible pointer type
mod_caml_c.c:449: warning: initialization from incompatible pointer type
mod_caml_c.c:453: warning: initialization from incompatible pointer type
mod_caml_c.c:457: warning: initialization from incompatible pointer type
mod_caml_c.c:461: warning: initialization from incompatible pointer type
mod_caml_c.c:465: warning: initialization from incompatible pointer type
mod_caml_c.c:469: warning: initialization from incompatible pointer type
mod_caml_c.c:473: warning: initialization from incompatible pointer type
mod_caml_c.c:477: warning: initialization from incompatible pointer type
mod_caml_c.c:481: warning: initialization from incompatible pointer type
mod_caml_c.c:485: warning: initialization from incompatible pointer type
mod_caml_c.c:489: warning: initialization from incompatible pointer type
mod_caml_c.c:493: warning: initialization from incompatible pointer type
mod_caml_c.c:500: error: syntax error before ‘handlers’
mod_caml_c.c:501: warning: braces around scalar initializer
mod_caml_c.c:501: warning: (near initialization for ‘handlers[0]’)
mod_caml_c.c:501: warning: initialization makes integer from pointer
without a cast
mod_caml_c.c:501: warning: excess elements in scalar initializer
mod_caml_c.c:501: warning: (near initialization for ‘handlers[0]’)
mod_caml_c.c:502: warning: braces around scalar initializer
mod_caml_c.c:502: warning: (near initialization for ‘handlers[1]’)
mod_caml_c.c:502: warning: initialization makes integer from pointer
without a cast
mod_caml_c.c:503: warning: data definition has no type or storage class
mod_caml_c.c:506: error:
‘this_module_needs_to_be_ported_to_apache_2_0’ undeclared here (not in
a function)
mod_caml_c.c:507: warning: initialization makes integer from pointer
without a cast
mod_caml_c.c:508: warning: initialization makes integer from pointer
without a cast
mod_caml_c.c:509: warning: initialization from incompatible pointer type
mod_caml_c.c:511: warning: initialization from incompatible pointer type
mod_caml_c.c:512: warning: initialization makes integer from pointer
without a cast
mod_caml_c.c:513: warning: initialization from incompatible pointer type
mod_caml_c.c:514: warning: initialization from incompatible pointer type
mod_caml_c.c:515: warning: initialization from incompatible pointer type
mod_caml_c.c:516: warning: initialization from incompatible pointer type
mod_caml_c.c:517: warning: initialization from incompatible pointer type
mod_caml_c.c:518: warning: initialization from incompatible pointer type
mod_caml_c.c:519: warning: initialization from incompatible pointer type
mod_caml_c.c:520: warning: excess elements in struct initializer
mod_caml_c.c:520: warning: (near initialization for ‘caml_module’)
mod_caml_c.c:521: warning: excess elements in struct initializer
mod_caml_c.c:521: warning: (near initialization for ‘caml_module’)
mod_caml_c.c:522: warning: excess elements in struct initializer
mod_caml_c.c:522: warning: (near initialization for ‘caml_module’)
mod_caml_c.c:523: warning: excess elements in struct initializer
mod_caml_c.c:523: warning: (near initialization for ‘caml_module’)
mod_caml_c.c:524: warning: excess elements in struct initializer
mod_caml_c.c:524: warning: (near initialization for ‘caml_module’)
make: *** [mod_caml_c.o] Error 1
- [Modcaml] Failing to Compile mod_caml on Leopard,
Robert Fischer <=