php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17811 Undefined symbol "max"
Submitted: 2002-06-18 05:03 UTC Modified: 2002-06-19 12:44 UTC
From: kv_m at rambler dot ru Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0CVS-2002-06-18 OS: FreeBSD
Private report: No CVE-ID: None
 [2002-06-18 05:03 UTC] kv_m at rambler dot ru
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/
libexec/libphp4.so: Undefined symbol "max"
.//apachectl start: httpd could not be started

./configure --disable-cli --with-tsrm-pth --with-dom=/usr/local --with-dom-xslt=/usr/local --with-dom-exslt=/usr/local --with-exec-dir=/usr/local/php/bin --with-mnogosearch=/usr/local/mnsh --enable-dbg=shared --with-dbg-profiler  --enable-inline-optimization --with-freetype-dir=/usr/local --enable-trans-sid --enable-versioning --enable-ftp --with-xml --with-magic-quotes --enable-track-vars --enable-gd-native-ttf --with-png-dir=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-gettext=/usr/local --with-bz2=/usr/local --with-zlib=/usr/local --with-mysql=/usr/local/mysql --enable-calendar --enable-safe-mode --enable-sysvsem --enable-sysvshm --with-config-file-path=/usr/local/php/ --with-exec-dir=/usr/local/php/bin --with-mod_charset --enable-bcmath --with-iconv=/usr/local

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-18 05:06 UTC] derick@php.net
Which version of FreeBSD, which versions of autoconf/automake and libtool, and did you try it from fresh sources?

Derick
 [2002-06-18 05:10 UTC] kv_m at rambler dot ru
FreeBSD 4.5

autoconf version 2.13
automake version 1.4
libtool version 1.4.2
 [2002-06-18 06:22 UTC] mfischer@php.net
Real error:
Zend/zend_mm.o: In function `zend_mm_alloc':
/home/mfischer/isrc/cvs/php4ze2/Zend/zend_mm.c:159: undefined reference to `max'
Zend/zend_mm.o: In function `zend_mm_realloc':
/home/mfischer/isrc/cvs/php4ze2/Zend/zend_mm.c:253: undefined reference to `max'

Btw, I think posting such problems directly to php-dev@ with a good subject is better. The main developers don't read the bugs here often and are mostly the only ones who will fix this.
 [2002-06-18 16:25 UTC] sniper@php.net
that's why we have this new category..

 [2002-06-19 12:44 UTC] mfischer@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 20:00:02 2026 UTC