#45457 [Opn->Fbk]: compilation error

From: Date: Tue, 08 Jul 2008 15:00:07 +0000
Subject: #45457 [Opn->Fbk]: compilation error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126386@lists.php.net to get a copy of this message
 ID:               45457
 Updated by:       johannes@php.net
 Reported By:      dmiry at conft dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: debian 4.0
 PHP Version:      5.2.6
 New Comment:

Looks like you didn't clean after changing the configure line. Please
make sure you're running make clean (or cvsclean) before building again.


Previous Comments:
------------------------------------------------------------------------

[2008-07-08 14:33:58] 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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45457&edit=1



Thread (3 messages)

« previous php.bugs (#126386) next »