If you are attempting to build PHP4 RC1 with the Easysoft ODBC-ODBC Bridge, you may get compilation errors such as:
php_odbc.c: In function `php_if_odbc_execute': php_odbc.c:849: parse error before `FAR' php_odbc.c:852: parse error before `FAR'
This happens because PHP4 RC1 expects FAR
to be defined. (FAR
was an old Windows macro.) ODBC-ODBC Bridge header files do not define FAR
. Later builds of PHP4 removed the FAR
dependency. Either upgrade PHP to a later version or define CFLAGS
as -DFAR=""
before running configure
. For example:
CFLAGS=-DFAR="" export CFLAGS ./configure --enable-track-vars …