# Problem in sane-1.00

David M. Ronis (ronis@ronispc.chem.mcgill.ca)
Fri, 15 Jan 1999 09:11:39 -0500 (EST)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Gunter Koenigsmann: "mustek 12000P"
- Previous message: Ralph Kulgere: "Mustek TwainScan 600 III EP Plus"

I've been trying to compile sane on a linux-2.2.0-pre7 box using egcs.

So far I've found the following problems:

1. strndup isn't declared (not really a problem).
2. There is an error in backend/abaton.c. Here's the patch:

*** abaton.c Fri Jan 15 09:06:45 1999
--- abaton.c.orig Fri Jan 15 09:07:47 1999
***************
*** 1113,1119 ****
case OPT_Y_RESOLUTION:
if (s->val[OPT_PREVIEW].w || s->val[OPT_RESOLUTION_BIND].w) {
! s->val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;
if (info)
*info |= SANE_INFO_RELOAD_OPTIONS;
}
--- 1113,1119 ----
case OPT_Y_RESOLUTION:
if (s->val[OPT_PREVIEW].w || s->val[OPT_RESOLUTION_BIND].w) {
! s->val[OPT_X_RESOLUTION] = *(SANE_Word *)val;
if (info)
*info |= SANE_INFO_RELOAD_OPTIONS;

David Ronis

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

- Next message: Gunter Koenigsmann: "mustek 12000P"
- Previous message: Ralph Kulgere: "Mustek TwainScan 600 III EP Plus"