sane-project-website/old-archive/2000-11/0260.html

180 wiersze
6.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: xscanimage fails to compile under Helix-Gnome</TITLE>
<META NAME="Author" CONTENT="Michael Vanecek (mike@mjv.com)">
<META NAME="Subject" CONTENT="Re: xscanimage fails to compile under Helix-Gnome">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: xscanimage fails to compile under Helix-Gnome</H1>
<!-- received="Sun Nov 19 12:27:46 2000" -->
<!-- isoreceived="20001119202746" -->
<!-- sent="Sun, 19 Nov 2000 14:33:10 -0600" -->
<!-- isosent="20001119203310" -->
<!-- name="Michael Vanecek" -->
<!-- email="mike@mjv.com" -->
<!-- subject="Re: xscanimage fails to compile under Helix-Gnome" -->
<!-- id="3A183906.305626AC@mjv.com" -->
<!-- inreplyto="XFMail.001119103832.mpol@gmx.net" -->
<STRONG>From:</STRONG> Michael Vanecek (<A HREF="mailto:mike@mjv.com?Subject=Re:%20xscanimage%20fails%20to%20compile%20under%20Helix-Gnome&In-Reply-To=&lt;3A183906.305626AC@mjv.com&gt;"><EM>mike@mjv.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Nov 19 2000 - 12:33:10 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0261.html">Kevin Dalley: "sane-1.0.3 fails to open device Ultima AT3 on m68k Linux"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0259.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0246.html">Marcel Pol: "RE: xscanimage fails to compile under Helix-Gnome"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0264.html">Michael Vanecek: "sane and gcc 2.96"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0264.html">Michael Vanecek: "sane and gcc 2.96"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#260">[ date ]</A>
<A HREF="index.html#260">[ thread ]</A>
<A HREF="subject.html#260">[ subject ]</A>
<A HREF="author.html#260">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Yeah, I ended up adding that line after comparing xscanimage.c from the
<BR>
1.0.3 dist with the CVS version and though it had lots of warnings it
<BR>
completed the compile. But after downloading the CVS, I decided to
<BR>
package it up as &quot;1.0.4-1&quot; and made an RPM of it. It compiles fine,
<BR>
regardless of the excessive &quot;warning: pointer of type `void *' used in
<BR>
arithmetic&quot; warnings I get using gcc 2.95.1 (which I assume will be
<BR>
reduced when the next release is published). The CVS from last night
<BR>
works fine with the new Gimp in Helix-Gnome, but every once and a while
<BR>
when I do a scan I get an image with what appears to be a translucent
<BR>
red or green copy of the image layered over the top of the original (the
<BR>
copy is usually distorted to the right), even though the previews look
<BR>
fine. Perplexing, but hey, it _is_ CVS after all. I close the image and
<BR>
repeat the scan and more often than not the second scan works fine. This
<BR>
does the same regardless of whether I use Xscan 0.64 or the CVS
<BR>
xscanimage, so I assume it's in the umax driver (using Astra 1220S). The
<BR>
problem didn't exist in the 1.0.3 release. I'll do another CVS download
<BR>
here in a few days and see if it clears up. I may also get gcc 2.95.2
<BR>
since that appears to be what most of you are using.
<BR>
<P>Cheers,
<BR>
Mike
<BR>
<P>Marcel Pol wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On 19-Nov-00 Michael Vanecek wrote:
</EM><BR>
<EM>&gt; &gt; I compiled sane under the old stock RH6.2 Gnome with no problems,
</EM><BR>
<EM>&gt; &gt; but
</EM><BR>
<EM>&gt; &gt; last night I upgraded to the latest Helix-Gnome and installed
</EM><BR>
<EM>&gt; &gt; everything
</EM><BR>
<EM>&gt; &gt; they had to download. Now when I go to recompile sane, when it gets
</EM><BR>
<EM>&gt; &gt; to
</EM><BR>
<EM>&gt; &gt; xscanimage, it spits out a ton of warnings and then craters.
</EM><BR>
<EM>&gt; &gt; Here is a list of the warnings I get when xscanimage starts to
</EM><BR>
<EM>&gt; &gt; compile:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; -Wall -DSCSIBUFFERSIZE=131072 xscanimage.c
</EM><BR>
<EM>&gt; &gt; xscanimage.c:63: parse error before `GParam'
</EM><BR>
<EM>&gt; &gt; xscanimage.c:66: parse error before `PLUG_IN_INFO'
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This is because Gimp has changed.
</EM><BR>
<EM>&gt; In xscanimage.c (in /frontends), add the line
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #define GIMP_ENABLE_COMPAT_CRUFT
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; just infront of the #include &lt;libgimp/gimp.h&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Marcel Pol
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; <A HREF="mailto:mpol@gmx.net?Subject=Re:%20xscanimage%20fails%20to%20compile%20under%20Helix-Gnome&In-Reply-To=&lt;3A183906.305626AC@mjv.com&gt;">mpol@gmx.net</A>
</EM><BR>
<EM>&gt; ICQ 76013639
</EM><BR>
<EM>&gt; Linuxluser 163523
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20xscanimage%20fails%20to%20compile%20under%20Helix-Gnome&In-Reply-To=&lt;3A183906.305626AC@mjv.com&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20xscanimage%20fails%20to%20compile%20under%20Helix-Gnome&In-Reply-To=&lt;3A183906.305626AC@mjv.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0261.html">Kevin Dalley: "sane-1.0.3 fails to open device Ultima AT3 on m68k Linux"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0259.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0246.html">Marcel Pol: "RE: xscanimage fails to compile under Helix-Gnome"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0264.html">Michael Vanecek: "sane and gcc 2.96"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0264.html">Michael Vanecek: "sane and gcc 2.96"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#260">[ date ]</A>
<A HREF="index.html#260">[ thread ]</A>
<A HREF="subject.html#260">[ subject ]</A>
<A HREF="author.html#260">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Nov 19 2000 - 12:28:19 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>