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

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Mon May 28 2001 - 12:07:04 PDT

- Next message: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Previous message: Henning Meier-Geinitz: "Re: Microtek, Net, NetBSD"
  - In reply to: Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"
  - Next in thread: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Next in thread: Petter Reinholdtsen: "Re: SANE CVS snapshot (2001-05-27) available"
  - Reply: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi,

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

  Fixed. Or more exactly: Disabled umax_pp for FreeBSD. It looks like
  FreeBSD dumps core because inb is used without prior ioperm. However,
  HAVE_IOPERM is not defined, so the ioperm part wasn't compiled in. I
  have added a && defined HAVE_IOPERM before using the inb etc.
  assembler statements. If anyone knows enough about programming ioports
  under FreeBSD please have a look at this and fix it correctly.

  > (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]

  Should work now on both systems.

  So only AIX static is remaining.

  Bye,
  Henning

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

  - Next message: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Previous message: Henning Meier-Geinitz: "Re: Microtek, Net, NetBSD"
  - In reply to: Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"
  - Next in thread: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Next in thread: Petter Reinholdtsen: "Re: SANE CVS snapshot (2001-05-27) available"
  - Reply: stef: "Re: SANE CVS snapshot (2001-05-27) available"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Mon May 28 2001 - 12:03:05 PDT