Compile Error

Richard Kuhlbars (kuhlbars@usa.net)
Fri, 09 Apr 1999 17:42:27 +0000

In order to make sure my sane is up-to-date I tried the following:

1. removed current sane version using yasp (Linux, suse 6.0)
2. tar'd the latest sane version into /usr/local/bin
3. ran configure (fixed version dated Nov. 22 - no problems)
4. "make" returns

make[1]: Entering directory `/usr/local/bin/sane-1.00/backend'
gcc -c -g -O2 -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
-DBACKEND_NAME=abaton -DLIBDIR=/usr/local/lib/sane -fPIC -DPIC abaton.c
abaton.c: In function `sane_abaton_control_option':
abaton.c:1116: incompatible types in assignment
make[1]: *** [abaton.lo] Error 1
make[1]: Leaving directory `/usr/local/bin/sane-1.00/backend'
make: *** [all-recursive] Error 1

My problems keep getting worse!! ANY ADVICE ??

Thanks in advance

regards
Richard
Kevin Charter wrote:
>
> Richard Kuhlbars wrote:
> >
> > xscanimage and scanimage cannot find my scanner!
> >
> > I'm running an Agfa Snapscan 600 on an Adaptec 1505 SCSI.
> >
> > here's the puzzle:
> >
> > - find-scanner returns
> >
> > find-scanner: found scanner "AGFA SNAPSCAN 600 1.20" at device
> > /dev/scanner
> > find-scanner: found scanner "AGFA SNAPSCAN 600 1.20" at device /dev/sg0
> >
> > - the devices are readable
> >
> > ll /dev/scanner /dev/sg0
> >
> > lrwxrwxrwx 1 root root 8 Mar 10 19:51 /dev/scanner ->
> > /dev/sg0
> > crw-rw-rw- 1 root disk 21, 0 Dec 11 18:21 /dev/sg0
> >
> > - the configuration file /etc/sane.d/snapscan.conf contains
> >
> > > cat /etc/sane.d/snapscan.conf
> > /dev/scanner
> >
> > - 'scanimage -d snapscan:/dev/scanner' returns
> >
> > scanimage: open of device snapscan:/dev/scanner failed: Invalid argument
> >
> > Any advice is appreciated. Thanks in advance.
> >
> > Regards
> > richard
> >
>
> You need an updated version of the backend. There is a patch at
> http://www.cs.ualberta.ca/~charter/snapscan.html
>
> Get that and apply it, or else grab the most recent version of SANE.
> It's fixed there.
>
> Kevin
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

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