Yeah, I ended up adding that line after comparing xscanimage.c from the
1.0.3 dist with the CVS version and though it had lots of warnings it
completed the compile. But after downloading the CVS, I decided to
package it up as "1.0.4-1" and made an RPM of it. It compiles fine,
regardless of the excessive "warning: pointer of type `void *' used in
arithmetic" warnings I get using gcc 2.95.1 (which I assume will be
reduced when the next release is published). The CVS from last night
works fine with the new Gimp in Helix-Gnome, but every once and a while
when I do a scan I get an image with what appears to be a translucent
red or green copy of the image layered over the top of the original (the
copy is usually distorted to the right), even though the previews look
fine. Perplexing, but hey, it _is_ CVS after all. I close the image and
repeat the scan and more often than not the second scan works fine. This
does the same regardless of whether I use Xscan 0.64 or the CVS
xscanimage, so I assume it's in the umax driver (using Astra 1220S). The
problem didn't exist in the 1.0.3 release. I'll do another CVS download
here in a few days and see if it clears up. I may also get gcc 2.95.2
since that appears to be what most of you are using.
Cheers,
Mike
Marcel Pol wrote:
>
> On 19-Nov-00 Michael Vanecek wrote:
> > I compiled sane under the old stock RH6.2 Gnome with no problems,
> > but
> > last night I upgraded to the latest Helix-Gnome and installed
> > everything
> > they had to download. Now when I go to recompile sane, when it gets
> > to
> > xscanimage, it spits out a ton of warnings and then craters.
> > Here is a list of the warnings I get when xscanimage starts to
> > compile:
> >
> > -Wall -DSCSIBUFFERSIZE=131072 xscanimage.c
> > xscanimage.c:63: parse error before `GParam'
> > xscanimage.c:66: parse error before `PLUG_IN_INFO'
>
> This is because Gimp has changed.
> In xscanimage.c (in /frontends), add the line
>
> #define GIMP_ENABLE_COMPAT_CRUFT
>
> just infront of the #include <libgimp/gimp.h>
>
> Marcel Pol
> --
> mpol@gmx.net
> ICQ 76013639
> Linuxluser 163523
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
-- 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 Nov 19 2000 - 12:28:19 PST