sane-backends-1.0.19_1 fails to compile
Albert Shih
Albert.Shih at obspm.fr
Tue May 26 15:37:53 UTC 2009
Le 25/05/2009 à 09:57:15-0700, GESBBB a écrit
>
> > From: Yuri <yuri at 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
More information about the freebsd-ports
mailing list