Date: 12/06/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- In reply to: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8103 Updated: Undeclared"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Reply: Andre Felipe: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Operating system: Sun Solaris 2.7
PHP version: both 4.0.2 and 4.0.3pl1
PHP Bug Type: `SQLINTEGER' undeclared
Bug description: When compiling PHP with Openlink ODBC on Solaris it complains about `SQLINTEGER' undeclared
gcc version 2.95.1 19990816 (release)
Last compilation line:
gcc -I. -I/tmp/comp/php-4.0.2/ext/odbc -I/tmp/comp/php-4.0.2 -I/tmp/comp/php-4.
0.2/main -I/tmp/comp/apache_1.3.11/src/include -I/tmp/comp/apache_1.3.11/src/os/
unix -I/tmp/comp/php-4.0.2/Zend -I/tmp/comp/php-4.0.2 -I/tmp/comp/php-4.0.2/ext/
mysql/libmysql -I/tmp/comp/odbcsdk/include -I/tmp/comp/php-4.0.2/ext/xml/expat/x
mltok -I/tmp/comp/php-4.0.2/ext/xml/expat/xmlparse -D_POSIX_PTHREAD_SEMANTICS -
DXML_BYTE_ORDER=21 -g -O2 -c php_odbc.c && touch php_odbc.lo
Error message:
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:610: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:610: (Each undeclared identifier is reported only once
php_odbc.c:610: for each function it appears in.)
php_odbc.c:610: parse error before `len'
php_odbc.c:638: `len' undeclared (first use in this function)
I wrote to you before, saying that I´ve stripped #if defined HAS_SOLID paragraph and included "DWORD len" in php_odbc.c source
Code to make this compilation work.
Ok, but when using ODBC functions (that used to work with PHP 3.0.12 ) it doesn't work properly anymore.
ODBC_CONNECT works ok, returning connection_id, but ODBC_EXEC do not work.
Please, any help is very appreciated (or I wont be able to upgrade to PHP 4 ;-))
Thank you all , in advance,
André Felipe
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] zend_hash_add_or_update flaw"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- In reply to: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8103 Updated: Undeclared"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Reply: Andre Felipe: "Re: [PHP-DEV] Problem compiling PHP4.0.2 with Openlink ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

