Gunter, presume you just forgot a cc-to, but this discussion belongs on the [EMAIL PROTECTED] list, so I'm copying it here. You are right, the DECLARE macros are manditory.
Certain to commit for 0.9.2, but your completed patch based on that DECLARE assumption would speed things up :-) Bill At 10:03 PM 2/18/2003, G�nter Knauf wrote: >Hi Paul, >> I have put an updated version of mod_auth_mysql onto >> http://open.cyanworlds.com/ > > >have just compiled NetWare and Win32 target; >NetWare builds and loads fine - connection not yet tested... >Win32 breaks for some reasons: >- the following is not exported by any lib: >mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol [EMAIL >PROTECTED] >mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol [EMAIL >PROTECTED] >mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol [EMAIL >PROTECTED] > >found that apr_reslist.c isnt compiled with Win32; so I added it to >aprutil.dsp: > >--- aprutil.dsp.orig Fri Feb 07 00:48:29 2003 >+++ aprutil.dsp Wed Feb 19 04:31:39 2003 >@@ -225,6 +225,10 @@ > # End Source File > # Begin Source File > >+SOURCE=.\misc\apr_reslist.c >+# End Source File >+# Begin Source File >+ > SOURCE=.\misc\apr_rmm.c > # End Source File > # End Group > >but aprutil.lib still doesnt export the above symbols... > >this one could be taken from an OS lib: >mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol >__imp__tmpnam >but I think you should better use here >APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *templ, > apr_int32_t flags, apr_pool_t *p); >to be platform-independent... > >and added this: >#include "util_md5.h" /* for ap_md5 */ > >and I'm not happy with the #include "mysql/mysql.h"; with this I have to set >an additional include path because all other headers from mysql dont prefix >with mysql. This is only a problem on other platforms than unix; on unix the >directory below mysql is always already in the include path... > >Guenter.
