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

166 wiersze
6.3 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 (henningmg@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="Thu Feb 17 11:25:02 2000" -->
<!-- isoreceived="20000217192502" -->
<!-- sent="Thu, 17 Feb 2000 20:23:31 +0100" -->
<!-- isosent="20000217192331" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henningmg@gmx.de" -->
<!-- subject="Re: New CVS snapshot 20000213" -->
<!-- id="20000217202331.A355@hmg1.vortex.robin.de" -->
<!-- inreplyto="200002171047.SAA04591@xena.ee.uwa.edu.au" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henningmg@gmx.de?Subject=Re:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;20000217202331.A355@hmg1.vortex.robin.de&gt;"><EM>henningmg@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 17 2000 - 11:23:31 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0198.html">Oliver Rauch: "Re: UMAX S6E color scan"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0196.html">David Lindgren: "Re: UMAX S6E color scan"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0182.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0208.html">abel deuring: "Re: New CVS snapshot 20000213"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#197">[ date ]</A>
<A HREF="index.html#197">[ thread ]</A>
<A HREF="subject.html#197">[ subject ]</A>
<A HREF="author.html#197">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P><EM>&gt; Yes, please. :-)
</EM><BR>
<P>Ok, here it goes:
<BR>
[...]
<BR>
/usr/bin/cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include
<BR>
-I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include
<BR>
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
<BR>
-DPATH_SANE_DATA_DIR=/usr/local/share
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-DV_MAJOR=1 -DV_MINOR=0 -g -DSCSIBUFFERSIZE=131072 progress.c
<BR>
cfe: Error: /usr/local/include/glib.h, line 1544: Syntax Error
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gint nth_bit);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----------------------^
<BR>
cfe: Error: /usr/local/include/glib.h, line 1546: Syntax Error
<BR>
&nbsp;static inline gint
<BR>
&nbsp;---------------^
<BR>
cfe: Error: /usr/local/include/glib.h, line 1562: Syntax Error
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gint nth_bit);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----------------------^
<BR>
cfe: Error: /usr/local/include/glib.h, line 1564: Syntax Error
<BR>
&nbsp;static inline gint
<BR>
&nbsp;---------------^
<BR>
cfe: Error: /usr/local/include/glib.h, line 1581: Syntax Error
<BR>
&nbsp;static inline guint g_bit_storage (guint number);
<BR>
&nbsp;-------------------- ----------------------------^
<BR>
cfe: Error: /usr/local/include/glib.h, line 1583: Syntax Error
<BR>
&nbsp;static inline guint
<BR>
&nbsp;---------------^
<BR>
make[1]: *** [progress.o] Error 1
<BR>
make[1]: Leaving directory /u2/src/sane-devel-20000213/frontend'
<BR>
make: *** [all-recursive] Error 1
<BR>
<P>glib version is 1.2.3, I think it was compiled with some sort of gcc.
<BR>
/usr/local/include/glib.h looks like this (line numers included by me)
<BR>
<P>[...]
<BR>
&nbsp;&nbsp;1541 /* Bit tests
<BR>
&nbsp;&nbsp;1542 */
<BR>
&nbsp;&nbsp;1543 G_INLINE_FUNC gint g_bit_nth_lsf (guint32 mask,
<BR>
&nbsp;&nbsp;1544 gint nth_bit);
<BR>
[...]
<BR>
<P>Any idea? BTW I don't know how to check the version of the C compiler (it's
<BR>
the one SGI provided with Irix 5.3). The obvious options for cc didn't do it.
<BR>
<P>Now I tried compiling without xscanimage (--without-x). Didn't help, about
<BR>
the same error now compiling saned. How to disable glib? I couldn't find a way
<BR>
so I renamed glib-config and gtk-config. Now sane compiled cleanly. The
<BR>
installation results, however, in the same mess (see last message). After
<BR>
setting a link for libsane.so a &quot;scanimage -T -d pnm --filename test.pnm&quot;
<BR>
passes all tests.
<BR>
<P>hth, 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;20000217202331.A355@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="0198.html">Oliver Rauch: "Re: UMAX S6E color scan"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0196.html">David Lindgren: "Re: UMAX S6E color scan"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0182.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0208.html">abel deuring: "Re: New CVS snapshot 20000213"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#197">[ date ]</A>
<A HREF="index.html#197">[ thread ]</A>
<A HREF="subject.html#197">[ subject ]</A>
<A HREF="author.html#197">[ 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>Thu Feb 17 2000 - 11:27:59 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>