From owner-freebsd-current Fri Jun 21 19:53:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from crazytrain.camattin.com (dsl-64-192-134-253.telocity.com [64.192.134.253]) by hub.freebsd.org (Postfix) with ESMTP id DE42B37B40A for ; Fri, 21 Jun 2002 19:53:34 -0700 (PDT) Received: from crazytrain.camattin.com (localhost [127.0.0.1]) by crazytrain.camattin.com (8.12.4/8.12.4) with ESMTP id g5M2rYw2070441 for ; Fri, 21 Jun 2002 22:53:34 -0400 (EDT) (envelope-from camattin@camattin.com) Received: from localhost (camattin@localhost) by crazytrain.camattin.com (8.12.4/8.12.4/Submit) with ESMTP id g5M2rTVn070438 for ; Fri, 21 Jun 2002 22:53:29 -0400 (EDT) X-Authentication-Warning: crazytrain.camattin.com: camattin owned process doing -bs Date: Fri, 21 Jun 2002 22:53:29 -0400 (EDT) From: "Chris A. Mattingly" To: freebsd-current@freebsd.org Subject: awk woes Message-ID: <20020621223834.E67152-100000@crazytrain.camattin.com> X-Message-Flag: You really should not be able to see this message. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In trying to recompile php-4.2.1 on my current -current system, to go along with the new apache, I've run into some problems that haven't shown up in all the other places I've had to recompile apache/php these past few days which is why I'm here first instead of on the php lists.... I'm running -current with sources cvsup'ed from this morning (06/21, early morning EDT). Problem 1: When running php's configure, awk core dumps several times. I've yet to determine exactly where the core dumps are occurring, though. Four of them occur during the configure; but the configure seems to complete OK. Problem 2: Compiling main/main.c I get the following errors: main.c: In function `php_disable_functions': main.c:157: warning: initialization makes pointer from integer without a cast main.c:161: warning: assignment makes pointer from integer without a cast main.c:164: warning: assignment makes pointer from integer without a cast The relevant lines from main.c are: 154: static void php_disable_functions(TSRMLS_D) 155: { 156: char *func; 157: char *new_value_dup = strdup(INI_STR("disable_functions")); xxx: snip comments 161: func = strtok(new_value_dup, ", "); 162: while (func) { 163: zend_disable_function(func, strlen(func) TSRMLS_CC); 164: func = strtok(NULL, ", "); 165: } 166: } No other OS's seem to complain about this, so why is freebsd? Has anyone been successful getting php4 compiled on -current? TIA, -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message