12-Nov-98 08:48 you wrote:
> 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'
Oops. I'm an idiot... I'm forgot to test this for non-gcc compilers (by eyes of
course as I'm does not have non-gcc compilers here :-) Test this one...
P.S. BTW what's the compiler is was ?
EAPI-2-EAPIk-4-2.1b9-SNAP.patch3.gz