Skip to Content.
Sympa Menu

freetds - [freetds] Problems compiling PHP with support for mssql (freetds) and firebird

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "melim" <melim AT softexpert.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problems compiling PHP with support for mssql (freetds) and firebird
  • Date: Thu, 9 Jun 2005 15:40:39 -0300


Hello folks,

I´ve got a strange problem with an uncommon situation,
Trying to compile php 4.3.11 using this line

'./configure' \
'--with-mssql=/usr/local/freetds/' \
'--with-interbase=/opt/firebird/' \

Until here everything goes fine, but when I run make I got this problem:

In file included from /usr/local/freetds/include/sybfront.h:23,
from /usr/local/freetds/include/sqlfront.h:23,
from
/root/install/teste/php-4.3.11/ext/mssql/php_mssql.h:36,
from main/internal_functions.c:34:
/usr/local/freetds/include/sybdb.h:113: error: redefinition of `USHORT'
/opt/firebird/include/ibase.h:101: error: `USHORT' previously declared here
/usr/local/freetds/include/sybdb.h:265: error: redefinition of `BYTE'
/opt/firebird/include/ibase.h:156: error: `BYTE' previously declared here
make: *** [main/internal_functions.lo] Error 1

I´ve posted this to php bugs list, but they told me to ask for this
correction for Freetds or Firebird developers, so here I am.
I'm using the last versions from freetds and firebird.
If you need any other information to help you to find an answer for this,
tell me and I will give you.




Thanks for your attention













André L. Melim
Analista de Infraestrutura
SoftExpert Quality Software
+55 (47) 2101-9947
http://www.softexpert.com






Archive powered by MHonArc 2.6.24.

Top of Page