sane-project-website/old-archive/1998-04/0116.html

119 wiersze
5.5 KiB
HTML
Czysty Zwykły widok Historia

<!-- received="Mon Apr 13 00:40:12 1998 PDT" -->
<!-- sent="Mon, 13 Apr 1998 09:37:38 +0200 (MET DST)" -->
<!-- name="Hugo van der Kooij" -->
<!-- email="hvdkooij@caiw.nl" -->
<!-- subject="Re: Problems building 0.72 under IRIX" -->
<!-- id="" -->
<!-- inreplyto="199804130009.RAA01208@enigma.Polo.NET" -->
<title>sane-devel: Re: Problems building 0.72 under IRIX</title>
<h1>Re: Problems building 0.72 under IRIX</h1>
<b>Hugo van der Kooij</b> (<a href="mailto:hvdkooij@caiw.nl"><i>hvdkooij@caiw.nl</i></a>)<br>
<i>Mon, 13 Apr 1998 09:37:38 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#116">[ date ]</a><a href="index.html#116">[ thread ]</a><a href="subject.html#116">[ subject ]</a><a href="author.html#116">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0117.html">Hugo van der Kooij: "Re: xscanimage looking for Mustek 1200SP"</a>
<li> <b>Previous message:</b> <a href="0115.html">Alexander Schulz: "xscanimage looking for Mustek 1200SP"</a>
<li> <b>In reply to:</b> <a href="0114.html">Michael Polo: "Re: Problems building 0.72 under IRIX"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0118.html">Christian Bucher: "Re: Problems building 0.72 under IRIX"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Sun, 12 Apr 1998, Michael Polo wrote:<br>
<p>
<i>&gt; &gt; Hi, All...</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; I've been catching up on SANE testing under IRIX and have run into a</i><br>
<i>&gt; &gt; number of problems, including:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; 1. sanei/sanei_pio.c doesn't compile (too much Linux-specific</i><br>
<i>&gt; &gt; stuff)</i><br>
<i>&gt; &gt; 2. sanei/sanei_pio.c and sanei_pio.h don't match up</i><br>
<i>&gt; &gt; 3. Lots of the backends don't compile due to dependencies on the</i><br>
<i>&gt; &gt; pio functions</i><br>
<i>&gt; &gt; 4. Once I disable all the PIO and backend code that doesn't compile</i><br>
<i>&gt; &gt; under IRIX, none of the backends seem to work. In particular,</i><br>
<i>&gt; &gt; I tried the Mustek backend with my MFS-6000CX and got an</i><br>
<i>&gt; &gt; invalid argument error; find-scanners does find the scanner</i><br>
<i>&gt; &gt; with no problems, tho...</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; The last version that worked for me was 0.70, and I missed 0.71 (which</i><br>
<i>&gt; &gt; I'll try to build next week when I get back in the office).</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Anyone else having problems building 0.72 on non-Linux platforms?</i><br>
<i>&gt; </i><br>
<i>&gt; I did - but under solaris. I kind of hacked together these changes for</i><br>
<i>&gt; sanei_pio and it seemed to work for me, though it's possible that you</i><br>
<i>&gt; compile with the same options (i.e. HAVE_IOPERM, etc)</i><br>
<i>&gt; </i><br>
<i>&gt; Good Luck,</i><br>
<i>&gt; Mike</i><br>
<i>&gt; </i><br>
<i>&gt; *** sane-0.72/sanei/sanei_pio.c Fri Apr 10 12:00:31 1998</i><br>
<i>&gt; --- sane-0.72-orig/sanei/sanei_pio.c Mon Apr 6 21:49:44 1998</i><br>
<i>&gt; ***************</i><br>
<i>&gt; *** 522,534 ****</i><br>
<i>&gt; </i><br>
<i>&gt; #else /* !HAVE_IOPERM */</i><br>
<i>&gt; </i><br>
<i>&gt; ! SANE_Status </i><br>
<i>&gt; ! sanei_pio_open (const char *dev, int *fdp)</i><br>
<i>&gt; {</i><br>
<i>&gt; ! *fdp = -1;</i><br>
<i>&gt; ! return SANE_STATUS_INVAL;</i><br>
<i>&gt; }</i><br>
<i>&gt; </i><br>
<i>&gt; void </i><br>
<i>&gt; sanei_pio_close (int fd)</i><br>
<i>&gt; {</i><br>
<i>&gt; --- 522,535 ----</i><br>
<i>&gt; </i><br>
<i>&gt; #else /* !HAVE_IOPERM */</i><br>
<i>&gt; </i><br>
<i>&gt; ! int </i><br>
<i>&gt; ! sanei_pio_open (const char *dev, SANE_Status * status)</i><br>
<i>&gt; {</i><br>
<i>&gt; ! *status = SANE_STATUS_INVAL;</i><br>
<i>&gt; ! return -1;</i><br>
<i>&gt; }</i><br>
<i>&gt; </i><br>
<i>&gt; + </i><br>
<i>&gt; void </i><br>
<i>&gt; sanei_pio_close (int fd)</i><br>
<i>&gt; {</i><br>
<p>
Oddly enough this fix seems to be in the original file allready. At least<br>
when I started experimenting with this patch to see if it would harm me I<br>
noticed it did ask to reverse this patch.<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="0117.html">Hugo van der Kooij: "Re: xscanimage looking for Mustek 1200SP"</a>
<li> <b>Previous message:</b> <a href="0115.html">Alexander Schulz: "xscanimage looking for Mustek 1200SP"</a>
<li> <b>In reply to:</b> <a href="0114.html">Michael Polo: "Re: Problems building 0.72 under IRIX"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0118.html">Christian Bucher: "Re: Problems building 0.72 under IRIX"</a>
<!-- reply="end" -->
</ul>