Bug #62120 [Opn->Csd]: PDO mishandles build outside of tree

From: Date: Sun, 14 Jul 2024 05:59:25 +0000
Subject: Bug #62120 [Opn->Csd]: PDO mishandles build outside of tree
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247292@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62120&edit=1 ID: 62120 Updated by: petk@php.net Reported by: cataphract@php.net Summary: PDO mishandles build outside of tree -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: Linux PHP Version: master-Git-2012-05-23 (Git) -Assigned To: +Assigned To: petk Block user comment: N Private report: N New Comment: This has been rechecked at current versions and it seems to be working fine now. In case you're still experiencing this issue please reopen a bug at https://github.com/php/php-src/issues Previous Comments: ------------------------------------------------------------------------ [2012-05-23 09:09:01] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62120&edit=1

« previous php.bugs (#247292) next »