Re: php4 Zend2 compile problem
| From: | Andi Gutmans | Date: | Wed, 19 Jun 2002 16:14:08 +0000 |
| Subject: | Re: php4 Zend2 compile problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85377@lists.php.net to get a copy of this message | ||
At 01:42 PM 6/19/2002 +0200, Hakan Kuecuekyilmaz wrote:
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?I commited your fix. Thanks, Andi