From owner-freebsd-ports@FreeBSD.ORG Fri Jun 23 18:09:57 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 469F316A4A9; Fri, 23 Jun 2006 18:09:57 +0000 (UTC) (envelope-from derrick@uniquestrength.net) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C99443D45; Fri, 23 Jun 2006 18:09:56 +0000 (GMT) (envelope-from derrick@uniquestrength.net) Received: from mail.uniquestrength.net ([68.55.192.50]) by comcast.net (sccrmhc11) with ESMTP id <2006062318095501100epe77e>; Fri, 23 Jun 2006 18:09:55 +0000 Received: from localhost (localhost.uniquestrength.net [127.0.0.1]) by mail.uniquestrength.net (Postfix) with ESMTP id 844285E77; Sat, 17 Jun 2006 14:47:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at uniquestrength.net Received: from mail.uniquestrength.net ([127.0.0.1]) by localhost (mail.uniquestrength.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vRPUzQpG2yh5; Sat, 17 Jun 2006 14:47:07 -0400 (EDT) Received: from focus.uniquestrength.net (unknown [10.10.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.uniquestrength.net (Postfix) with ESMTP id 3241A5C17; Sat, 17 Jun 2006 14:47:07 -0400 (EDT) From: Derrick Edwards To: freebsd-ports@freebsd.org, a.l.w.kuijper@rug.nl Date: Fri, 23 Jun 2006 14:12:50 -0400 User-Agent: KMail/1.9.3 References: <449C266B.8080905@rug.nl> In-Reply-To: <449C266B.8080905@rug.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606231412.52083.derrick@uniquestrength.net> Cc: ports@freebsd.org Subject: Re: cups-base with php extension X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 18:09:57 -0000 On Friday 23 June 2006 13:35, Bram Kuijper wrote: > Hi, > > I am trying to build the /usr/ports/print/cups-base port with the > included php extension on a FreeBSD 6.1-stable machine, but make > install results in an error: > > /usr/include/string.h:90: warning: shadowed declaration is here > In file included from /usr/local/include/cups/ipp.h:35, > from /usr/local/include/cups/cups.h:34, > from phpcups.h:32, > from phpcups.c:36: > /usr/local/include/cups/http.h:308: warning: declaration of 'encrypt' > shadows a globa > l declaration > /usr/include/unistd.h:426: warning: shadowed declaration is here > phpcups.c: In function `zm_startup_phpcups': > phpcups.c:131: error: `CUPS_PRINTER_DELETE' undeclared (first use in > this function) > phpcups.c:131: error: (Each undeclared identifier is reported only once > phpcups.c:131: error: for each function it appears in.) > phpcups.c:132: error: `CUPS_PRINTER_NOT_SHARED' undeclared (first use in > this functio > n) > phpcups.c:133: error: `CUPS_PRINTER_AUTHENTICATED' undeclared (first use > in this func > tion) > phpcups.c:134: error: `CUPS_PRINTER_COMMANDS' undeclared (first use in > this function) > phpcups.c:144: error: `IPP_OK_EVENTS_COMPLETE' undeclared (first use in > this function > ) > phpcups.c: In function `zif_cups_last_error_string': > phpcups.c:367: warning: implicit declaration of function > `cupsLastErrorString' > gmake[1]: *** [phpcups.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/print/cups-base/work/cups-1.2.0/scripting/php > ' > gmake: *** [all] Error 1 > *** Error code 2 > > Stop in /usr/ports/print/cups-base. > *** Error code 1 > > googling for the error or browsing through the ports mailinglist archive > didn't result in anything useful. Anyone any idea? > > Bram > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Hi, I am getting the same thing also. v/r Derrick n file included from /usr/local/include/php/ext/php_config.h:18, from /usr/local/include/php/main/../main/php_config.h:2777, from /usr/local/include/php/Zend/zend_config.h:1, from /usr/local/include/php/Zend/zend.h:53, from /usr/local/include/php/main/php.h:34, from phpcups.c:33: /usr/local/include/php/ext/imap/config.h:9:1: warning: "HAVE_LIBPAM" redefined In file included from ../../cups/string.h:40, from phpcups.c:32: ../../config.h:131:1: warning: this is the location of the previous definition In file included from /usr/local/include/php/main/php.h:38, from phpcups.c:33: /usr/local/include/php/Zend/zend_API.h:315: 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:404, from phpcups.c:33: /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:178: 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:406, from phpcups.c:33: /usr/local/include/php/Zend/zend_constants.h:62: warning: declaration of 'strlen' shadows a global declaration /usr/include/string.h:90: warning: shadowed declaration is here In file included from /usr/local/include/cups/ipp.h:35, from /usr/local/include/cups/cups.h:34, from phpcups.h:32, from phpcups.c:36: /usr/local/include/cups/http.h:308: warning: declaration of 'encrypt' shadows a global declaration /usr/include/unistd.h:426: warning: shadowed declaration is here phpcups.c: In function `zm_startup_phpcups': phpcups.c:131: error: `CUPS_PRINTER_DELETE' undeclared (first use in this function) phpcups.c:131: error: (Each undeclared identifier is reported only once phpcups.c:131: error: for each function it appears in.) phpcups.c:132: error: `CUPS_PRINTER_NOT_SHARED' undeclared (first use in this function) phpcups.c:133: error: `CUPS_PRINTER_AUTHENTICATED' undeclared (first use in this function) phpcups.c:134: error: `CUPS_PRINTER_COMMANDS' undeclared (first use in this function) phpcups.c:144: error: `IPP_OK_EVENTS_COMPLETE' undeclared (first use in this function) phpcups.c: In function `zif_cups_last_error_string': phpcups.c:367: warning: implicit declaration of function `cupsLastErrorString' gmake[1]: *** [phpcups.o] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.2.0/scripting/php' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/print/cups-base. ===>>> make failed for print/cups-base ===>>> Aborting update ===>>> Update for cups-base-1.1.23.0_9 failed ===>>> Aborting update