Date: Sun, 30 Sep 2007 10:52:37 -0400 From: "E. J. Cerejo" <ecerejo@optonline.net> To: FreeBSD-questions@freebsd.org Subject: cups-base fails to compile Message-ID: <46FFB835.3020102@optonline.net>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46FFB835.3020102>