From: dmiry at conft dot org
Operating system: debian 4.0
PHP version: 5.2.6
PHP Bug Type: Compile Failure
Bug description: compilation error
Description:
------------
cannot compile php 5.2.6 on debian etch 4.0, get a compilation error,
compiling with the following configuration:
./configure \
--with-apxs2=/usr/bin/apxs2 \
--with-gd \
--with-gd-dir=/usr/lib \
--with-gettext \
--with-jpeg-dir=/usr/lib \
--with-freetype \
--with-freetype-dir=/usr/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr//lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/lib \
--with-openssl \
--with-mysqli=/usr/bin/mysql_config \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring
Actual result:
--------------
sapi/cli/.libs/php_cli.o: In function `sapi_cli_deactivate':
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:320: undefined reference to
`sapi_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:322: undefined reference to
`sapi_globals'
sapi/cli/.libs/php_cli.o: In function `main':
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:728: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1317: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1324: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:729: undefined reference to
`compiler_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:730: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:805: undefined reference to
`sapi_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:828: undefined reference to
`compiler_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:997: undefined reference to
`compiler_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1029: undefined reference to
`sapi_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1030: undefined reference to
`sapi_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1032: undefined reference to
`sapi_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1043: undefined reference to
`compiler_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1055: undefined reference to
`core_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1141: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1199: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1210: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1221: undefined reference to
`compiler_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1223: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1269: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1273: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1276: undefined reference to
`executor_globals'
/usr/local/src/php-5.2.6/sapi/cli/php_cli.c:1277: undefined reference to
`executor_globals'
sapi/cli/.libs/php_cli.o:(.debug_info+0x46f3): undefined reference to
`sapi_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
--
Edit bug report at http://bugs.php.net/?id=45457&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=45457&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=45457&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=45457&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45457&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=45457&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45457&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45457&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45457&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45457&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45457&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=45457&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=45457&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45457&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45457&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45457&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45457&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45457&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45457&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45457&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45457&r=mysqlcfg