kopia lustrzana https://gitlab.com/sane-project/website
196 wiersze
7.9 KiB
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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>"><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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>">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>> I have some more info...
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> 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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>">dave@thelonious.new.ox.ac.uk</A>) wrote:
|
|
</EM><BR>
|
|
<EM>> > I'm getting an odd error compiling sane 1.0.1
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > The make is happy until it gets to trying to compile xscanimage.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > The error looks like this:
|
|
</EM><BR>
|
|
<EM>> > make[1]: Leaving directory `/store/dave/sane-1.0.1/backend'
|
|
</EM><BR>
|
|
<EM>> > making all in frontend
|
|
</EM><BR>
|
|
<EM>> > make[1]: Entering directory `/store/dave/sane-1.0.1/frontend'
|
|
</EM><BR>
|
|
<EM>> > 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>> > xscanimage.c:79: conflicting types for `GIMP_EXTENSION'
|
|
</EM><BR>
|
|
<EM>> > /usr/local/include/libgimp/gimpenums.h:289: previous declaration of `GIMP_EXTENSION'
|
|
</EM><BR>
|
|
<EM>> > make[1]: *** [xscanimage.o] Error 1
|
|
</EM><BR>
|
|
<EM>> > make[1]: Leaving directory `/store/dave/sane-1.0.1/frontend'
|
|
</EM><BR>
|
|
<EM>> > make: *** [all-recursive] Error 1
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Okay, well this could just be a programmers freak with the GIMP
|
|
</EM><BR>
|
|
<EM>> developers and the SANE developers happening to use the same constant
|
|
</EM><BR>
|
|
<EM>> name...
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> In my version of gimpenums.h (which came from gimp 1.1.15) there
|
|
</EM><BR>
|
|
<EM>> appears to be a constant:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> GIMP_EXTENSION
|
|
</EM><BR>
|
|
<EM>> (which appears to have been allocated the value 2)
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> In an older version of gimpenums.h, this appears to have the name:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> PROC_EXTENSION
|
|
</EM><BR>
|
|
<EM>> (which also appears to have been allocate the value 2)
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Now, if the xscanimage developers are using a GIMP_EXTENSION constant
|
|
</EM><BR>
|
|
<EM>> (which they do in xscanimage.c) that is not supposed to be the same as
|
|
</EM><BR>
|
|
<EM>> GIMP_EXTENSION in gimpenums.h, then I can see a problem. If the
|
|
</EM><BR>
|
|
<EM>> xscanimage developers are still expecting the gimp developers to be
|
|
</EM><BR>
|
|
<EM>> using PROC_EXTENSION, I fully understand the problem
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> FWIW, GIMP_EXTENSION seems to be allocated the value 1 in xscanimage.c
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Is there anyone reading this mailing list who has somewhat more
|
|
</EM><BR>
|
|
<EM>> experience of the source than I do and who can tell me the way that
|
|
</EM><BR>
|
|
<EM>> these two constants should or shouldn't be interacting. I would
|
|
</EM><BR>
|
|
<EM>> rather not have to work through all the xscanimage source to see
|
|
</EM><BR>
|
|
<EM>> exactly what it is supposed to be doing.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Many thanks for any help you can provide.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Dave
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>> 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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>">dave@kites.org.uk</A>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
</EM><BR>
|
|
<EM>> 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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>">majordomo@mostang.com</A>
|
|
</EM><BR>
|
|
<EM>>
|
|
</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=<Pine.LNX.4.10.10002041817300.21822-100000@dns.imnetti.fi>">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>
|