From:             matt at iws dot co dot nz
Operating system: Redhat 7.1
PHP version:      4.3.7
PHP Bug Type:     Compile Failure
Bug description:  mssql, redefinition of `SHORT' compiler error 

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 bug report at http://bugs.php.net/?id=28626&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28626&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28626&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28626&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28626&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28626&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28626&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28626&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28626&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28626&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28626&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28626&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28626&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28626&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28626&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28626&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28626&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28626&r=float

Reply via email to