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

158 wiersze
7.5 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: Possible odd coincidence? (was Re: Problem compilin</TITLE>
<META NAME="Author" CONTENT="David Lindgren (dave@thelonious.new.ox.ac.uk)">
<META NAME="Subject" CONTENT="Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)</H1>
<!-- received="Wed Feb 2 08:46:57 2000" -->
<!-- isoreceived="20000202164657" -->
<!-- sent="Wed, 2 Feb 2000 16:54:11 +0000" -->
<!-- isosent="20000202165411" -->
<!-- name="David Lindgren" -->
<!-- email="dave@thelonious.new.ox.ac.uk" -->
<!-- subject="Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)" -->
<!-- id="20000202165411.A12092@thelonious.new.ox.ac.uk" -->
<!-- inreplyto="20000202152724.F8457@thelonious.new.ox.ac.uk" -->
<STRONG>From:</STRONG> 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;20000202165411.A12092@thelonious.new.ox.ac.uk&gt;"><EM>dave@thelonious.new.ox.ac.uk</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Feb 02 2000 - 08:54:11 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0009.html">David Lindgren: "Problem compiling sane-1.0.1 frontend..."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0009.html">David Lindgren: "Problem compiling sane-1.0.1 frontend..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0021.html">Petter Reinholdtsen: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0042.html">Seppo J<>rvinen: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#10">[ date ]</A>
<A HREF="index.html#10">[ thread ]</A>
<A HREF="subject.html#10">[ subject ]</A>
<A HREF="author.html#10">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I have some more info...
<BR>
<P>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;20000202165411.A12092@thelonious.new.ox.ac.uk&gt;">dave@thelonious.new.ox.ac.uk</A>) wrote:
<BR>
<EM>&gt; I'm getting an odd error compiling sane 1.0.1
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The make is happy until it gets to trying to compile xscanimage.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The error looks like this:
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/store/dave/sane-1.0.1/backend'
</EM><BR>
<EM>&gt; making all in frontend
</EM><BR>
<EM>&gt; make[1]: Entering directory `/store/dave/sane-1.0.1/frontend'
</EM><BR>
<EM>&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; xscanimage.c:79: conflicting types for `GIMP_EXTENSION'
</EM><BR>
<EM>&gt; /usr/local/include/libgimp/gimpenums.h:289: previous declaration of `GIMP_EXTENSION'
</EM><BR>
<EM>&gt; make[1]: *** [xscanimage.o] Error 1
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/store/dave/sane-1.0.1/frontend'
</EM><BR>
<EM>&gt; make: *** [all-recursive] Error 1
</EM><BR>
<P>Okay, well this could just be a programmers freak with the GIMP
<BR>
developers and the SANE developers happening to use the same constant
<BR>
name...
<BR>
<P>In my version of gimpenums.h (which came from gimp 1.1.15) there
<BR>
appears to be a constant:
<BR>
<P>GIMP_EXTENSION
<BR>
(which appears to have been allocated the value 2)
<BR>
<P>In an older version of gimpenums.h, this appears to have the name:
<BR>
<P>PROC_EXTENSION
<BR>
(which also appears to have been allocate the value 2)
<BR>
<P>Now, if the xscanimage developers are using a GIMP_EXTENSION constant
<BR>
(which they do in xscanimage.c) that is not supposed to be the same as
<BR>
GIMP_EXTENSION in gimpenums.h, then I can see a problem. If the
<BR>
xscanimage developers are still expecting the gimp developers to be
<BR>
using PROC_EXTENSION, I fully understand the problem
<BR>
<P>FWIW, GIMP_EXTENSION seems to be allocated the value 1 in xscanimage.c
<BR>
<P>Is there anyone reading this mailing list who has somewhat more
<BR>
experience of the source than I do and who can tell me the way that
<BR>
these two constants should or shouldn't be interacting. I would
<BR>
rather not have to work through all the xscanimage source to see
<BR>
exactly what it is supposed to be doing.
<BR>
<P>Many thanks for any help you can provide.
<BR>
<P>Dave
<BR>
<PRE>
--
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;20000202165411.A12092@thelonious.new.ox.ac.uk&gt;">dave@kites.org.uk</A>
<P>--
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;20000202165411.A12092@thelonious.new.ox.ac.uk&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0009.html">David Lindgren: "Problem compiling sane-1.0.1 frontend..."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0009.html">David Lindgren: "Problem compiling sane-1.0.1 frontend..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0011.html">Oliver Rauch: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0021.html">Petter Reinholdtsen: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0042.html">Seppo J<>rvinen: "Re: Possible odd coincidence? (was Re: Problem compiling sane-1.0.1 frontend...)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#10">[ date ]</A>
<A HREF="index.html#10">[ thread ]</A>
<A HREF="subject.html#10">[ subject ]</A>
<A HREF="author.html#10">[ 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>Wed Feb 02 2000 - 08:55:21 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>