[sane-devel] Re: strange rattle in epson 610 with 2.6.7 kernel

Kees Lemmens C.W.J.Lemmens@ewi.tudelft.nl
Sat, 19 Jun 2004 14:09:17 +0200


Hi,

First problem : rattle epson 610 (solved)
-------------

Just installed sane 1.0.13 and this works fine under 2.6.7. However turning
back to sane-1.0.12 immediately gives the alarming rattle back ...

BTW: I used this script to test without having to reboot/reinstall :
####################################################################
#!/bin/sh

#SANE=/opt/sane-1.0.13 # Newer xsane release
SANE=/usr/             # Standard sane-1.0.12 from Slackware 9.1

export LD_LIBRARY_PATH=$SANE/lib/
export LD_PRELOAD=$SANE/lib/libsane.so

exec /usr/bin/xsane $*
####################################################################

Second problem : compile 1.0.14 under Slackware fails
--------------

Whatever I try sane-1.0.14 doesn't compile under Slackware 9.1 !!
configure fails to detect the presence of basic routines like "strdup",
"getenv" and others under Slackware 9.1, thereby making it impposible to
compile (at least on my system).

Any ideas ?

giant:/tmp/sane-backends-1.0.14 252 % make
making all in include
make[1]: Entering directory /tmp/sane-backends-1.0.14/include'
make[1]: Nothing to be done for all'.
make[1]: Leaving directory /tmp/sane-backends-1.0.14/include'
making all in lib
make[1]: Entering directory /tmp/sane-backends-1.0.14/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include
-DPATH_SANE_CONFIG_DIR=/opt/sane-1.0.14//etc/sane.d
-DPATH_SANE_DATA_DIR=/opt/sane-1.0.14//share    -DV_MAJOR=1 -DV_MINOR=0
-I/usr/local/include/gphoto2 -g -O2 -W -Wall getenv.c
getenv.c:13:4: #error "Missing getenv() on this platform.  Please implement."
getenv.c: In function getenv':
getenv.c:6: warning: unused parameter name'
make[1]: *** [getenv.o] Error 1
make[1]: Leaving directory /tmp/sane-backends-1.0.14/lib'
make: *** [all-recursive] Error 1

giant:/tmp/sane-backends-1.0.14 254 % less include/sane/config.h
...
/* Define to 1 if you have the getenv' function. */
/* #undef HAVE_GETENV */
...
/* Define to 1 if you have the strcasecmp' function. */
/* #undef HAVE_STRCASECMP */

/* Define to 1 if you have the strdup' function. */
/* #undef HAVE_STRDUP */


Bye,
Kees Lemmens

On Fri, Jun 18, 2004 at 09:40:03AM +0200, Kees Lemmens wrote:
> Hi,
> 
> I have an Epson Perfection 610 which worked fine for 2 years with 2.2.x
> and 2.4.x.
> 
> Today I compiled 2.6.7 and now it suddenly produces strange and alarming
> sounds after the scan is finished and it returns to initial position.
> 
> I thought the scanner failed, but after rebooting in 2.4.26 it works 
> fine again, so I am afraid it must be something in the 2.6.x kernel 
> combined with the sane 1.0.12 backend that I use (the one provided with 
> Slackware 9.1).
> 
> Any suggestions ? Should I just install the latest backend or is it
> something else ?
> 
> --
> Bye,
> Kees Lemmens.
> -----------------------------------------------------------------------
> NOTICE: I consider all HTML based email as SPAM : forward => trash