From: darryl-phpbugs at darrylmiles dot org Operating system: Linux PHP version: 5.0.4 PHP Bug Type: Compile Failure Bug description: --enable-session=shared does not build
Description: ------------ Building with: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache2/bin/apxs --enable-memory-limit --enable-track-vars --enable-safe-mode --enable-shared=all --with-all=shared,all --with-mysql=shared --with-zlib=shared --with-openssl=shared --with-bz2=shared --with-gd=shared --with-freetype=shared --with-mssql=shared --with-snmp=shared --enable-sockets=shared --enable-session=shared --enable-pcre=shared --enable-ob=shared --enable-posix=shared 2>&1 | tee CONFIGURELOG The "--enable-session=shared" causes the error with just "--enable-session" the build is ok. I compile all my extensions as modules (like apache/httpd) During linking: ext/sqlite/sqlite.lo(.text+0x1376): In function `zm_startup_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sqlite.c:1015: undefined reference to `php_session_register_module' ext/sqlite/sess_sqlite.lo(.text+0x31e): In function `ps_gc_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:182: undefined reference to `ps_globals' ext/sqlite/sess_sqlite.lo(.text+0x34f):/usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:182: undefined reference to `ps_globals' ext/sqlite/sess_sqlite.lo(.data+0x1c): In function `ps_open_sqlite': /usr2/BUILD/webtraffik/php-5.0.4/ext/sqlite/sess_sqlite.c:46: undefined reference to `php_session_create_id' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=33185&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33185&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33185&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33185&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33185&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33185&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33185&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33185&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33185&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33185&r=support Expected behavior: http://bugs.php.net/fix.php?id=33185&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33185&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33185&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33185&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33185&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33185&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33185&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33185&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33185&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33185&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33185&r=mysqlcfg