kopia lustrzana https://gitlab.com/sane-project/website
73 wiersze
3.3 KiB
HTML
73 wiersze
3.3 KiB
HTML
<!-- received="Mon Oct 25 03:08:31 1999 PDT" -->
|
||
<!-- sent="25 Oct 1999 03:08:32 -0700" -->
|
||
<!-- name="Kevin Dalley" -->
|
||
<!-- email="kevind@rahul.net" -->
|
||
<!-- subject="Problem with compilation of xsane-0.40 and patch" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="" -->
|
||
<title>sane-devel: Problem with compilation of xsane-0.40 and patch</title>
|
||
<h1>Problem with compilation of xsane-0.40 and patch</h1>
|
||
<b>Kevin Dalley</b> (<a href="mailto:kevind@rahul.net"><i>kevind@rahul.net</i></a>)<br>
|
||
<i>25 Oct 1999 03:08:32 -0700</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#182">[ date ]</a><a href="index.html#182">[ thread ]</a><a href="subject.html#182">[ subject ]</a><a href="author.html#182">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<li> <b>Previous message:</b> <a href="0181.html">Petter Reinholdtsen: "Re: Autoconf/configure"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<li> <b>Reply:</b> <a href="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
When I try to compile xsane-0.40 using the old version libgimp1<br>
|
||
(1.0.4), I get the following compilation error:<br>
|
||
<p>
|
||
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include -DLOCALEDIR=\""/usr/share/xsane/locale"\" -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/xsane/sane -DV_MAJOR=0 -DV_MINOR=40 -DSANE_V_MAJOR=1 -g -O2 -Wall xsane-preferences.c<br>
|
||
In file included from xsane-preferences.c:27:<br>
|
||
xsane.h:245: parse error before `FILE'<br>
|
||
xsane.h:245: warning: no semicolon at end of struct or union<br>
|
||
xsane.h:366: parse error before `}'<br>
|
||
xsane.h:366: warning: type defaults to `int' in declaration of `Xsane'<br>
|
||
xsane.h:366: warning: data definition has no type or storage class<br>
|
||
make: *** [xsane-preferences.o] Error 1<br>
|
||
<p>
|
||
One simple fix to this problem is:<br>
|
||
<p>
|
||
--- xsane-0.40.orig/frontend/xsane.h<br>
|
||
+++ xsane-0.40/frontend/xsane.h<br>
|
||
@@ -39,6 +39,7 @@<br>
|
||
<br>
|
||
/* ---------------------------------------------------------------------------------------------------------------------- */<br>
|
||
<br>
|
||
+#include <stdio.h><br>
|
||
#include <getopt.h><br>
|
||
#include <xsane-back-gtk.h><br>
|
||
#include <xsane-preferences.h><br>
|
||
<p>
|
||
<p>
|
||
<p>
|
||
<pre>
|
||
--
|
||
Kevin Dalley
|
||
<a href="mailto:kevind@rahul.net">kevind@rahul.net</a>
|
||
<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="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<li> <b>Previous message:</b> <a href="0181.html">Petter Reinholdtsen: "Re: Autoconf/configure"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<li> <b>Reply:</b> <a href="0183.html">Oliver Rauch: "Re: Problem with compilation of xsane-0.40 and patch"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|