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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 06:00:02 2026 UTC