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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
7 - 6 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 14:01:31 2024 UTC