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] [EMAIL PROTECTED]

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

Reply via email to