I try compilling PHP402 with
./configure --with-apache=../apache_1.3.12 \
--with-mysql=/usr/local/mysql \
--with-unixODBC=/usr/local/unixODBC \
--with-sybase=/usr/local/freetds
then make, and got the error:
In file included from /usr/local/unixODBC/include/sql.h:17,
from /home/igel/trash/install/php-4.0.2/ext/odbc/php_odbc.h:98,
from internal_functions.c:39:
/usr/local/unixODBC/include/sqltypes.h:51: redefinition of BYTE'
/usr/local/freetds/include/sybdb.h:99:BYTE' previously declared here
/usr/local/unixODBC/include/sqltypes.h:130: conflicting types for RETCODE'
/usr/local/freetds/include/sybdb.h:72: previous declaration ofRETCODE'
make[2]: *** [internal_functions.lo] Error 1
--
can I solve this problem?
thx