Re: Two Questions

Milon Firikis (milonf@ariadne-t.gr)
Tue, 19 Jan 1999 13:03:53 +0200

Dave Neal wrote:
>
> 1) Is anyone working on providing gamma correction with
> the Nikon LS-1000 negative scanner?
>
> 2) Any thoughts on why it will not compile?
>
> Linux
>
> Compiler = gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
> OS = Linux 2.0.36 (Redhat 5.2)
> Sane-1.0
> Error =
>
> making all in backend
> make[1]: Entering directory `/nh/bosque/packages/src/sane/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=/packages/etc/sane.d -DPATH_SANE_DATA_DIR=/packages/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/packages/lib/sane -fPIC -DPIC sane_strstatus.c
> mv -f sane_strstatus.o sane_strstatus.lo
> gcc -c -g -O2 -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/packages/etc/sane.d -DPATH_SANE_DATA_DIR=/packages/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/packages/lib/sane sane_strstatus.c >/dev/null 2>&1
> gcc -c -g -O2 -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/packages/etc/sane.d -DPATH_SANE_DATA_DIR=/packages/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=abaton -DLIBDIR=/packages/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 `/nh/bosque/packages/src/sane/sane-1.00/backend'
> make: *** [all-recursive] Error 1
>

yep. you 'll need a minor patch for the abaton.c scanner. In the mean
time you can avoid the compilation of the this backend (abaton.c, for
abaton scanners) by tweaking the Makefile a bit (PRELOADABLE is the tag
I think).

MF

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