php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #716 function php3_msql_field_info PRI_KEY_FLAG undeclared
Submitted: 1998-09-02 11:51 UTC Modified: 1998-09-02 13:11 UTC
From: jprice at moment dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jprice at moment dot net
New email:
PHP Version: OS:

 

 [1998-09-02 11:51 UTC] jprice at moment dot net
#>cat do-conf

./configure --with-apache=../apache_1.3.1 --with-mysql=/usr/local/mysql --with-m
sr/local/msql --enable-safe-mode=yes --with-exec-dir=/www/web/cgi-bin --enable-t
ars=yes


#>make
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.1/src/include -I../apache_1.3.1/src/o
      -I/usr/local/mysql/include -I/usr/local/msql/include              -c funct
sql.c -o functions/msql.o
functions/msql.c: In function `php3_msql_fetch_field':
functions/msql.c:1214: `PRI_KEY_FLAG' undeclared (first use this function)
functions/msql.c:1214: (Each undeclared identifier is reported only once
functions/msql.c:1214: for each function it appears in.)
functions/msql.c: In function `php3_msql_field_info':
functions/msql.c:1308: `PRI_KEY_FLAG' undeclared (first use this function)
make: *** [functions/msql.o] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-02 13:11 UTC] zeev
Looks like mSQL 1.x is being detected, but you're not
compiling with mSQL 1.x, or with a very old 2.x.

Check config.h to see whether MSQL1 is defined to 1 - if
it is, and you're compiling with mSQL 2.x, change it.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 10:01:29 2024 UTC