kopia lustrzana https://gitlab.com/sane-project/website
132 wiersze
4.4 KiB
HTML
132 wiersze
4.4 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: Cannot compile sane-1.0.2 on SuSE 6.4</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
|
|
<META NAME="Subject" CONTENT="Re: Cannot compile sane-1.0.2 on SuSE 6.4">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Cannot compile sane-1.0.2 on SuSE 6.4</H1>
|
|
<!-- received="Sat Apr 22 05:13:43 2000" -->
|
|
<!-- isoreceived="20000422121343" -->
|
|
<!-- sent="Sat, 22 Apr 2000 14:17:47 +0200" -->
|
|
<!-- isosent="20000422121747" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="hmg-ml@gmx.de" -->
|
|
<!-- subject="Re: Cannot compile sane-1.0.2 on SuSE 6.4" -->
|
|
<!-- id="20000422141747.A12504@hmg1.vortex.swb.de" -->
|
|
<!-- inreplyto="Pine.LNX.4.21.0004210831060.31124-100000@callisto.local" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20Cannot%20compile%20sane-1.0.2%20on%20SuSE%206.4&In-Reply-To=<20000422141747.A12504@hmg1.vortex.swb.de>"><EM>hmg-ml@gmx.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat Apr 22 2000 - 05:17:47 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0223.html">Oliver Rauch: "xsane-0.59 available"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0221.html">Henning Meier-Geinitz: "Missing link"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0211.html">Robert Schwebel: "Re: Cannot compile sane-1.0.2 on SuSE 6.4"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0262.html">Petter Reinholdtsen: "Re: Cannot compile sane-1.0.2 on SuSE 6.4"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#222">[ date ]</A>
|
|
<A HREF="index.html#222">[ thread ]</A>
|
|
<A HREF="subject.html#222">[ subject ]</A>
|
|
<A HREF="author.html#222">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P><EM>> May anyone of you developers make a patch? It seems that I don't know
|
|
</EM><BR>
|
|
<EM>> enough of the Sane internals to patch it myself...
|
|
</EM><BR>
|
|
<P>The following patch will correct this bug but ...
|
|
<BR>
|
|
<P>--- sanei_debug.h-old Sat Apr 22 13:54:38 2000
|
|
<BR>
|
|
+++ sanei_debug.h Sat Apr 22 13:55:16 2000
|
|
<BR>
|
|
@@ -13,7 +13,7 @@
|
|
<BR>
|
|
#endif
|
|
<BR>
|
|
|
|
<BR>
|
|
#ifdef NDEBUG
|
|
<BR>
|
|
-# define DBG_INIT(backend, var)
|
|
<BR>
|
|
+# define DBG_INIT()
|
|
<BR>
|
|
# ifdef HAVE_VARARG_MACROS
|
|
<BR>
|
|
# define DBG(level, msg, args...)
|
|
<BR>
|
|
# else
|
|
<BR>
|
|
<P>... but it won't solve the problem because at least the Artec and Microtek
|
|
<BR>
|
|
backends use DBG_LEVEL without checking if it is defined. So the easiest way
|
|
<BR>
|
|
for you is to just not set NDEBUG. It must be set somewhere in the SuSE
|
|
<BR>
|
|
patch or in the sane.spec. I don't now how SuSE compiled this without fixing
|
|
<BR>
|
|
the other bugs.
|
|
<BR>
|
|
<P>What shell we do? Set DBG_LEVEL to 0 if NDEBUG is set? Remove the NDEBUG
|
|
<BR>
|
|
option?
|
|
<BR>
|
|
<P>Or fix the backends like this:
|
|
<BR>
|
|
#ifdef NDEBUG
|
|
<BR>
|
|
int debug_level = NDEBUG
|
|
<BR>
|
|
#else
|
|
<BR>
|
|
int debug_level = 0
|
|
<BR>
|
|
#endif
|
|
<BR>
|
|
<P>And use debug_level from there on?
|
|
<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:%20Cannot%20compile%20sane-1.0.2%20on%20SuSE%206.4&In-Reply-To=<20000422141747.A12504@hmg1.vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0223.html">Oliver Rauch: "xsane-0.59 available"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0221.html">Henning Meier-Geinitz: "Missing link"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0211.html">Robert Schwebel: "Re: Cannot compile sane-1.0.2 on SuSE 6.4"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0262.html">Petter Reinholdtsen: "Re: Cannot compile sane-1.0.2 on SuSE 6.4"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#222">[ date ]</A>
|
|
<A HREF="index.html#222">[ thread ]</A>
|
|
<A HREF="subject.html#222">[ subject ]</A>
|
|
<A HREF="author.html#222">[ 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 Apr 22 2000 - 05:14:13 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|