Re: SANE CVS snapshot (2001-05-27) available

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Sun May 27 2001 - 09:50:48 PDT

  • Next message: Oliver Rauch: "Re: SANE CVS snapshot (2001-05-27) available"

    Hi,

    On Sun, May 27, 2001 at 12:52:16PM +0200, Oliver Rauch wrote:
    > Please test this snapshot on all systems you have
    > access to and report problems and success to the
    > sane mailing list.

    Ok, here are the reults from some tests. Three problems: AIX dynamic
    loading with gcc still doesn't work. I tried quite some options for
    the linker (found on sane-devel and the aix newsgroups) but none works.
    The IBM cc works, however.

    Second one: On FreeBSD running static binaries breaks because of a
    bug in umax_pp_low.c. I will look at this.

    Third: Static linking doesn't work for xscanimage and xcam under Linux
    and FreeBSD. I don't know where this bug comes from, it wasn't there
    in 1.0.4 and it's located in sane-backends, because it also happens
    with the sane-frontends from 1.0.4. Any ideas?

    The details:

    Platform Compiler SCSI USB static shared dynamic X11
    -----------------------------------------------------------------
    AIX gcc 2.95.2 ? ? yes yes no(1) ?
    AIX cc ? ? yes yes yes ?
    FreeBSD ix86 4.1 gcc yes no no(2) yes yes no(3)
    IRIX MIPS 6.2 cc ? ? yes yes yes yes
    Linux ix86 2.2 gcc 2.95.2 yes yes yes yes yes no(3)
    Solaris SPARC 2.7 gcc 2.95 ? ? yes yes yes ?
    ------------------------------------------------------------------

    Tests: Compilation of sane-backends with --disable-shared/--disable-static.
           Installation. scanimage -L, scanimage -d pnm:0 --filename=something -T,
           saned -d & ; scanimage -d net:localhost:pnm:0 --filename=something -T.
           Compilation + installation of sane-frontends. Starting xscanimage +
           xcam.

    (1) The dll backend can't load most backend libraries, pnm and net work
        however:
        [dll] load: dlopen() failed (Symbol resolution failed for
        /tmp/sane-try/sane-bin//lib/sane/libsane-mustek.so.1 because:
        Symbol __eprintf (number 55) is not exported from dependent
        module scanimage.
        Examine .loader section symbols with the 'dump -Tv' command.)

    (2) Running scanimage results in bus error. gdb reveals: umax_pp_low.c line 80,
        Inb (port: 890).

    (3) Static linking breaks when compiling sane-frontends, dynamic linking works.

    gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a \
            ../lib/liblib.a -lgimp -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm -lsane -lnsl -lusb -lm -ljpeg/usr/local/lib/libsane.a(sanei_wire.o): In function `sanei_w_space':
    /tmp/sane-backends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:54: multiple definition of `sanei_w_space'
    ./sanei/libsanei.a(sanei_wire.o):/tmp/sane-frontends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:54: first defined here
    /usr/bin/ld: Warning: size of symbol `sanei_w_space' changed from 213 to 215 in sanei_wire.o
    /usr/local/lib/libsane.a(sanei_wire.o): In function `sanei_w_void':
    /tmp/sane-backends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:119: multiple definition of `sanei_w_void'
    ./sanei/libsanei.a(sanei_wire.o):/tmp/sane-frontends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:112: first defined here
    [lots of similar errors]

    Bye,
      Henning

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



    This archive was generated by hypermail 2b29 : Sun May 27 2001 - 09:49:16 PDT