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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061104/b4e49fcb/attachment.html From bert...@sikken.nl Sat Nov 4 17:00:21 2006 From: bert...@sikken.nl (Bertrik Sikken) Date: Sat Nov 4 17:31:09 2006 Subject: [sane-devel] Fixing compiler warnings Message-ID: <454cb915.2080...@sikken.nl> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Last time I compiled sane-backends, I got quite a lot of compile warnings. Some of these may be harmless, others may be hiding actual bugs. I think it's good practice to attempt to fix *all* warnings. This way a developer no longer has to sift out the harmful from the harmless ones, but can simply consider each warning as something to be dealt with. I won't mind working on fixing some of them. I'll have a look at backends and other subsystems that are part of the official sane-backends sources. Kind regards, Bertrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFTLkVETD6mlrWxPURAooEAJ9B3G1O8JMWcadXoq0q4jPNIkopsgCffdsq oL6y8yVGweYeaeJ3RtUQKNo= =aQ/G -----END PGP SIGNATURE-----