On Thu, Feb 04, 1999, Christian Buysschaert wrote:

> 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! ;-)

Shit, once I don't try it out on my NT box myself (I currently cannot do it
because I'm upgrading my LAN to 100MBit/s and still have major problems), the
stuff breaks. I hate this Win32 stuff, although it was my fault... 

The problem is that ap_hook_register/ap_hook_unregister are macros and
actually implemented by ap_hook_register_I/ap_hook_unregister_I (I=internal).
So all you should have to do is to replace ap_hook_register with
ap_hook_register_I and ap_hook_unregister with ap_hook_unregister_I in the
ApacheCore.def file.  Will be fixed for mod_ssl 2.2.2.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to