Re: adabas and unified odbc driver
| From: | Curtis Nelson | Date: | Tue, 16 Oct 2001 18:19:54 +0000 |
| Subject: | Re: adabas and unified odbc driver | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13381@lists.php.net to get a copy of this message | ||
Mark Newnham wrote:
Try 1. Removing config.cache 2. Adding --without-odbc to your configure as well as --with-adabas 3. running configure again and rebuilding. MarkHmm. Shorter compile time, same error. I've tried this in many different configurations with tdifferent option turned off or on, and cleaned the environment up as much as possible. I can't get it to error in any other way than at that one file and one line, so I'm wondering if there is anything I could edit in the offending sqlext.h to bring about a successful compile... Here is the error msg again, and I've added the offending lines from sqlext.h below it: underhill:/usr/local/src/php4-4.0.5# make Making all in Zend make[1]: Entering directory `/usr/local/src/php4-4.0.5/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/php4-4.0.5/Zend' Making all in main make[1]: Entering directory `/usr/local/src/php4-4.0.5/main' make[2]: Entering directory `/usr/local/src/php4-4.0.5/main' gcc -I. -I/usr/local/src/php4-4.0.5/main -I/usr/local/src/php4-4.0.5/main -I/usr/local/src/php4-4.0.5 -I/usr/local/src/apache_1.3.19/src/include -I/usr/local/src/apache_1.3.19/src/os/unix -I/usr/local/src/php4-4.0.5/Zend -I/home/sag/aad/v1200/incl -I/usr/local/src/php4-4.0.5/ext/xml/expat/xmltok -I/usr/local/src/php4-4.0.5/ext/xml/expat/xmlparse -I/usr/local/src/php4-4.0.5/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c && touch internal_functions.lo In file included from /usr/local/src/php4-4.0.5/ext/odbc/php_odbc.h:77,
from internal_functions.c:32:/home/sag/aad/v1200/incl/sqlext.h:1951: parse error before `SQLHANDLE' make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php4-4.0.5/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php4-4.0.5/main' make: *** [all-recursive] Error 1 underhill:/usr/local/src/php4-4.0.5# Here is the offending (?) sqlext.h:
1948 #ifndef RC_INVOKED
1949 SQLRETURN SQL_API SQLAllocHandleStd(
1950 SQLSMALLINT fHandleType,
1951 SQLHANDLE hInput,
1952 SQLHANDLE *phOutput);
1953 #endif /* RC_INVOKED */
Thanks for the help ... hope I'm going in the right direction here.
Curtis