php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45457 compilation error
Submitted: 2008-07-08 14:33 UTC Modified: 2008-07-16 01:00 UTC
Votes:8
Avg. Score:2.9 ± 1.3
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:0 (0.0%)
From: dmiry at conft dot org Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.6 OS: debian 4.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-07-08 14:33 UTC] dmiry at conft dot org
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-08 15:00 UTC] johannes@php.net
Looks like you didn't clean after changing the configure line. Please make sure you're running make clean (or cvsclean) before building again.
 [2008-07-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2008-08-05 07:24 UTC] mirc-m at mail dot ru
'make clean' helps to solve the compile issue in my case but it looks strange that pure release just downloaded requires to be cleared.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 13:01:31 2024 UTC