With the recently released sane 1.0.3 tarball when I
tried to build it, the compile failed on a file inclusion
in sanei_scsi.c . Usually this sort of thing involves
digging through someone else's source. Not this time,
it was my code that broke (with help from some other
party).
Using a linux kernel 2.4.0-test6 probably doesn't
alter the problem with the sane source. As I don't
have CVS access here is a patch in "diff -du"
format to fix the problem:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
--- sanei/linux_sg3_err.h_orig Sat Aug 12 10:53:44 2000
+++ sanei/linux_sg3_err.h Sat Aug 12 18:00:57 2000
@@ -1,7 +1,7 @@
#ifndef SG_ERR_H
#define SG_ERR_H
#include <linux/../scsi/scsi.h> /* cope with silly includes */
-#include <sg.h>
+#include <linux/../scsi/sg.h>
/* Feel free to copy and modify this GPL-ed code into your applications. */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If it is not clear to the sane maintainers why that line
is incorrect, contact me.
Downloaded xsane 0.61 and it built clean but failed with
my Umax 1220S scanner. It gave a "Failed to start scanner:
Device busy" error. It also lost track of the scan head
and after several retries bashed the head against the
far end of the mechanism. [Also retried xsane 0.59 with
sane 1.0.3 and it failed the same way.] Haven't seen
anything like this before.
Doug Gilbert
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sat Aug 12 2000 - 21:19:41 PDT