Easysoft ODBC-ODBC Bridge

Why do I get parse errors when compiling PHP with OOB?

Article:
00981
Last Reviewed:
2nd June 2008
Revision:
1

There are a number of reasons why you may get parse errors whilst building PHP and OOB many of which are nothing to do with OOB. However some that we have seen are:

In file included from /usr/local/easysoft/oob/client/include/odbc.h:2, from functions/php3_unified_odbc.h:199, from internal_functions.c:90:

/usr/local/easysoft/oob/client/include/sqlext.h:1652: parse error before '0'

/usr/local/easysoft/oob/client/include/sqlext.h:1756: parse error before '0'

In this case a beta tester was building PHP with informix (--with-informix) and custom ODBC support. The problem with doing this is that the both drivers define many of the same symbols. In this case SQLCHAR was defined as '0' by Informix. If you want multiple ODBC drivers available from PHP, Easysoft recommend that you install a driver manager (e.g. http://www.unixodbc.org ) and then tell the driver manager about your multiple drivers.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)


Oracle is a registered trademark of Oracle Corporation and/or its affiliates.