Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 11:38:28 +0300
From:      "Andrei V. Lavreniyuk" <andy.lavr@reactor-xg.kiev.ua>
To:        ports@FreeBSD.org
Subject:   Error compile ports/graphics/sane-backends (FreeBSD 8.0-CURRENT amd64)
Message-ID:  <4A1A5904.5010203@reactor-xg.kiev.ua>

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


--- skip ---

/bin/sh ../libtool --silent --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-I../include/sane -I.  -I/usr/local/include -I. -I. -I../include 
-I../include -DLIBDIR="/usr/local/lib/sane" -DBACKEND_NAME=canon_dr 
-I/usr/local/include  -D_REENTRANT 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share 
-DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane           -DV_MAJOR=1 
-DV_MINOR=0  -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native 
-mtune=native -fstack-protector -fno-strict-aliasing -Wformat 
-Wformat-security -s -W -Wall -MT libsane_canon_dr_la-canon_dr-s.lo -MD 
-MP -MF .deps/libsane_canon_dr_la-canon_dr-s.Tpo -c -o 
libsane_canon_dr_la-canon_dr-s.lo `test -f 'canon_dr-s.c' || echo 
'./'`canon_dr-s.c
mv -f .deps/libsane_canon_dr_la-canon_dr-s.Tpo 
.deps/libsane_canon_dr_la-canon_dr-s.Plo
/bin/sh ../libtool --silent --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-I../include/sane -I.  -I/usr/local/include -I. -I. -I../include 
-I../include -DLIBDIR="/usr/local/lib/sane" -DBACKEND_NAME=canon_dr 
-I/usr/local/include  -D_REENTRANT 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share 
-DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane           -DV_MAJOR=1 
-DV_MINOR=0  -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native 
-mtune=native -fstack-protector -fno-strict-aliasing -Wformat 
-Wformat-security -s -W -Wall -MT libcanon_dr_la-canon_dr.lo -MD -MP -MF 
.deps/libcanon_dr_la-canon_dr.Tpo -c -o libcanon_dr_la-canon_dr.lo `test 
-f 'canon_dr.c' || echo './'`canon_dr.c
canon_dr.c: In function 'sane_canon_dr_get_option_descriptor':
canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in 
this function)
canon_dr.c:1333: error: (Each undeclared identifier is reported only once
canon_dr.c:1333: error: for each function it appears in.)
canon_dr.c:1334: error: 'SANE_TITLE_STANDARD' undeclared (first use in 
this function)
canon_dr.c:1335: error: 'SANE_DESC_STANDARD' undeclared (first use in 
this function)
canon_dr.c:1545: error: 'SANE_NAME_GEOMETRY' undeclared (first use in 
this function)
canon_dr.c:1546: error: 'SANE_TITLE_GEOMETRY' undeclared (first use in 
this function)
canon_dr.c:1547: error: 'SANE_DESC_GEOMETRY' undeclared (first use in 
this function)
canon_dr.c:1632: error: 'SANE_NAME_PAGE_WIDTH' undeclared (first use in 
this function)
canon_dr.c:1633: error: 'SANE_TITLE_PAGE_WIDTH' undeclared (first use in 
this function)
canon_dr.c:1634: error: 'SANE_DESC_PAGE_WIDTH' undeclared (first use in 
this function)
canon_dr.c:1659: error: 'SANE_NAME_PAGE_HEIGHT' undeclared (first use in 
this function)
canon_dr.c:1660: error: 'SANE_TITLE_PAGE_HEIGHT' undeclared (first use 
in this function)
canon_dr.c:1661: error: 'SANE_DESC_PAGE_HEIGHT' undeclared (first use in 
this function)
canon_dr.c:1680: error: 'SANE_NAME_ENHANCEMENT' undeclared (first use in 
this function)
canon_dr.c:1681: error: 'SANE_TITLE_ENHANCEMENT' undeclared (first use 
in this function)
canon_dr.c:1682: error: 'SANE_DESC_ENHANCEMENT' undeclared (first use in 
this function)
canon_dr.c:1771: error: 'SANE_NAME_ADVANCED' undeclared (first use in 
this function)
canon_dr.c:1772: error: 'SANE_TITLE_ADVANCED' undeclared (first use in 
this function)
canon_dr.c:1773: error: 'SANE_DESC_ADVANCED' undeclared (first use in 
this function)
canon_dr.c:1958: error: 'SANE_NAME_SENSORS' undeclared (first use in 
this function)
canon_dr.c:1959: error: 'SANE_TITLE_SENSORS' undeclared (first use in 
this function)
canon_dr.c:1960: error: 'SANE_DESC_SENSORS' undeclared (first use in 
this function)
canon_dr.c: In function 'read_from_scanner':
canon_dr.c:3543: warning: format '%d' expects type 'int', but argument 6 
has type 'size_t'
canon_dr.c: In function 'read_from_scanner_duplex':
canon_dr.c:3680: warning: format '%d' expects type 'int', but argument 3 
has type 'size_t'
gmake[2]: *** [libcanon_dr_la-canon_dr.lo] ïÛÉÂËÁ 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/backend'
gmake[1]: *** [all] ïÛÉÂËÁ 2
gmake[1]: Leaving directory 
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/backend'
gmake: *** [all-recursive] ïÛÉÂËÁ 1
*** Error code 1

Stop in /usr/ports/graphics/sane-backends.
*** Error code 1

Stop in /usr/ports/graphics/sane-backends.
** Command failed [exit code 1]: /usr/bin/script -qa 
/var/tmp/portupgrade20090525-7761-15bpg9z-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=sane-backends-1.0.19_1 UPGRADE_PORT_VER=1.0.19_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! graphics/sane-backends (sane-backends-1.0.19_1) 
(compiler error)


----------------



Best regards, Andrei Lavreniyuk



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