sane-project-website/old-archive/1998-03/0075.html

122 wiersze
5.4 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Tue Mar 10 12:03:44 1998 PST" -->
<!-- sent="Tue, 10 Mar 1998 21:03:45 +0100 (MET)" -->
<!-- name="Hugo van der Kooij" -->
<!-- email="hvdkooij@caiw.nl" -->
<!-- subject="Re: PB compile sane-0.71" -->
<!-- id="" -->
<!-- inreplyto="199803101217.NAA23455@fab.ensta.fr" -->
<title>sane-devel: Re: PB compile sane-0.71</title>
<h1>Re: PB compile sane-0.71</h1>
<b>Hugo van der Kooij</b> (<a href="mailto:hvdkooij@caiw.nl"><i>hvdkooij@caiw.nl</i></a>)<br>
<i>Tue, 10 Mar 1998 21:03:45 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#75">[ date ]</a><a href="index.html#75">[ thread ]</a><a href="subject.html#75">[ subject ]</a><a href="author.html#75">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0076.html">=?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?=: "gimp plugin weirdness (workaround included)"</a>
<li> <b>Previous message:</b> <a href="0074.html">Dewey Cheatem & Howe: "Support for UMAX scanners"</a>
<li> <b>In reply to:</b> <a href="0068.html">Fabrice Pollet: "PB compile sane-0.71"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0101.html">Kevin Dalley: "Re: PB compile sane-0.71"</a>
<li> <b>Next in thread:</b> <a href="0079.html">Fabrice Pollet: "Re: PB compile sane-0.71"</a>
<li> <b>Reply:</b> <a href="0101.html">Kevin Dalley: "Re: PB compile sane-0.71"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, 10 Mar 1998, Fabrice Pollet wrote:<br>
<p>
<i>&gt; I use gtk+-0.99.4 and when I want to compile sane-0.71 I have the following </i><br>
<i>&gt; message :</i><br>
<i>&gt; </i><br>
<i>&gt; gtkglue.o: In function `set_tooltip':</i><br>
<i>&gt; /mnt/jaz1/tmp/sane-0.71/frontend/gtkglue.c:74: undefined reference to </i><br>
<i>&gt; `gtk_tooltips_set_tips'</i><br>
<i>&gt; gtkglue.o: In function `panel_destroy':</i><br>
<i>&gt; /mnt/jaz1/tmp/sane-0.71/frontend/gtkglue.c:811: undefined reference to </i><br>
<i>&gt; `gtk_tooltips_unref'</i><br>
<i>&gt; make[1]: *** [xscanimage] Error 1</i><br>
<i>&gt; make[1]: Leaving directory `/mnt/jaz1/tmp/sane-0.71/frontend'</i><br>
<i>&gt; make: *** [all-recursive] Error 1</i><br>
<p>
Here is the patch that I did send only some days ago. The changes were<br>
made by Bucher Christian. I just made a patch file out of it.<br>
<p>
On Sat, 7 Mar 1998, Bucher Christian wrote:<br>
<p>
<i>&gt; Probably my request is already out of date, but maybe it<69>s saving some</i><br>
<i>&gt; of your time. There is a new gtk version 0.99.4 with some functions</i><br>
<i>&gt; changed. Here is the a list of changes I made to make sane-0.71 compile:</i><br>
<p>
&lt;Fixes were here&gt;<br>
<p>
The patch:<br>
--------------------B&lt;-----------------------<br>
--- gtkglue.c.olf Tue Jan 27 08:38:36 1998<br>
+++ gtkglue.c Sun Mar 8 00:02:46 1998<br>
@@ -71,7 +71,7 @@<br>
set_tooltip (GtkTooltips *tooltips, GtkWidget *widget, const char *desc)<br>
{<br>
if (desc &amp;&amp; desc[0])<br>
- gtk_tooltips_set_tips (tooltips, widget, (char *) desc);<br>
+ gtk_tooltips_set_tip (tooltips, widget, (char *) desc, (char *)<br>
desc);<br>
}<br>
<p>
int<br>
@@ -808,7 +808,8 @@<br>
GSGDialogElement *elem;<br>
int i, j;<br>
<p>
- gtk_tooltips_unref (dialog-&gt;tooltips);<br>
+ gtk_object_unref (GTK_OBJECT (dialog-&gt;tooltips));<br>
+ dialog-&gt;tooltips = NULL;<br>
gtk_widget_destroy (dialog-&gt;main_hbox);<br>
<p>
/* free the menu labels of integer/fix-point word-lists: */<br>
--- xcam.c.olf Tue Jan 20 08:39:51 1998<br>
+++ xcam.c Sat Mar 7 23:54:29 1998<br>
@@ -896,7 +896,7 @@<br>
<p>
sane_init (NULL, 0);<br>
<p>
- gdk_set_debug_level (0);<br>
+ /* gdk_set_debug_level (0); */<br>
gdk_set_show_events (0);<br>
gtk_init (&amp;argc, &amp;argv);<br>
<br>
--------------------B&lt;-----------------------<br>
<p>
And xscanimage works like a charme this way on my Alpha system with RedHat<br>
5.0 (GNU libc).<br>
<p>
Hugo.<br>
<p>
+------------------------+------------------------------+<br>
<i> | Hugo van der Kooij | <a href="mailto:Hugo.van.der.Kooij@caiw.nl">Hugo.van.der.Kooij@caiw.nl</a> |</i><br>
<i> | Oranje Nassaustraat 16 | <a href="http://www.caiw.nl/~hvdkooij">http://www.caiw.nl/~hvdkooij</a> |</i><br>
<i> | 3155 VJ Maasland | (De man met de rode hoed) |</i><br>
+------------------------+------------------------------+<br>
"Computers let you make more mistakes faster than any other invention in <br>
human history, with the possible exception of handguns and tequila."<br>
(Mitch Radcliffe)<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0076.html">=?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?=: "gimp plugin weirdness (workaround included)"</a>
<li> <b>Previous message:</b> <a href="0074.html">Dewey Cheatem & Howe: "Support for UMAX scanners"</a>
<li> <b>In reply to:</b> <a href="0068.html">Fabrice Pollet: "PB compile sane-0.71"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0101.html">Kevin Dalley: "Re: PB compile sane-0.71"</a>
<li> <b>Next in thread:</b> <a href="0079.html">Fabrice Pollet: "Re: PB compile sane-0.71"</a>
<li> <b>Reply:</b> <a href="0101.html">Kevin Dalley: "Re: PB compile sane-0.71"</a>
<!-- reply="end" -->
</ul>