RE: [PHP] (PHP + OPENLINK + SSL) Compilation problems under Solaris 2.7

From: Date: Thu, 07 Dec 2000 13:56:50 +0000
Subject: RE: [PHP] (PHP + OPENLINK + SSL) Compilation problems under Solaris 2.7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29130@lists.php.net to get a copy of this message
Georges, This is an error in the php_odbc.c file, and a known bug in php. http://bugs.php.net/bugs.php?id=5526 You need to make a change in ext/odbc/php_odbc.c "SQLINTEGER len;" should be replaced by "SDWORD len;" Best regards, Andrew ---------------------------------------------------- Andrew Hill Director Technology Evangelism OpenLink Software http://www.openlinksw.com XML & E-Business Infrastructure Technology Provider > -----Original Message----- > From: Georges da Mata Claessen [mailto:georges@embrapa.br] > Sent: Thursday, December 07, 2000 5:43 AM > To: php-general@lists.php.net > Subject: [PHP] (PHP + OPENLINK + SSL) Compilation problems under Solaris > 2.7 > > > 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 ;-)) > > Thanks, Georges > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#29130) next »