php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27014 make fail if ./configure --with-interbase=../firebid --with-mssql=../freetds
Submitted: 2004-01-22 18:57 UTC Modified: 2004-01-29 04:14 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: giuliano dot tarallo at iperurania dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: Irrelevant OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: giuliano dot tarallo at iperurania dot com
New email:
PHP Version: OS:

 

 [2004-01-22 18:57 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-28 21:10 UTC] sniper@php.net
That's a conflict between firebird and freetds header files.
There's nothing PHP can do about that.

 [2004-01-29 04:14 UTC] giuliano dot tarallo at iperurania dot com
ok, anyway if 
./confgure \
  --with-interbase=../firebird \
  --with-sybase=../freetds
make dont fail and it is possible to access mssql and 
sybase db too.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC