Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2007 19:10:28 +0000
From:      beni <beni@brinckman.info>
To:        freebsd-questions@freebsd.org
Subject:   Portupgrading cups-base gives compiler error
Message-ID:  <200709281910.28436.beni@brinckman.info>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm running 6.2-STABLE and my ports are up to date. When trying to portupgrade 
print/cups-base from 1.2.12 to 1.3.0 I am getting a "compiler error". Any 
cure for this ?

Thanks !

...
echo Compiling admin.c...
Compiling admin.c...
cc  -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -c 
admin.c
admin.c: In function `do_config_server':
admin.c:1364: warning: implicit declaration of function 
`cupsAdminGetServerSettings'
admin.c:1383: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this 
function)
admin.c:1383: error: (Each undeclared identifier is reported only once
admin.c:1383: error: for each function it appears in.)
admin.c:1421: warning: implicit declaration of function 
`cupsAdminSetServerSettings'
admin.c: In function `do_menu':
admin.c:2278: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in this 
function)
gmake[1]: *** [admin.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/cups-base/work/cups-1.3.0/cgi-bin'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/print/cups-base.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.79030.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.2.12 
UPGRADE_PORT_VER=1.2.12 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! print/cups-base (cups-base-1.2.12)    (compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
bsdaddict#
-- 
Beni.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709281910.28436.beni>