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

103 wiersze
4.2 KiB
HTML

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