[sane-devel] Epson Perfection 1260 TPU again?

Olaf Meeuwissen olaf@epkowa.co.jp
Tue, 17 Aug 2004 09:41:40 +0900

Steve Keppel-Jones <stevekj@gmail.com> writes:

> I have an Epson Perfection 1260 (possibly a poor choice of scanner for
> this project) and I would like to scan transparencies with it.  I've
> read what I could find on the mailing list about other people's
> troubles with the 1260, so I know I'm in for a bit of a struggle.
> My package versions are: sane-1.0.12-2, libsane-1.0.14-5,
> iscan-1.10.0-4.  I'm running Debian with a 2.4.26 kernel.

Care to tell me/us what version of Debian you're using?
# Looks like testing/unstable, though, from the version numbers.

> I installed the iscan package from Epson Kowa but had no luck with it
> whatsoever.  If I run iscan, it gives me the old "Cannot send command
> to scanner" error.  I cannot get scanimage to recognize the scanner
> using the epkowa backend either.  The SANE_DEBUG_EPKOWA debug variable
> produces the following output:
> [epkowa] SANE EPSON KOWA Backend 1.10.0 - 2004-06-25
> [epkowa] attach(/dev/usb/scanner0, 3)
> [epkowa] attach: opening /dev/usb/scanner0
> [epkowa] Found valid EPSON scanner: 0x4b8/0x11d (vendorID/productID)
> [epkowa] /usr/lib/libesint23.so: undefined symbol: __gxx_personality_v0
> [epkowa] sane_open(/dev/usb/scanner0)
> [epkowa] Error opening the devicescanimage: open of device
> epkowa:/dev/usb/scanner0 failed: Invalid argument

Sure looks like a C++ issue.  Either a missing library or a library
with the wrong C++ ABI.  I haven't seen this during development but
that most likely because I get to compile from source ...
# Development is done on Debian GNU/Linux testing (despite the fact
# that EPSON KOWA does not support Debian :-().

> Why is libesint23.so missing this symbol?  Is this the reason for the
> device failing to open?  How can I fix this?  I did some research on
> the missing symbol and it seems to be a C++ symbol that should be
> provided by something like libstdc++.so.  I installed this library but
> that didn't help.  ldd reports the following information for
> libesint23.so:
> $ ldd -r /usr/lib/libesint23.so.1.0.0
>         libpthread.so.0 => /lib/libpthread.so.0 (0x40038000)
>         libc.so.6 => /lib/libc.so.6 (0x40089000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> undefined symbol: __gxx_personality_v0  (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE
> (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _Znaj (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _ZdlPv        (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _Unwind_Resume        (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _ZdaPv        (/usr/lib/libesint23.so.1.0.0)
> undefined symbol: _Znwj (/usr/lib/libesint23.so.1.0.0)
> I have not recompiled anything locally; all of my binaries are from
> the downloaded packages.

Steve, please send a bug report to pipsnews@epkowa.co.jp.
# And a request for debian packages ...
Olaf Meeuwissen                            EPSON KOWA Corporation, PF1
FSF Associate Member #1962           sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!       -- I hack, therefore I am --               LPIC-2