Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [202.156.2.253] From: "Alvin Ng" To: cygwin AT cygwin DOT com Subject: Help needed for compilation of PHP 4 Date: Sat, 01 Sep 2001 17:40:11 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 01 Sep 2001 17:40:11.0307 (UTC) FILETIME=[264A27B0:01C1330D] Hi, I am currently stuck with compiling PHP4 with the latest Cygwin distribution. Compiling PHP 4.0.6 would produce: .... datetime.c: In function `php_mktime': datetime.c:187: wrong type argument to unary minus datetime.c: In function `php_date': datetime.c:437: invalid operands to binary / datetime.c:437: invalid operands to binary % datetime.c:445: wrong type argument to unary minus datetime.c:445: wrong type argument to unary minus datetime.c:498: invalid operands to binary / datetime.c:499: invalid operands to binary % make[3]: *** [datetime.lo] Error 1 .... Does anyone know the explaination for this error and the workarounds for it? I could not make sense of the prior discussions in the archive that also was about a similar PHP problem. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/