[sane-devel] Pixma Backend Compile Error

Wittawat Yamwong wy-sane-devel at arcor.de
Mon Apr 30 23:03:54 UTC 2007

Hi Hugh,

On Monday 30 April 2007 08:08, Hugh McMaster wrote:
> I have managed to compile Sane 1.0.18 on Cygwin successfully.  The
> only backend that does not compile is the Pixma backend.  I have
> attached the output of the compile error.
> If anyone has any ideas on this...
> Hugh
> Output:
> pixma.c: In function 'map_error':
> pixma.c:132: error: 'ECANCELED' undeclared (first use in this function)
> [...]

Please grasp the CVS version. It's already fixed there. If you don't want to 
do that for some reason, insert this code

# define ECANCELED 10002

in backend/pixma.h after the #endif

#ifndef ENODATA
# define ENODATA       10001

Wittawat Yamwong
Hannover, Germany

More information about the sane-devel mailing list