httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sanchez <wsanc...@apple.com>
Subject Re: WAKEUP PLEASE: Tomorrow is release time!
Date Sat, 19 Sep 1998 02:06:59 GMT
Compiles happily for Mac OS X Server.

DSO support is busted because:

 - httpd gets stripped on install, which means modules will get undefined
   symbol errors, since those symbols reside in httpd.

 - mod_so no longer calls ap_os_dso_init, which is where I was installing
    the error handler for the multiply defined symbols problem.

  The first was easy to work around by overriding INSTALL_PROGRAM.
It can probably also be fixed by building a shared core, which I imagine
won't get stripped, but I haven't tried that.

  The second is fixed with the patch below.

  Otherwise, it seems to work.

	-Fred


--- /tmp/apache-1.3/src/modules/standard/mod_so.c       Wed May  6 08:18:02 1998
+++ apache/src/modules/standard/mod_so.c        Wed Aug  5 17:14:18 1998
@@ -153,6 +153,11 @@
     soc = (so_server_conf *)ap_pcalloc(p, sizeof(so_server_conf));
     soc->loaded_modules = ap_make_array(p, DYNAMIC_MODULE_LIMIT,
                                      sizeof(moduleinfo));
+
+#ifndef NO_DLOPEN
+    ap_os_dso_init();
+#endif
+
     return (void *)soc;
 }


Mime
View raw message