[sane-devel] Code-freeze for sane-1.0.9 active
Karl Heinz Kremer
Sat, 19 Oct 2002 08:10:46 -0400
Content-Type: text/plain; charset=us-ascii
On Sat, Oct 19, 2002 at 01:16:31PM +0200, Henning Meier-Geinitz wrote:
> On Fri, Oct 18, 2002 at 07:17:51PM -0400, Karl Heinz Kremer wrote:
> > I compiled the backend package on Mac OS X 10.2 (Jaguar). I don't=20
> > have any backends that work, but in general it compiled (with
> > lots of warnings).
> Is it compiled with static or dynamic libs? Does at least the test
> backend work (scanimage -d test -T)?
Right, we do have the test backend. This is the first non-Linux architecture
I've compiled Sane on, and I usually don't mess around with frontends, so I
totally forgot about that.
It runs just fine. All tests pass, and I can display the test images correc=
The backends were compiled as dynamic libraries.
> > I did however get one error message while
> > compiling dc25.c:
> > gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations =
> > ssing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -ped=
> > c -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE=
> > ATH_SANE_CONFIG_DIR=3D/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=3D/usr=
> > hare -DV_MAJOR=3D1 -DV_MINOR=3D0 -DBACKEND_NAME=3Ddc25 -DLIBDIR=3D/usr/=
> > ne dc25.c -fno-common -DPIC
> > dc25.c:2757: syntax error, found `fd'
> > dc25.c:2757: illegal function definition, found `)'
> Maybe that gcc doesn't like the UNUSEDARG? However I don't know why it
> complains about the last usage in that file.
I don't know either, it did not complain about the ones in the other dcXXX
backends, but when I use the same #define in dc25.h as for the non-gcc
compilers, it compiles without a problem. Maybe it's the combination of
UNDEFINED (or to be more correct, to what it gets expanded) and fd?
While we are talking about OS X, maybe I can repeat my question from a
few days ago: Has anybody managed to use libusb on OS X?=20
Karl Heinz Kremer firstname.lastname@example.org
PGP Key at http://www.khk.net/download/khk.asc
EPSON Sane Backend: http://www.khk.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----