|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2801 'return_value_used' undeclared in standard/array.c
Submitted: 1999-11-23 16:38 UTC Modified: 1999-11-23 16:39 UTC
From: nachix at usa dot net Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 3 OS: FreeBSD-2.2.6 STABLE
Private report: No CVE-ID: None
 [1999-11-23 16:38 UTC] nachix at usa dot net
I'm compiling PHP 4.0b3 with Apache 1.3.9, using gcc (the one that came with FreeBSD).  I configured Apache, then did on php tree:

./configure --with-mysql --with-apache=../apache_1.3.9 --enable-track-vars


PHP starts compiling fine, but suddenly it reports:

/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend -I/usr/src/apache_1.3.9/src/include -I/usr/src/apache_1.3.9/src/os/unix  -I/usr/local/include/mysql    -g -O2 -g -O2 -c -o array.lo array.c

array.c:  In function `php3_reset':
array.c:582: `return_value_used' undeclared (first use of this function)

*** Error code 1


array.c is located in ext/standard


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-23 16:39 UTC] andrei at cvs dot php dot net
Please download the latest Beta 3 (
and try again.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 17:01:33 2024 UTC