php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1132 Unable to compile PHP3 with the new mSQL 2.0.6
Submitted: 1999-02-09 04:49 UTC Modified: 1999-02-09 08:30 UTC
From: skyhi at vipe dot technion dot ac dot il Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.6 OS: Linux
Private report: No CVE-ID: None
 [1999-02-09 04:49 UTC] skyhi at vipe dot technion dot ac dot il
I defined MSQL1 to 0 in config.h file, but I got the following error messages:

/usr/local/Hughes/include/msql.h:150: parse error before `msqlCopyDB'
/usr/local/Hughes/include/msql.h:150: warning: data definition has no type or storage class

functions/msql.c: In function `php3_msql_fetch_hash':
functions/msql.c:1075: warning: assignment makes pointer from integer without a cast

(There are more, but it's the same error messages).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-09 08:30 UTC] sas
./configure PHP3 with CFLAGS="-D_OS_UNIX=1", msql.h assumes it sees _OS_UNIX on all Unix flavors and breaks, if it is not there.
---
Btw, there is a workaround in the current CVS which will be also in PHP 3.0.7
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 11:01:34 2024 UTC