#11575 [Com]: Compile failure with Adabas v12

From: Date: Wed, 07 May 2003 18:46:02 +0000
Subject: #11575 [Com]: Compile failure with Adabas v12
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39243@lists.php.net to get a copy of this message
ID: 11575 Comment by: curtis dot nelson at acsalaska dot net Reported By: john_w_lloyd at yahoo dot co dot uk Status: Closed Bug Type: Compile Failure Operating System: Redhat V7.1 PHP Version: 4.0.6-RC4 and 4.0.5 New Comment: I belive the fix for this is to edit your sqlext.h file. There was a missing if statement for this version. The offending stanza (around 1951) should read: #if (ODBCVER >= 0x0300) #ifndef RC_INVOKED SQLRETURN SQL_API SQLAllocHandleStd( SQLSMALLINT fHandleType, SQLHANDLE hInput, SQLHANDLE *phOutput); #endif /* RC_INVOKED */ #endif Previous Comments: ------------------------------------------------------------------------ [2001-06-20 10:25:29] kalowsky@php.net fix your Adabas! /usr/SAG/aad/v1200/incl/sqlext.h:1951: parse error before `SQLHANDLE' make[2]: *** [internal_functions.lo] Error 1 the file sqlext.h is NOT provided by PHP, and this seems to be where your parse error is. ------------------------------------------------------------------------ [2001-06-20 07:09:07] john_w_lloyd at yahoo dot co dot uk # ./configure --prefix=/usr/local --with-apache=/var/tmp/Apachetoolbox-1.5.30/apache_1.3.20 --enable-exif --enable-track-vars --with-calendar=shared --enable-safe-mode --enable-magic-quotes --enable-trans-sid --enable-wddx --enable-ftp --with-adabas=/usr/SAG/aad/v1200 --with-gd=/usr --with-openssl --with-pgsql Check in "/var/tmp/Apachetoolbox-1.5.30/logs/php-compile.log" for errors. [root@heimdall Apachetoolbox-1.5.30]# more logs/php-compile.log Making all in Zend make[1]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend' Making all in main make[1]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main' make[2]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main' gcc -I. -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main -I/var/tm p/Apachetoolbox-1.5.30/src/php-4.0.6RC4 -I/var/tmp/Apachetoolbox-1.5.30/apache_1.3.20/src/include -I/var/tmp/Apachetoolbox-1.5 .30/apache_1.3.20/src/os/unix -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend -I/var/tmp/Apachetoolbox-1.5.30/src/php-4. 0.6RC4/ext/mysql/libmysql -I/usr/SAG/aad/v1200/incl -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/xml/expat/xmltok -I/v ar/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/xml/expat/xmlparse -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/TSRM -DS UPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c && touch internal_functions.lo In file included from /var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/odbc/php_odbc.h:78, from internal_functions.c:36: /usr/SAG/aad/v1200/incl/sqlext.h:1951: parse error before `SQLHANDLE' make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main' make: *** [all-recursive] Error 1 Then obviously make! Thanks for your help. John ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11575&edit=1

« previous php.bugs (#39243) next »