Bug #46853 [Asn->Csd]: Compile failure using --with-ODBCRouter

From: Date: Fri, 28 Jul 2017 08:46:12 +0000
Subject: Bug #46853 [Asn->Csd]: Compile failure using --with-ODBCRouter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210384@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=46853&edit=1

 ID:                 46853
 Updated by:         kalle@php.net
 Reported by:        bas at web4friends dot com
 Summary:            Compile failure using --with-ODBCRouter
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            ODBC related
 Operating System:   Linux
 PHP Version:        5.2.13
 Assigned To:        kalle
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

ODBCRouter support has been removed in master aka 7.3.0


Previous Comments:
------------------------------------------------------------------------
[2010-03-03 20:15:44] bas at web4friends dot com

Bug is stil existing in 5.2.13

------------------------------------------------------------------------
[2009-11-18 10:06:23] mathieu dot bruere at gmail dot com

I've got the same problem while compiling PHP with Adabas.
Worked fine till 5.2.6.

------------------------------------------------------------------------
[2009-06-19 15:52:27] bas at web4friends dot com

Bug is stil existing in 5.2.10 and 5.3RC builds

------------------------------------------------------------------------
[2009-03-05 13:12:28] jani@php.net

Moved back to ODBC related where this belongs.

------------------------------------------------------------------------
[2008-12-12 18:45:32] bas at web4friends dot com

Description:
------------
Building php 5.2.8 with ODBCRouter support fails. Builds fine till PHP 5.2.6.

Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache22/bin/apxs --with-ODBCRouter

Actual result:
--------------
In file included from /temp/php-5.2.8/ext/odbc/php_odbc.c:37:
/temp/php-5.2.8/ext/odbc/php_odbc_includes.h:237: error: expected specifier-qualifier-list before
'SQLLEN'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'safe_odbc_disconnect':
/temp/php-5.2.8/ext/odbc/php_odbc.c:203: warning: passing argument 1 of 'SQLDisconnect'
makes integer from pointer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c:206: warning: passing argument 1 of 'SQLTransact'
makes integer from pointer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c:206: warning: passing argument 2 of 'SQLTransact'
makes integer from pointer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c:207: warning: passing argument 1 of 'SQLDisconnect'
makes integer from pointer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function '_close_odbc_conn':
/temp/php-5.2.8/ext/odbc/php_odbc.c:233: warning: passing argument 1 of
'safe_odbc_disconnect' makes pointer from integer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function '_close_odbc_pconn':
/temp/php-5.2.8/ext/odbc/php_odbc.c:261: warning: passing argument 1 of
'safe_odbc_disconnect' makes pointer from integer without a cast
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'odbc_bindcols':
/temp/php-5.2.8/ext/odbc/php_odbc.c:691: error: 'SQLLEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:691: error: (Each undeclared identifier is reported only once
/temp/php-5.2.8/ext/odbc/php_odbc.c:691: error: for each function it appears in.)
/temp/php-5.2.8/ext/odbc/php_odbc.c:691: error: expected ';' before
'displaysize'
/temp/php-5.2.8/ext/odbc/php_odbc.c:702: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:708: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:725: error: 'displaysize' undeclared (first use in
this function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:730: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'odbc_column_lengths':
/temp/php-5.2.8/ext/odbc/php_odbc.c:785: error: 'SQLLEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:785: error: expected ';' before 'len'
/temp/php-5.2.8/ext/odbc/php_odbc.c:814: error: 'len' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_execute':
/temp/php-5.2.8/ext/odbc/php_odbc.c:981: error: expected specifier-qualifier-list before
'SQLLEN'
/temp/php-5.2.8/ext/odbc/php_odbc.c:989: error: 'SQLULEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:989: error: expected ';' before 'precision'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1046: error: 'precision' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:1048: error: 'params_t' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1049: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1076: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1080: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1081: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1091: error: 'params_t' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1095: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1096: error: 'params_t' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1102: error: 'params_t' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1108: error: 'params_t' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1150: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1151: error: 'params_t' has no member named
'fp'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_fetch_into':
/temp/php-5.2.8/ext/odbc/php_odbc.c:1629: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1639: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1639: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1646: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1655: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1659: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1665: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1669: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_fetch_row':
/temp/php-5.2.8/ext/odbc/php_odbc.c:1716: error: 'SQLLEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:1716: error: expected ';' before 'rownum'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1735: error: 'rownum' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_result':
/temp/php-5.2.8/ext/odbc/php_odbc.c:1782: error: 'SQLLEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:1782: error: expected ';' before 'fieldsize'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1851: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1858: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1858: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1862: error: 'fieldsize' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:1877: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1885: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1894: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1898: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1903: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1906: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1920: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1928: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:1933: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_result_all':
/temp/php-5.2.8/ext/odbc/php_odbc.c:2005: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2015: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2015: error: 'odbc_result_value' has no member named
'coltype'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2024: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2036: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2040: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2045: error: 'odbc_result_value' has no member named
'vallen'
/temp/php-5.2.8/ext/odbc/php_odbc.c: In function 'zif_odbc_num_rows':
/temp/php-5.2.8/ext/odbc/php_odbc.c:2481: error: 'SQLLEN' undeclared (first use in this
function)
/temp/php-5.2.8/ext/odbc/php_odbc.c:2481: error: expected ';' before 'rows'
/temp/php-5.2.8/ext/odbc/php_odbc.c:2488: error: 'rows' undeclared (first use in this
function)
make: *** [ext/odbc/php_odbc.lo] Error 1


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



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


Thread (8 messages)

« previous php.bugs (#210384) next »