--enable-versioning requests that the linker just exports certain
entries in the dynamic symbol table; this is not compatible with
the use of shared modules, which requires that the SAPI exports all
its symbols, zend_* and so on, otherwise modules can't use them.
This combination will not have worked for ages on platforms such as
Solaris and AIX, where libtool 1.4 implements -export-symbols correctly;
also on Linux with libtool 1.5 (where before, -export-symbols was
in effect a noop).
Index: configure.in
===================================================================
RCS file: /repository/php-src/configure.in,v
retrieving revision 1.396.2.80
diff -u -r1.396.2.80 configure.in
--- configure.in 7 Oct 2003 10:04:51 -0000 1.396.2.80
+++ configure.in 16 Oct 2003 09:00:11 -0000
@@ -765,6 +765,9 @@
dnl -------------------------------------------------------------------------
if test "$PHP_VERSIONING" = "yes"; then
+ if test -n "$PHP_MODULES"; then
+ AC_MSG_ERROR([--enable-versioning cannot be used with shared modules])
+ fi
test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
if test -f "$PHP_SYM_FILE"; then
EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php