On Thu, Nov 12, 1998 at 12:52:10AM +0300, Khimenko Victor wrote:
> No more hacks in mod_so. Instead all modules unregister hooks before unload.
> Also some slightly non portable defines (still ANSI compliant AFAIK) moved
> in few separate defines in top of ap_hook.h and new ap_hook_define_global/
> ap_hook_define_realize to make hooks more usable in multifiles client modules.
With --enable-shared=proxy I get...:
cc -c -I../../os/unix -I../../include -I/usr/include -I/mx3_54/local/include -DSVR4
-D_XPG_IV -DHAS_DLFCN -DUSE_MMAP_FILES -DUSE_SYSVSEM_SERIALIZED_ACCEPT
-DNEED_UNION_SEMUN -DMOD_SSL=201009 -DUSE_HSREGEX -DEAPI -KPIC -DSHARED_CORE
-DSINIX_D_RESOLVER_BUG `../../apaci` mod_proxy.c
mod_proxy.c 215: [warning]: 'struct ap_hook_mod_proxy_struct_ap_proxy_canon of
size 0' undefined (access to structure member 'hook_addr')
mod_proxy.c 215: [error]: 'hook_addr' not a member of any 'struct' or 'union'
mod_proxy.c 215: [error]: a 'int' is not a function
mod_proxy.c 215: [warning]: 'struct ap_hook_mod_proxy_struct_ap_proxy_canon of
size 0' undefined (access to structure member 'next')
mod_proxy.c 215: [warning]: 'next' member of 'struct module_struct of size 112 and
others' and not of 'struct ap_hook_mod_proxy_struct_ap_proxy_canon of size 0'
mod_proxy.c 215: [error]: 'next' is ambiguous
mod_proxy.c 215: [warning]: 'ptr to struct module_struct of size 112' converted to
'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_canon of size 0'
mod_proxy.c 215: [warning]: 'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_canon
of size 0' = 'ptr to struct module_struct of size 112'
mod_proxy.c 338: [warning]: 'struct ap_hook_mod_proxy_struct_ap_proxy_handler of
size 0' undefined (access to structure member 'hook_addr')
mod_proxy.c 338: [error]: 'hook_addr' not a member of any 'struct' or 'union'
mod_proxy.c 338: [error]: a 'int' is not a function
mod_proxy.c 338: [warning]: 'struct ap_hook_mod_proxy_struct_ap_proxy_handler of
size 0' undefined (access to structure member 'next')
mod_proxy.c 338: [warning]: 'next' member of 'struct module_struct of size 112 and
others' and not of 'struct ap_hook_mod_proxy_struct_ap_proxy_handler of size 0'
mod_proxy.c 338: [error]: 'next' is ambiguous
mod_proxy.c 338: [warning]: 'ptr to struct module_struct of size 112' converted to
'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_handler of size 0'
mod_proxy.c 338: [warning]: 'ptr to struct
ap_hook_mod_proxy_struct_ap_proxy_handler of size 0' = 'ptr to struct module_struct of
size 112'
mod_proxy.c 362: [warning]: '==' or '=' desired?
mod_proxy.c 372: [warning]: '==' or '=' desired?
mod_proxy.c 902: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, int ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret ptr to
const char'
mod_proxy.c 904: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct
( ... ) ret ptr to const char'
mod_proxy.c 906: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct
( ... ) ret ptr to const char'
mod_proxy.c 908: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct
( ... ) ret ptr to const char'
mod_proxy.c 910: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 912: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 914: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 916: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 918: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 920: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 922: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 924: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 926: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 928: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 930: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 932: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 934: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
char, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 936: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 938: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
mod_proxy.c 940: [warning]: 'ptr to funct ( ptr to struct of size 40, ptr to
void, ptr to char ) ret ptr to const char' converted to 'ptr to K&R funct ( ... ) ret
ptr to const char'
c1: errors: 6, warnings: 64
[error]: cc : frontend error while compiling file 'mod_proxy.c'
Make: [mod_proxy.o] Error 1 (ignored)
cc -c -I../../os/unix -I../../include -I/usr/include -I/mx3_54/local/include -DSVR4
-D_XPG_IV -DHAS_DLFCN -DUSE_MMAP_FILES -DUSE_SYSVSEM_SERIALIZED_ACCEPT
-DNEED_UNION_SEMUN -DMOD_SSL=201009 -DUSE_HSREGEX -DEAPI -KPIC -DSHARED_CORE
-DSINIX_D_RESOLVER_BUG `../../apaci` proxy_http.c
proxy_http.c 169: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_set_destport of size 0' undefined
(access to structure member 'hook_addr')
proxy_http.c 169: [error]: 'hook_addr' not a member of any 'struct' or 'union'
proxy_http.c 169: [error]: a 'int' is not a function
proxy_http.c 169: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_set_destport of size 0' undefined
(access to structure member 'next')
proxy_http.c 169: [warning]: 'next' member of 'struct module_struct of size 112
and others' and not of 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_set_destport of size 0'
proxy_http.c 169: [error]: 'next' is ambiguous
proxy_http.c 169: [warning]: 'ptr to struct module_struct of size 112' converted
to 'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_http_handler_set_destport of size
0'
proxy_http.c 169: [warning]: 'ptr to struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_set_destport of size 0' = 'ptr to
struct module_struct of size 112'
proxy_http.c 170: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_new_connection of size 0' undefined
(access to structure member 'hook_addr')
proxy_http.c 170: [error]: 'hook_addr' not a member of any 'struct' or 'union'
proxy_http.c 170: [error]: a 'int' is not a function
proxy_http.c 170: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_new_connection of size 0' undefined
(access to structure member 'next')
proxy_http.c 170: [warning]: 'next' member of 'struct module_struct of size 112
and others' and not of 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_new_connection of size 0'
proxy_http.c 170: [error]: 'next' is ambiguous
proxy_http.c 170: [warning]: 'ptr to struct module_struct of size 112' converted
to 'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_http_handler_new_connection of
size 0'
proxy_http.c 170: [warning]: 'ptr to struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_new_connection of size 0' = 'ptr to
struct module_struct of size 112'
proxy_http.c 171: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_write_host_header of size 0' undefined
(access to structure member 'hook_addr')
proxy_http.c 171: [error]: 'hook_addr' not a member of any 'struct' or 'union'
proxy_http.c 171: [error]: a 'int' is not a function
proxy_http.c 171: [warning]: 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_write_host_header of size 0' undefined
(access to structure member 'next')
proxy_http.c 171: [warning]: 'next' member of 'struct module_struct of size 112
and others' and not of 'struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_write_host_header of size 0'
proxy_http.c 171: [error]: 'next' is ambiguous
proxy_http.c 171: [warning]: 'ptr to struct module_struct of size 112' converted
to 'ptr to struct ap_hook_mod_proxy_struct_ap_proxy_http_handler_write_host_header of
size 0'
proxy_http.c 171: [warning]: 'ptr to struct
ap_hook_mod_proxy_struct_ap_proxy_http_handler_write_host_header of size 0' = 'ptr to
struct module_struct of size 112'
c1: errors: 9, warnings: 26
[error]: cc : frontend error while compiling file 'proxy_http.c'
Make: [proxy_http.o] Error 1 (ignored)
--
<[EMAIL PROTECTED]> | Siemens Information and
Phone: +49-89-636-46021 | Communication Products
FAX: +49-89-636-47816 | 81730 Munich, Germany
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]