php4 Zend2 compile problem

From: Date: Wed, 19 Jun 2002 11:42:25 +0000
Subject: php4 Zend2 compile problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-85338@lists.php.net to get a copy of this message
Hi, just did: cvs co php4 cvs co ZendEngine2 and replaced with Zend ./buildconf ./configure --with-pgsql=shared,/usr --with-mysql=shared,/usr --enable-cli --with-config-file-path=/etc/php5/cgi --disable-xml and then make fails with: /usr/local/php_cvs/php4/Zend/zend_mm.c:253: undefined reference to `max' after adding #ifndef max #define max(a,b) ((a)>(b) ? (a) : (b)) #endif into zend_mm.h everything goes fine. any ideas? regards -- Hakan Kuecuekyilmaz, University of Applied Sciences Esslingen, Germany <hakan@php.net> | <hakan@lisas.de> | <hakan.kuecuekyilmaz@web.de>

« previous php.dev (#85338) next »