php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62120 PDO mishandles build outside of tree
Submitted: 2012-05-23 09:09 UTC Modified: -
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: cataphract@php.net Assigned:
Status: Open Package: Compile Failure
PHP Version: master-Git-2012-05-23 (Git) OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-05-23 09:09 UTC] cataphract@php.net
Description:
------------
If you have a different configuration in the tree, when you configure PHP outside the tree and build PDO, the build will either fail (if you include pdo-sqlite) or it will fail at runtime due to missing symbols.

Actual result:
--------------
In file included from /home/gustavo/php-src/main/php_compat.h:27,
                 from /home/gustavo/php-src/main/php.h:36,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/tmp/t/main/php_config.h:2179:1: warning: "PHP_BUILD_DATE" redefined
In file included from /tmp/t/TSRM/tsrm_config.h:1,
                 from /home/gustavo/php-src/Zend/../TSRM/TSRM.h:20,
                 from /home/gustavo/php-src/Zend/zend_alloc.h:27,
                 from /home/gustavo/php-src/Zend/zend.h:237,
                 from /home/gustavo/php-src/main/php.h:34,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/home/gustavo/php-src/ext/../main/php_config.h:2179:1: warning: this is the location of the previous definition
In file included from /home/gustavo/php-src/main/php_compat.h:27,
                 from /home/gustavo/php-src/main/php.h:36,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/tmp/t/main/php_config.h:2404:1: warning: "ZEND_DEBUG" redefined
In file included from /tmp/t/TSRM/tsrm_config.h:1,
                 from /home/gustavo/php-src/Zend/../TSRM/TSRM.h:20,
                 from /home/gustavo/php-src/Zend/zend_alloc.h:27,
                 from /home/gustavo/php-src/Zend/zend.h:237,
                 from /home/gustavo/php-src/main/php.h:34,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/home/gustavo/php-src/ext/../main/php_config.h:2404:1: warning: this is the location of the previous definition
In file included from /tmp/t/TSRM/tsrm_config.h:1,
                 from /home/gustavo/php-src/TSRM/tsrm_config_common.h:13,
                 from /home/gustavo/php-src/TSRM/tsrm_virtual_cwd.h:27,
                 from /home/gustavo/php-src/main/php.h:401,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/home/gustavo/php-src/ext/../main/php_config.h:2179:1: warning: "PHP_BUILD_DATE" redefined
In file included from /home/gustavo/php-src/main/php_compat.h:27,
                 from /home/gustavo/php-src/main/php.h:36,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/tmp/t/main/php_config.h:2179:1: warning: this is the location of the previous definition
In file included from /tmp/t/TSRM/tsrm_config.h:1,
                 from /home/gustavo/php-src/TSRM/tsrm_config_common.h:13,
                 from /home/gustavo/php-src/TSRM/tsrm_virtual_cwd.h:27,
                 from /home/gustavo/php-src/main/php.h:401,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/home/gustavo/php-src/ext/../main/php_config.h:2404:1: warning: "ZEND_DEBUG" redefined
In file included from /home/gustavo/php-src/main/php_compat.h:27,
                 from /home/gustavo/php-src/main/php.h:36,
                 from /home/gustavo/php-src/ext/pdo_mysql/pdo_mysql.c:26:
/tmp/t/main/php_config.h:2404:1: warning: this is the location of the previous definition


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Oct 20 09:01:26 2019 UTC