From owner-freebsd-ports@FreeBSD.ORG Tue May 26 15:37:53 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1838C1065673 for ; Tue, 26 May 2009 15:37:53 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id B8BEF8FC1F for ; Tue, 26 May 2009 15:37:52 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n4QFOFfu004743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 26 May 2009 17:24:16 +0200 Date: Tue, 26 May 2009 17:24:15 +0200 From: Albert Shih To: ports@freebsd.org Message-ID: <20090526152415.GC2203@obspm.fr> References: <4A1ACB5A.7020601@rawbw.com> <315811.87197.qm@web32106.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <315811.87197.qm@web32106.mail.mud.yahoo.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Tue, 26 May 2009 17:24:16 +0200 (CEST) X-Virus-Scanned: ClamAV 0.94.2/9393/Tue May 26 12:17:55 2009 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: Subject: Re: sane-backends-1.0.19_1 fails to compile 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: Tue, 26 May 2009 15:37:53 -0000 Le 25/05/2009 à 09:57:15-0700, GESBBB a écrit > > > From: Yuri > > > > 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