List Info

Thread: compling backends 1.0.18




compling backends 1.0.18
user name
2006-11-04 13:49:59
Hi,
 
I am trying to compile sane-backends-1.0.18 and I am getting the following error when I run make:
 
make[1]: Entering directory `/cygdrive/c/musrara/scanner/sane/sane-backends-1.0.18/sane-backends-1.0.18/backend'
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/lo
cal/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=pixma_io_sanei -DLIBDIR=/usr/local/lib/sane pixma_io_sanei.c ; -DP
IC -o .libs/pixma_io_sanei.o
pixma_io_sanei.c: In function `map_error':
pixma_io_sanei.c:217: error: `ECANCELED' undeclared (first use in this function)
pixma_io_sanei.c:217: error: (Each undeclared identifier is reported only once
pixma_io_sanei.c:217: error: for each function it appears in.)
make[1]: *** [pixma_io_sanei.lo] Error 1
make[1]: Leaving directory `/cygdrive/c/musrara/scanner/sane/sane-backends-1.0.18/sane-backends-1.0.18/backend'
make: *** [all-recursive] Error 1
 
I am running cygwin on windows xp.
 
Has anyone run into this problem? Any ideas what I should do?
 
Thanks,
Guy
 
compling backends 1.0.18
user name
2006-11-04 15:28:19
Hi,

On Saturday 04 November 2006 14:49, Guy Yitzhaki wrote:
> I am trying to compile sane-backends-1.0.18 and I am
getting the following
> error when I run make:
> [...]
> pixma_io_sanei.c: In function `map_error':
> pixma_io_sanei.c:217: error: `ECANCELED' undeclared
(first use in this
> function)
> [...]

You have following options:

- redownload the source code from CVS or daily snapshots,
- replace ECANCELED in function 'map_error' with EIO or
- disable the pixma backend if you don't need it (Remove
word 'pixma' from 
file 'configure'. There is only one occurrence.)

Regards
-- 
Wittawat Yamwong
Hannover, Germany

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )