php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77472 installation error : error make file
Submitted: 2019-01-16 15:45 UTC Modified: 2019-01-16 19:27 UTC
From: anakrantausembilanlapan at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: ibm_db2 (PECL)
PHP Version: 7.3.1 OS: centos7/7.5/redhat7/7.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anakrantausembilanlapan at gmail dot com
New email:
PHP Version: OS:

 

 [2019-01-16 15:45 UTC] anakrantausembilanlapan at gmail dot com
Description:
------------
/opt/ibm/db2/dsdriver/include/sqlcli.h:874:0: warning: "ODBCVER" redefined [enabled by default]
 #define ODBCVER 0x0380
 ^
In file included from /usr/include/php/Zend/zend_config.h:1:0,
                 from /usr/include/php/Zend/zend_portability.h:43,
                 from /usr/include/php/Zend/zend_types.h:25,
                 from /usr/include/php/Zend/zend.h:27,
                 from /usr/include/php/main/php.h:33,
                 from /var/tmp/ibm_db2/ibm_db2.c:30:
/usr/include/php/main/../main/php_config.h:2267:0: note: this is the location of the previous definition
 #define ODBCVER 0x0350
 ^
/var/tmp/ibm_db2/ibm_db2.c:130:0: warning: "ZEND_GET_TYPE" redefined [enabled by default]
 #define ZEND_GET_TYPE(data) (data)->u1.v.type
 ^
In file included from /usr/include/php/Zend/zend_compile.h:841:0,
                 from /usr/include/php/Zend/zend_modules.h:24,
                 from /usr/include/php/Zend/zend_API.h:25,
                 from /usr/include/php/main/php.h:37,
                 from /var/tmp/ibm_db2/ibm_db2.c:30:
/usr/include/php/Zend/zend_vm_opcodes.h:270:0: note: this is the location of the previous definition
 #define ZEND_GET_TYPE                        193
 ^
/var/tmp/ibm_db2/ibm_db2.c: In function '_php_db2_assign_options':
/var/tmp/ibm_db2/ibm_db2.c:1379:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                     SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)vParam,
                                                           ^
/var/tmp/ibm_db2/ibm_db2.c:1388:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                     SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)vParam, /* was (SQLPOINTER)&vParam */
                                                           ^
/var/tmp/ibm_db2/ibm_db2.c:1400:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                     SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)vParam,
                                                           ^
/var/tmp/ibm_db2/ibm_db2.c:1408:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                     SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)vParam, /* was (SQLPOINTER)&vParam */
                                                           ^
/var/tmp/ibm_db2/ibm_db2.c:1437:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                 SQL_ATTR_ROWCOUNT_PREFETCH, (SQLPOINTER)vParam,
                                                             ^
/var/tmp/ibm_db2/ibm_db2.c:1446:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                 SQL_ATTR_ROWCOUNT_PREFETCH, (SQLPOINTER)vParam, /* was (SQLPOINTER)&vParam */
                                                             ^
/var/tmp/ibm_db2/ibm_db2.c:1458:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                 SQL_ATTR_ROWCOUNT_PREFETCH, (SQLPOINTER)vParam,
                                                             ^
/var/tmp/ibm_db2/ibm_db2.c:1466:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                                 SQL_ATTR_ROWCOUNT_PREFETCH, (SQLPOINTER)vParam, /* was (SQLPOINTER)&vParam */
                                                             ^
/var/tmp/ibm_db2/ibm_db2.c:1575:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                     rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                        ^
/var/tmp/ibm_db2/ibm_db2.c:1587:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                     rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                        ^
/var/tmp/ibm_db2/ibm_db2.c:1701:103: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_TXN_ISOLATION, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                       ^
/var/tmp/ibm_db2/ibm_db2.c:1725:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_DBC_SYS_NAMING, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                        ^
/var/tmp/ibm_db2/ibm_db2.c:1799:98: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_DATE_FMT, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                  ^
/var/tmp/ibm_db2/ibm_db2.c:1824:98: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_DATE_SEP, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                  ^
/var/tmp/ibm_db2/ibm_db2.c:1847:98: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_TIME_FMT, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                  ^
/var/tmp/ibm_db2/ibm_db2.c:1870:98: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_TIME_SEP, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                  ^
/var/tmp/ibm_db2/ibm_db2.c:1889:101: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                 rc = SQLSetConnectAttr((SQLHDBC)((conn_handle*)handle)->hdbc, SQL_ATTR_DECIMAL_SEP, (SQLPOINTER)pvParam, SQL_IS_INTEGER);
                                                                                                     ^
/var/tmp/ibm_db2/ibm_db2.c:2015:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                         SQL_ATTR_DEFERRED_PREPARE, (SQLPOINTER)pvParam,
                                                    ^
/var/tmp/ibm_db2/ibm_db2.c:2025:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
                         SQL_ATTR_DEFERRED_PREPARE, (SQLPOINTER)pvParam,
                                                    ^
/var/tmp/ibm_db2/ibm_db2.c: In function '_php_db2_connect_helper':
/var/tmp/ibm_db2/ibm_db2.c:2756:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         rc = SQLSetConnectAttr((SQLHDBC)conn_res->hdbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)(conn_res->auto_commit), SQL_IS_INTEGER);
                                                                              ^
/var/tmp/ibm_db2/ibm_db2.c:2897:44: error: lvalue required as left operand of assignment
             GC_REFCOUNT(&newPersistentRes) = 1;
                                            ^
/var/tmp/ibm_db2/ibm_db2.c: In function 'zif_db2_autocommit':
/var/tmp/ibm_db2/ibm_db2.c:3115:82: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             rc = SQLSetConnectAttr((SQLHDBC)conn_res->hdbc, SQL_ATTR_AUTOCOMMIT, (SQLPOINTER)autocommit, SQL_IS_INTEGER);
                                                                                  ^
/var/tmp/ibm_db2/ibm_db2.c: In function 'zif_db2_execute':
/var/tmp/ibm_db2/ibm_db2.c:5106:108: error: 'IS_TYPE_COPYABLE' undeclared (first use in this function)
     if (parameters_array && Z_TYPE_P(parameters_array) == IS_ARRAY && (Z_TYPE_FLAGS_P(parameters_array) & (IS_TYPE_COPYABLE & !IS_TYPE_REFCOUNTED))) {
                                                                                                            ^
/var/tmp/ibm_db2/ibm_db2.c:5106:108: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/ibm_db2/ibm_db2.c: In function 'zif_db2_execute_many':
/var/tmp/ibm_db2/ibm_db2.c:7820:78: error: 'IS_TYPE_COPYABLE' undeclared (first use in this function)
     if (params && Z_TYPE_P(params) == IS_ARRAY && (Z_TYPE_FLAGS_P(params) & (IS_TYPE_COPYABLE & !IS_TYPE_REFCOUNTED))) {
                                                                              ^
make: *** [ibm_db2.lo] Error 1
ERROR: `make' failed



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-01-16 19:27 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2019-01-16 19:27 UTC] cmb@php.net
Duplicate of bug #77309.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC