ID: 28626 Updated by: [EMAIL PROTECTED] Reported By: matt at iws dot co dot nz -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Redhat 7.1 PHP Version: 4.3.7 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-06-04 01:15:22] sinatosk at hotmail dot com I too is also having the same problem... I am using Redhat 9.0 and freetds version 0.62.3 ------------------------------------------------------------------------ [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