#27014 [Bgs]: make fail if ./configure --with-interbase=../firebid --with-mssql=../freetds

From: Date: Thu, 29 Jan 2004 09:14:17 +0000
Subject: #27014 [Bgs]: make fail if ./configure --with-interbase=../firebid --with-mssql=../freetds
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54112@lists.php.net to get a copy of this message
ID: 27014 User updated by: giuliano dot tarallo at iperurania dot com Reported By: giuliano dot tarallo at iperurania dot com Status: Bogus Bug Type: Compile Failure Operating System: linux PHP Version: Irrelevant New Comment: ok, anyway if ./confgure \ --with-interbase=../firebird \ --with-sybase=../freetds make dont fail and it is possible to access mssql and sybase db too. Previous Comments: ------------------------------------------------------------------------ [2004-01-28 21:10:14] sniper@php.net That's a conflict between firebird and freetds header files. There's nothing PHP can do about that. ------------------------------------------------------------------------ [2004-01-22 18:57:05] giuliano dot tarallo at iperurania dot com Description: ------------ If and only if you ./configure --with-interbase=../firebird --with-mssql=../freetds when you make then you obtain a compile failure. If you configure only --with-interbase or only --with-freetds there is no problem. I have used firebirdsql 1.5rc8, and freetd 0.61.1 or above. Reproduce code: --------------- In file included from /opt/arl/freetds/include/sybfront.h:23, from /opt/arl/freetds/include/sqlfront.h:23, from /home/ftp/pub/php4-STABLE-200401222230/ext/mssql/php_mssql.h:36, from main/internal_functions.c:34: /opt/arl/freetds/include/sybdb.h:104: error: redefinition of `USHORT' /opt/firebird/include/ibase.h:98: error: `USHORT' previously declared here /opt/arl/freetds/include/sybdb.h:150: error: redefinition of `BYTE' /opt/firebird/include/ibase.h:153: error: `BYTE' previously declared here make: *** [main/internal_functions.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27014&edit=1

« previous php.bugs (#54112) next »