php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1104 msql support fails compiling
Submitted: 1999-01-31 18:40 UTC Modified: 1999-02-06 14:37 UTC
From: sintoris at ceid dot upatras dot gr Assigned:
Status: Closed Package: mSQL related
PHP Version: 3.0.6 OS: SuSE 5.3 (kernel 2.0.35)
Private report: No CVE-ID: None
 [1999-01-31 18:40 UTC] sintoris at ceid dot upatras dot gr
Compiling under linux with msql support generates this:

functions/msql.c: In function `php3_msql_fetch_field':
functions/msql.c:1219: warning: assignment makes pointer from integer without a cast
functions/msql.c:1230: `PRI_KEY_FLAG' undeclared (first use this function)
functions/msql.c:1230: (Each undeclared identifier is reported only once
functions/msql.c:1230: for each function it appears in.)
functions/msql.c: In function `php3_msql_field_info':
functions/msql.c:1297: warning: assignment makes pointer from integer without a cast
functions/msql.c:1323: `PRI_KEY_FLAG' undeclared (first use this function)
make: *** [functions/msql.o] Error 1

I use Apache 1.3.0 (installed by YaST), msql 2.0.6, PHP 3.0.6.

./configure --with-apache=/... --with-msql=/... runs ok.
It seems to be similar with bug ID#112

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-06 14:37 UTC] sas
This is a bug in mSQL which does not #define APIENTRY correctly. You may add -D_OS_UNIX to your CFLAGS for now, PHP 3.0.7 will contain a workaround.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC