The fix:
before running nmake, open src/ApacheCore.def, go to the end, and modify it
;; comment out this one
;; ap_hook_register @325
ap_hook_call @326
;; add these two lines
ap_hook_register_I @327
ap_hook_unregister_I @328
Ralf, this is due to the #define in your ap_hook.h
--cut--
#define ap_hook_register(hook,func,ctx) ap_hook_register_I(hook,(void *)(func),ctx)
#define ap_hook_unregister(hook,func) ap_hook_unregister_I(hook,(void *)(func))
--cut--
-trung
Christian Buysschaert <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> Anybody succeeded in compiling the latest mod_ssl on NT?
> I'm getting the following error...
>
> -----BEGIN WEIRD FORMATTED VC5 OUTPUT-----
> cl.exe @C:\TEMP\nma00578.
> buildmark.c
> link.exe @C:\TEMP\nmb00578.
> ApacheCore.def : error LNK2001: unresolved external symbol ap_hook_register
> .\CoreR\ApacheCore.lib : fatal error LNK1120: 1 unresolved externals
> LINK : fatal error LNK1141: failure during build of exports file
> NMAKE : fatal error U1077: 'link.exe' : return code '0x475'
> Stop.
> NMAKE : fatal error U1077: '"c:\program files\devstudio\vc\bin\NMAKE.EXE"' :
> ret
> urn code '0x2'
> Stop.
> -----END WEIRD FORMATTED VC5 OUTPUT-----
>
> Ralf, it seems that you added some to-be-exported functions in the
> ApacheCore.def file which he can't seem to be able to link... I'm not
> too familiar with linking so I'll try to take a closer look but if
> you could help already that would be great! ;-)
> [...]
>
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]