sane-project-website/old-archive/2001-05/0034.html

190 wiersze
6.8 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: Canon backend</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: Canon backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Canon backend</H1>
<!-- received="Wed May 2 14:01:00 2001" -->
<!-- isoreceived="20010502210100" -->
<!-- sent="Wed, 2 May 2001 23:09:37 +0200" -->
<!-- isosent="20010502210937" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: Canon backend" -->
<!-- id="20010502230937.A843@vortex.swb.de" -->
<!-- inreplyto="200105021952.VAA28174@xenon.pc.Uni-Koeln.DE" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Canon%20backend&In-Reply-To=&lt;20010502230937.A843@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed May 02 2001 - 14:09:37 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0035.html">Henning Meier-Geinitz: "Re: [dev] New and updated backends"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0033.html">Deiters: "Re: Canon backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0033.html">Deiters: "Re: Canon backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0043.html">Ulrich Deiters: "Re: Canon backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#34">[ date ]</A>
<A HREF="index.html#34">[ thread ]</A>
<A HREF="subject.html#34">[ subject ]</A>
<A HREF="author.html#34">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Wed, May 02, 2001 at 09:52:24PM +0000, Deiters wrote:
<BR>
<EM>&gt; &gt; Should/will this be included into the SANE CVS?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I hope so. Whoever of the Grand Masters of SANE is reading this:
</EM><BR>
<EM>&gt; Please accept our humble offering. :-)
</EM><BR>
<P>Not a grand master :-) but:
<BR>
<P>Have you tried to contact the original authors? At least Manuel Panea
<BR>
is marked as active but I don't know if this is still true.
<BR>
<P>Can you update the manpage?
<BR>
<P>Shouldn't the FB620S be added to canon.desc? The version number is 0.1
<BR>
in canon.desc. Shouldn't this number be increased?
<BR>
<P>Ok, I'm trying to compile your backend on Linux/gcc with the CVS
<BR>
version of SANE:
<BR>
<P>making all in backend
<BR>
make[1]: Wechsel in das Verzeichnis Verzeichnis <20>/usr/src/sane/sane-backends/backend<6E>
<BR>
rm -f .libs/canon.lo
<BR>
gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=canon -DLIBDIR=/usr/local/lib/sane canon.c -fPIC -DPIC -o .libs/canon.lo
<BR>
In file included from canon.c:201:
<BR>
canon-scsi.c: In function `set_density_curve_fs2710':
<BR>
canon-scsi.c:643: warning: unused parameter `buf_size'
<BR>
canon-scsi.c: In function `set_parameters_fs2710':
<BR>
canon-scsi.c:686: parse error before `;'
<BR>
canon-scsi.c:686: parse error before `;'
<BR>
[...]
<BR>
<P>After removing a &quot;;&quot; in canon.h (MIN, MAX) compilation works. Please
<BR>
check the other warnings:
<BR>
make[1]: Wechsel in das Verzeichnis Verzeichnis <20>/usr/src/sane/sane-backends/backend<6E>
<BR>
rm -f .libs/canon.lo
<BR>
gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=canon -DLIBDIR=/usr/local/lib/sane canon.c -fPIC -DPIC -o .libs/canon.lo
<BR>
In file included from canon.c:201:
<BR>
canon-scsi.c: In function `set_density_curve_fs2710':
<BR>
canon-scsi.c:643: warning: unused parameter `buf_size'
<BR>
In file included from canon.c:2342:
<BR>
canon-sane.c: In function `sane_canon_init':
<BR>
canon-sane.c:4: warning: unused parameter `authorize'
<BR>
canon-sane.c: In function `sane_canon_exit':
<BR>
canon-sane.c:56: warning: cast discards qualifiers from pointer target type
<BR>
canon-sane.c:57: warning: cast discards qualifiers from pointer target type
<BR>
canon-sane.c: In function `sane_canon_get_devices':
<BR>
canon-sane.c:67: warning: unused parameter `local_only'
<BR>
canon-sane.c: At top level:
<BR>
canon-sane.c:1596: warning: no previous prototype for `sane_read_direct'
<BR>
canon-sane.c:1633: warning: no previous prototype for `read_fs2710'
<BR>
canon-sane.c: In function `read_fs2710':
<BR>
canon-sane.c:1647: warning: comparison between signed and unsigned
<BR>
canon-sane.c:1672: warning: pointer targets in passing arg 3 of `read_data' differ in signedness
<BR>
canon-sane.c:1685: warning: pointer targets in passing arg 3 of `read_data' differ in signedness
<BR>
canon-sane.c: In function `sane_canon_set_io_mode':
<BR>
canon-sane.c:1849: warning: unused parameter `handle'
<BR>
canon-sane.c:1849: warning: unused parameter `non_blocking'
<BR>
canon-sane.c: In function `sane_canon_get_select_fd':
<BR>
canon-sane.c:1859: warning: unused parameter `handle'
<BR>
canon-sane.c:1859: warning: unused parameter `fd'
<BR>
<P>Irix 6.2/cc: Same MIN/MAX problem as above.
<BR>
<P>AIX 4.3/gcc: See above.
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;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:%20Canon%20backend&In-Reply-To=&lt;20010502230937.A843@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0035.html">Henning Meier-Geinitz: "Re: [dev] New and updated backends"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0033.html">Deiters: "Re: Canon backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0033.html">Deiters: "Re: Canon backend"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0043.html">Ulrich Deiters: "Re: Canon backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#34">[ date ]</A>
<A HREF="index.html#34">[ thread ]</A>
<A HREF="subject.html#34">[ subject ]</A>
<A HREF="author.html#34">[ 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>Wed May 02 2001 - 14:01:45 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>