sane-project-website/old-archive/2000-02/0042.html

196 wiersze
7.9 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: Possible odd coincidence? (was Re: Problem comp</TITLE>
<META NAME="Author" CONTENT="Seppo Järvinen (heaven@dns.imnetti.fi)">
<META NAME="Subject" CONTENT="Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)</H1>
<!-- received="Fri Feb 4 08:10:07 2000" -->
<!-- isoreceived="20000204161007" -->
<!-- sent="Fri, 4 Feb 2000 18:18:49 +0200 (EET)" -->
<!-- isosent="20000204161849" -->
<!-- name="Seppo Järvinen" -->
<!-- email="heaven@dns.imnetti.fi" -->
<!-- subject="Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)" -->
<!-- id="Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi" -->
<!-- inreplyto="20000202165411.A12092@thelonious.new.ox.ac.uk" -->
<STRONG>From:</STRONG> Seppo Järvinen (<A HREF="mailto:heaven@dns.imnetti.fi?Subject=Re:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;"><EM>heaven@dns.imnetti.fi</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Feb 04 2000 - 08:18:49 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0043.html">Klaus Espenlaub: "Re: lunatic listserver"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0041.html">Karl Heinz Kremer: "Re: lunatic listserver"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0010.html">David Lindgren: "Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#42">[ date ]</A>
<A HREF="index.html#42">[ thread ]</A>
<A HREF="subject.html#42">[ subject ]</A>
<A HREF="author.html#42">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I've just always changed the GIMP_EXTENSION to XGIMP_EXTENSION, it doesn's
<BR>
seem to have any effect to the program.
<BR>
<P>Seppo Jarvinen , <A HREF="mailto:heaven@imnetti.fi?Subject=Re:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;">heaven@imnetti.fi</A>
<BR>
GSM+SMS +358 50 340 7350
<BR>
X51 Media Communications
<BR>
<P>On Wed, 2 Feb 2000, David Lindgren wrote:
<BR>
<P><EM>&gt; I have some more info...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; David Lindgren (<A HREF="mailto:dave@thelonious.new.ox.ac.uk?Subject=Re:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;">dave@thelonious.new.ox.ac.uk</A>) wrote:
</EM><BR>
<EM>&gt; &gt; I'm getting an odd error compiling sane 1.0.1
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; The make is happy until it gets to trying to compile xscanimage.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; The error looks like this:
</EM><BR>
<EM>&gt; &gt; make[1]: Leaving directory `/store/dave/sane-1.0.1/backend'
</EM><BR>
<EM>&gt; &gt; making all in frontend
</EM><BR>
<EM>&gt; &gt; make[1]: Entering directory `/store/dave/sane-1.0.1/frontend'
</EM><BR>
<EM>&gt; &gt; gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -Wall xscanimage.c
</EM><BR>
<EM>&gt; &gt; xscanimage.c:79: conflicting types for `GIMP_EXTENSION'
</EM><BR>
<EM>&gt; &gt; /usr/local/include/libgimp/gimpenums.h:289: previous declaration of `GIMP_EXTENSION'
</EM><BR>
<EM>&gt; &gt; make[1]: *** [xscanimage.o] Error 1
</EM><BR>
<EM>&gt; &gt; make[1]: Leaving directory `/store/dave/sane-1.0.1/frontend'
</EM><BR>
<EM>&gt; &gt; make: *** [all-recursive] Error 1
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Okay, well this could just be a programmers freak with the GIMP
</EM><BR>
<EM>&gt; developers and the SANE developers happening to use the same constant
</EM><BR>
<EM>&gt; name...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; In my version of gimpenums.h (which came from gimp 1.1.15) there
</EM><BR>
<EM>&gt; appears to be a constant:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; GIMP_EXTENSION
</EM><BR>
<EM>&gt; (which appears to have been allocated the value 2)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; In an older version of gimpenums.h, this appears to have the name:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; PROC_EXTENSION
</EM><BR>
<EM>&gt; (which also appears to have been allocate the value 2)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Now, if the xscanimage developers are using a GIMP_EXTENSION constant
</EM><BR>
<EM>&gt; (which they do in xscanimage.c) that is not supposed to be the same as
</EM><BR>
<EM>&gt; GIMP_EXTENSION in gimpenums.h, then I can see a problem. If the
</EM><BR>
<EM>&gt; xscanimage developers are still expecting the gimp developers to be
</EM><BR>
<EM>&gt; using PROC_EXTENSION, I fully understand the problem
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; FWIW, GIMP_EXTENSION seems to be allocated the value 1 in xscanimage.c
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Is there anyone reading this mailing list who has somewhat more
</EM><BR>
<EM>&gt; experience of the source than I do and who can tell me the way that
</EM><BR>
<EM>&gt; these two constants should or shouldn't be interacting. I would
</EM><BR>
<EM>&gt; rather not have to work through all the xscanimage source to see
</EM><BR>
<EM>&gt; exactly what it is supposed to be doing.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Many thanks for any help you can provide.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Dave
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; email: <A HREF="mailto:dave@kites.org.uk?Subject=Re:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;">dave@kites.org.uk</A>
</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:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<P><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:%20Possible%20odd%20coincidence?%20(was%20Re:%20Problem%20compiling%20sane-1.0.1%20frontend...)&In-Reply-To=&lt;Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0043.html">Klaus Espenlaub: "Re: lunatic listserver"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0041.html">Karl Heinz Kremer: "Re: lunatic listserver"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0010.html">David Lindgren: "Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#42">[ date ]</A>
<A HREF="index.html#42">[ thread ]</A>
<A HREF="subject.html#42">[ subject ]</A>
<A HREF="author.html#42">[ 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>Fri Feb 04 2000 - 08:10:44 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>