#28626 [Com]: mssql, redefinition of `SHORT' compiler error
| From: | sinatosk at hotmail dot com | Date: | Thu, 03 Jun 2004 23:15:29 +0000 |
| Subject: | #28626 [Com]: mssql, redefinition of `SHORT' compiler error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60341@lists.php.net to get a copy of this message | ||
ID: 28626
Comment by: sinatosk at hotmail dot com
Reported By: matt at iws dot co dot nz
Status: Open
Bug Type: Compile Failure
Operating System: Redhat 7.1
PHP Version: 4.3.7
New Comment:
I too is also having the same problem... I am using Redhat 9.0 and
freetds version 0.62.3
Previous Comments:
------------------------------------------------------------------------
[2004-06-03 23:21:55] matt at iws dot co dot nz
Description:
------------
When compiling php against freetds I get the following error:
In file included from /root/setup/php-4.3.7/ext/mssql/php_mssql.c:33:
/root/setup/php-4.3.7/ext/mssql/php_mssql.h:41: redefinition of
`SHORT'
/usr/local/freetds/include/sybdb.h:103: `SHORT' previously declared
here
make: *** [ext/mssql/php_mssql.lo] Error 1
PHP version: 4.3.7
FreeTDS version: 0.61
Configure:
./configure --with-mysql=/usr/local/mysql --with-pgsql
--enable-sockets --with-gd --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-freetype-dir=/usr/local/lib
--with-zlib-dir=/usr/lib --with-pdflib --with-pspell
--with-apxs=/usr/local/apache/bin/apxs --with-xmlrpc --with-xml
--with-mssql=/usr/local/freetds/ --with-curl --enable-sysvshm
--enable-sysvsem --enable-sysvmsg --enable-shmop --enable-ftp
--with-imap=/usr/local/imap-2000e --enable-dbase
--with-openssl=/usr/local/ssl/
php version 4.3.6 works fine with the same configuration. I presume the
error is caused by the latest update to the mssql extention to fix
compile errors with older versions of freeTDS.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28626&edit=1