Date: Tue, 26 May 2009 17:24:15 +0200 From: Albert Shih <Albert.Shih@obspm.fr> To: ports@freebsd.org Subject: Re: sane-backends-1.0.19_1 fails to compile Message-ID: <20090526152415.GC2203@obspm.fr> In-Reply-To: <315811.87197.qm@web32106.mail.mud.yahoo.com> References: <4A1ACB5A.7020601@rawbw.com> <315811.87197.qm@web32106.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 25/05/2009 à 09:57:15-0700, GESBBB a écrit > > > From: Yuri <yuri@rawbw.com> > > > > See log below: > > > > mv -f .deps/libsane_canon_dr_la-canon_dr-s.Tpo > > .deps/libsane_canon_dr_la-canon_dr-s.Plo^M > > /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 -fno-strict-aliasing -pipe -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^M > > canon_dr.c: In function 'sane_canon_dr_get_option_descriptor':^M > > canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this > > function)^M > > canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M > > canon_dr.c:1333: error: for each function it appears in.)^M > > canon_dr.c:1334: error: 'SANE_TITLE_STANDARD' undeclared (first use in this > > function)^M > > canon_dr.c:1335: error: 'SANE_DESC_STANDARD' undeclared (first use in this > > function)^M > > canon_dr.c:1545: error: 'SANE_NAME_GEOMETRY' undeclared (first use in this > > function)^M > > canon_dr.c:1546: error: 'SANE_TITLE_GEOMETRY' undeclared (first use in this > > function)^M > > canon_dr.c:1547: error: 'SANE_DESC_GEOMETRY' undeclared (first use in this > > function)^M > > canon_dr.c:1632: error: 'SANE_NAME_PAGE_WIDTH' undeclared (first use in this > > function)^M > > canon_dr.c:1633: error: 'SANE_TITLE_PAGE_WIDTH' undeclared (first use in this > > function)^M > > canon_dr.c:1634: error: 'SANE_DESC_PAGE_WIDTH' undeclared (first use in this > > function)^M > > canon_dr.c:1659: error: 'SANE_NAME_PAGE_HEIGHT' undeclared (first use in this > > function)^M > > canon_dr.c:1660: error: 'SANE_TITLE_PAGE_HEIGHT' undeclared (first use in this > > function)^M > > canon_dr.c:1661: error: 'SANE_DESC_PAGE_HEIGHT' undeclared (first use in this > > function)^M > > canon_dr.c:1680: error: 'SANE_NAME_ENHANCEMENT' undeclared (first use in this > > function)^M > > canon_dr.c:1681: error: 'SANE_TITLE_ENHANCEMENT' undeclared (first use in this > > function)^M > > canon_dr.c:1682: error: 'SANE_DESC_ENHANCEMENT' undeclared (first use in this > > function)^M > > 1) Update your ports tree > 2) in the graphics/sane-backends directory run: > > make distclean && make deinstall && make reinstall > > That worked for me. > I concur. It's work for me too. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Mar 26 mai 2009 17:23:32 CEST
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090526152415.GC2203>