php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29189 compile failure with --with-mssql
Submitted: 2004-07-15 17:08 UTC Modified: 2004-07-16 22:37 UTC
From: ute at centrum dot cz Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.8 OS: FreeBSD 5.2.1
Private report: No CVE-ID: None
 [2004-07-15 17:08 UTC] ute at centrum dot cz
Description:
------------
Compilation php crashes with --with-mssql and freetds-0.62.3

In file included from /usr/src/php-4.3.8/ext/mssql/php_mssql.c:33:
/usr/src/php-4.3.8/ext/mssql/php_mssql.h:41: error: redefinition of `SHORT'
/usr/local/include/sybdb.h:117: error: `SHORT' previously declared here
*** Error code 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-15 17:22 UTC] ute at centrum dot cz
the same bug reported
 [2004-07-16 22:09 UTC] sinatosk at hotmail dot com
am quite surprised to see this bug is still here considering that one of the developers or whoever told me that this was fixed in a CVS when I and someone else reported this bug for php 4.3.7... now it still remains in 4.3.8???
 [2004-07-16 22:37 UTC] pollita@php.net
This was fixed prior to the 4.3.8 release, but because the 4.3.8 release was "special" normal bugfixes (like this one) were not included (only the urgent security fixes were included).

Fear not.  4.3.9 will contain this, and other bugfixes as expected.
 [2004-07-19 13:01 UTC] nickt at powys dot gov dot uk
Just to confirm that latest CVS version (1.23.4.12) of 
php_mssql.h (PHP_4_3 Branch) does fix this problem for PHP 
4.3.8.  Download from 
http://cvs.php.net/co.php/php-src/ext/mssql/php_mssql.h?r=1.23.4.12&p=1
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 18:01:27 2024 UTC