From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 14:53:58 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C604716A417 for ; Sun, 30 Sep 2007 14:53:58 +0000 (UTC) (envelope-from ecerejo@optonline.net) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id AC30513C45A for ; Sun, 30 Sep 2007 14:53:58 +0000 (UTC) (envelope-from ecerejo@optonline.net) Received: from ecerejo.netgear.com (ool-44c03822.dyn.optonline.net [68.192.56.34]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JP600GBJS1R1W10@mta5.srv.hcvlny.cv.net> for FreeBSD-questions@freebsd.org; Sun, 30 Sep 2007 10:53:52 -0400 (EDT) Date: Sun, 30 Sep 2007 10:52:37 -0400 From: "E. J. Cerejo" To: FreeBSD-questions@freebsd.org Message-id: <46FFB835.3020102@optonline.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.6 (X11/20070728) Cc: Subject: cups-base fails to compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2007 14:53:58 -0000 I'm running FreeBSD 6-stable and I just updated the ports tree using cvsup and the portupgrade tools, but now I get this error when I try to build cups-base: cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. -I/usr/local/include -O -pipe -march=pentium4 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. `/usr/local/bin/php-config --includes` -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. `/usr/local/bin/php-config --includes` -c phpcups.c In file included from /usr/local/include/php/main/php.h:38, from phpcups.c:33: /usr/local/include/php/Zend/zend_API.h:327: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here In file included from /usr/local/include/php/main/php.h:416, from phpcups.c:33: /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:202: warning: declaration of 'link' shadows a global declaration /usr/include/unistd.h:348: warning: shadowed declaration is here In file included from /usr/local/include/php/main/php.h:418, from phpcups.c:33: /usr/local/include/php/Zend/zend_constants.h:63: warning: declaration of 'strlen' shadows a global declaration /usr/include/string.h:90: warning: shadowed declaration is here phpcups.c: In function `zm_startup_phpcups': phpcups.c:163: error: `CUPS_PRINTER_DISCOVERED' undeclared (first use in this function) phpcups.c:163: error: (Each undeclared identifier is reported only once phpcups.c:163: error: for each function it appears in.) gmake[1]: *** [phpcups.o] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.3.3/scripting/php' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. Does anyone know how to fix this?