sane-project-website/old-archive/2000-03/0026.html

150 wiersze
5.1 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: New CVS snapshot 20000213</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: New CVS snapshot 20000213">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: New CVS snapshot 20000213</H1>
<!-- received="Sat Mar 4 14:13:10 2000" -->
<!-- isoreceived="20000304221310" -->
<!-- sent="Sat, 4 Mar 2000 23:11:59 +0100" -->
<!-- isosent="20000304221159" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: New CVS snapshot 20000213" -->
<!-- id="20000304231159.A3101@hmg1.vortex.robin.de" -->
<!-- inreplyto="200002190938.RAA29432@minerva.ee.uwa.edu.au" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;20000304231159.A3101@hmg1.vortex.robin.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Mar 04 2000 - 14:11:59 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0027.html">Henning Meier-Geinitz: "Re: Second and last code freeze snapshot (20000227)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0025.html">Christian Völker: "Re: sane and devices"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#26">[ date ]</A>
<A HREF="index.html#26">[ thread ]</A>
<A HREF="subject.html#26">[ subject ]</A>
<A HREF="author.html#26">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>sorry that it took so long, but the Irix computer is not here at home.
<BR>
<P><EM>&gt; [Henning Meier-Geinitz]
</EM><BR>
<EM>&gt; &gt; glib version is 1.2.3, I think it was compiled with some sort of
</EM><BR>
<EM>&gt; &gt; gcc. /usr/local/include/glib.h looks like this (line numers
</EM><BR>
<EM>&gt; &gt; included by me)
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; [...]
</EM><BR>
<EM>&gt; &gt; 1541 /* Bit tests
</EM><BR>
<EM>&gt; &gt; 1542 */
</EM><BR>
<EM>&gt; &gt; 1543 G_INLINE_FUNC gint g_bit_nth_lsf (guint32 mask,
</EM><BR>
<EM>&gt; &gt; 1544 gint nth_bit);
</EM><BR>
<EM>&gt; &gt; [...]
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Any idea? BTW I don't know how to check the version of the C
</EM><BR>
<EM>&gt; &gt; compiler (it's the one SGI provided with Irix 5.3). The obvious
</EM><BR>
<EM>&gt; &gt; options for cc didn't do it.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have two suggestions, both seem quite unlikely. One is that the
</EM><BR>
<EM>&gt; wrong include file is is /usr/lcoa/lib/glib/, making gint, guint and
</EM><BR>
<EM>&gt; all the other glib types unknown.
</EM><BR>
<P>No, that file is the right one.
<BR>
<P><EM>&gt; The other is that 'inline' is a
</EM><BR>
<EM>&gt; unknown keyword and that G_INLINE_FUNC should be defined to '' or
</EM><BR>
<EM>&gt; __inline.
</EM><BR>
<P>That's it. &quot;inline&quot; isn't known. The Part of glib.h which does the inlining
<BR>
distinction sets G_INLINE_FUNC to &quot;static inline&quot; for the Irix cc which
<BR>
doesn't work. I changed this in glib.h to define inline to __inline and the
<BR>
compilation went through. I think this is a bug in glib.
<BR>
<P>Because &quot;rev&quot; doesn't exist on this Irix box, the SANE libraries have wrong
<BR>
versions like a point at the end. After compiling rev (from the
<BR>
README.unixware2) the sane library versions are OK but starting scanimage
<BR>
revealed:
<BR>
<P>5936:scanimage: rld: Fatal Error: cannot map soname 'libsane.so.2' using
<BR>
any of the filenames [...]
<BR>
<P>So I did &quot;ln -s libsane.so.1 libsane.so.2&quot; and scanimage works fine now.
<BR>
<P>I think we should put the sourcecode and description for the rev utility to
<BR>
a more obvous place. Perhaps a configure test for rev should be added and/or
<BR>
a hint in the README.
<BR>
<P>Now I will check the current snapshot ...
<BR>
<P>Bye, Henning
<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:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;20000304231159.A3101@hmg1.vortex.robin.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0027.html">Henning Meier-Geinitz: "Re: Second and last code freeze snapshot (20000227)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0025.html">Christian Völker: "Re: sane and devices"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#26">[ date ]</A>
<A HREF="index.html#26">[ thread ]</A>
<A HREF="subject.html#26">[ subject ]</A>
<A HREF="author.html#26">[ 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>Sat Mar 04 2000 - 14:14:11 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>