I&#39;m having some trouble compiling with these changes committed. Below is the error I&#39;m getting. I&#39;ll admit I haven&#39;t actually looked into the source code to confirm the change comes from this set of commits, but it seemed like it would be related. I&#39;m running Fedora 13, and I&#39;ve been able to build from the latest source as recent as 2011.01.12.<div>
<br></div><div>Thanks,</div><div>Brian ..<br><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">/bin/sh ../libtool --silent  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR=&quot;/home/bshaver/test-root/lib/sane&quot; -DBACKEND_NAME=magicolor -DPATH_SANE_CONFIG_DIR=/home/bshaver/test-root/etc/sane.d <span class="Apple-tab-span" style="white-space: pre; ">        </span>  -DPATH_SANE_DATA_DIR=/home/bshaver/test-root/share <span class="Apple-tab-span" style="white-space: pre; ">        </span>  -DPATH_SANE_LOCK_DIR=/home/bshaver/test-root/var/lock/sane <span class="Apple-tab-span" style="white-space: pre; ">        </span>  -DV_MAJOR=1 -DV_MINOR=0  -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi -MT libmagicolor_la-magicolor.lo -MD -MP -MF .deps/libmagicolor_la-magicolor.Tpo -c -o libmagicolor_la-magicolor.lo `test -f &#39;magicolor.c&#39; || echo &#39;./&#39;`magicolor.c</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c: In function &#39;dump_hex_buffer_dense&#39;:</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:400: warning: format &#39;%04x&#39; expects type &#39;unsigned int&#39;, but argument 3 has type &#39;size_t&#39;</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c: In function &#39;mc_send&#39;:</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:492: warning: format &#39;%d&#39; expects type &#39;int&#39;, but argument 3 has type &#39;size_t&#39;</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c: In function &#39;cmd_start_scan&#39;:</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: dereferencing &#39;void *&#39; pointer</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace" style="background-color: rgb(255, 255, 51);">magicolor.c:680: error: invalid use of void expression</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:680: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c: In function &#39;cmd_read_data&#39;:</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: dereferencing &#39;void *&#39; pointer</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: error: invalid use of void expression</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: pointer of type &#39;void *&#39; used in arithmetic</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: dereferencing &#39;void *&#39; pointer</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: error: invalid use of void expression</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:921: warning: left-hand operand of comma expression has no effect</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c: In function &#39;mc_network_discovery&#39;:</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">magicolor.c:1868: warning: unused parameter &#39;host&#39;</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">make[2]: *** [libmagicolor_la-magicolor.lo] Error 1</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">make[2]: Leaving directory `/home/bshaver/Documents/Projects/sane-backends/backend&#39;</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">make[1]: *** [all] Error 2</font></div></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">make[1]: Leaving directory `/home/bshaver/Documents/Projects/sane-backends/backend&#39;</font></div>
</div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">make: *** [all-recursive] Error 1</font></div></div></blockquote><div><div><br></div><br><div class="gmail_quote">On Wed, Jan 19, 2011 at 8:38 AM, m. allan noah <span dir="ltr">&lt;<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">And this code is now part of sane-backends. Thanks Reinhold, and<br>
welcome to the team.<br>
<br>
<a href="http://www.sane-project.org/lists/sane-backends-cvs.html#S-MAGICOLOR" target="_blank">http://www.sane-project.org/lists/sane-backends-cvs.html#S-MAGICOLOR</a><br>
<font color="#888888"><br>
allan<br>
</font><div><div></div><div class="h5"><br>
On Thu, Jan 6, 2011 at 12:30 PM, Reinhold Kainhofer<br>
&lt;<a href="mailto:reinhold@kainhofer.com">reinhold@kainhofer.com</a>&gt; wrote:<br>
&gt; As you know, I have been developing a magicolor backend for KONICA MINOLTA<br>
&gt; magicolor 1690MF devices (possibly also for other devices, but I don&#39;t have<br>
&gt; access to any other KONICA MINOLTA device that uses the same protocol -- The<br>
&gt; bizhub devices use a different protocol).<br>
&gt;<br>
&gt; In my view, it is now in a state so that it can be included in sane-backends<br>
&gt; (I&#39;m using it regularly with xsane). The git patches can be found at:<br>
&gt; <a href="http://www.fam.tuwien.ac.at/~reinhold/sane/magicolor_backend_patches/" target="_blank">http://www.fam.tuwien.ac.at/~reinhold/sane/magicolor_backend_patches/</a><br>
&gt;<br>
&gt; -) The first two (0001 and 0002) are for the sanei_usb functionality already<br>
&gt; send yesterday,<br>
&gt; -) 0003 is the actual backend,<br>
&gt; -) 0004 fixes some compiler warnings in byteorder.h, and<br>
&gt; -) 0005 includes only the changes from running autoreconf (i.e. no manual code<br>
&gt; changes!)<br>
&gt;<br>
&gt;<br>
&gt; The backend uses libsnmp (configure check added!) to optionally auto-detect a<br>
&gt; LAN-connected magicolor device. I have set the timeout to a very low value (a<br>
&gt; little more than 1 second!), so all systems without a magicolor scanning in<br>
&gt; the network are not held up by the SNMP auto-detection of the magicolor<br>
&gt; devices.<br>
&gt; On the other hand, if the network is really slow, this might mean that we miss<br>
&gt; an SNMP response that takes longer than 1 second!<br>
&gt;<br>
&gt; What do you think of this backend?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Reinhold<br>
&gt; --<br>
&gt; ------------------------------------------------------------------<br>
&gt; Reinhold Kainhofer, <a href="mailto:reinhold@kainhofer.com">reinhold@kainhofer.com</a>, <a href="http://reinhold.kainhofer.com/" target="_blank">http://reinhold.kainhofer.com/</a><br>
&gt;  * Financial &amp; Actuarial Math., Vienna Univ. of Technology, Austria<br>
&gt;  * <a href="http://www.fam.tuwien.ac.at/" target="_blank">http://www.fam.tuwien.ac.at/</a>, DVR: 0005886<br>
&gt;  * LilyPond, Music typesetting, <a href="http://www.lilypond.org" target="_blank">http://www.lilypond.org</a><br>
&gt;<br>
&gt; --<br>
&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
&quot;The truth is an offense, but not a sin&quot;<br>
<br>
--<br>
</div><div><div></div><div class="h5">sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
</div></div></blockquote></div><br></div></div>