kopia lustrzana https://gitlab.com/sane-project/website
				
				
				
			
		
			
	
	
		
			119 wiersze
		
	
	
		
			5.5 KiB
		
	
	
	
		
			HTML
		
	
	
		
		
			
		
	
	
			119 wiersze
		
	
	
		
			5.5 KiB
		
	
	
	
		
			HTML
		
	
	
|   | <!-- 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>> > Hi, All...</i><br> | |||
|  | <i>> > </i><br> | |||
|  | <i>> > I've been catching up on SANE testing under IRIX and have run into a</i><br> | |||
|  | <i>> > number of problems, including:</i><br> | |||
|  | <i>> > </i><br> | |||
|  | <i>> >     1. sanei/sanei_pio.c doesn't compile (too much Linux-specific</i><br> | |||
|  | <i>> >        stuff)</i><br> | |||
|  | <i>> >     2. sanei/sanei_pio.c and sanei_pio.h don't match up</i><br> | |||
|  | <i>> >     3. Lots of the backends don't compile due to dependencies on the</i><br> | |||
|  | <i>> >        pio functions</i><br> | |||
|  | <i>> >     4. Once I disable all the PIO and backend code that doesn't compile</i><br> | |||
|  | <i>> >        under IRIX, none of the backends seem to work.  In particular,</i><br> | |||
|  | <i>> >        I tried the Mustek backend with my MFS-6000CX and got an</i><br> | |||
|  | <i>> >        invalid argument error; find-scanners does find the scanner</i><br> | |||
|  | <i>> >        with no problems, tho...</i><br> | |||
|  | <i>> > </i><br> | |||
|  | <i>> > The last version that worked for me was 0.70, and I missed 0.71 (which</i><br> | |||
|  | <i>> > I'll try to build next week when I get back in the office).</i><br> | |||
|  | <i>> > </i><br> | |||
|  | <i>> > Anyone else having problems building 0.72 on non-Linux platforms?</i><br> | |||
|  | <i>> </i><br> | |||
|  | <i>> I did - but under solaris.  I kind of hacked together these changes for</i><br> | |||
|  | <i>> sanei_pio and it seemed to work for me, though it's possible that you</i><br> | |||
|  | <i>> compile with the same options (i.e. HAVE_IOPERM, etc)</i><br> | |||
|  | <i>> </i><br> | |||
|  | <i>> Good Luck,</i><br> | |||
|  | <i>> Mike</i><br> | |||
|  | <i>> </i><br> | |||
|  | <i>> *** sane-0.72/sanei/sanei_pio.c	Fri Apr 10 12:00:31 1998</i><br> | |||
|  | <i>> --- sane-0.72-orig/sanei/sanei_pio.c	Mon Apr  6 21:49:44 1998</i><br> | |||
|  | <i>> ***************</i><br> | |||
|  | <i>> *** 522,534 ****</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>>   #else /* !HAVE_IOPERM */</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>> ! SANE_Status </i><br> | |||
|  | <i>> ! sanei_pio_open (const char *dev, int *fdp)</i><br> | |||
|  | <i>>   {</i><br> | |||
|  | <i>> !   *fdp = -1;</i><br> | |||
|  | <i>> !   return SANE_STATUS_INVAL;</i><br> | |||
|  | <i>>   }</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>>   void </i><br> | |||
|  | <i>>   sanei_pio_close (int fd)</i><br> | |||
|  | <i>>   {</i><br> | |||
|  | <i>> --- 522,535 ----</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>>   #else /* !HAVE_IOPERM */</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>> ! int </i><br> | |||
|  | <i>> ! sanei_pio_open (const char *dev, SANE_Status * status)</i><br> | |||
|  | <i>>   {</i><br> | |||
|  | <i>> !   *status = SANE_STATUS_INVAL;</i><br> | |||
|  | <i>> !   return -1;</i><br> | |||
|  | <i>>   }</i><br> | |||
|  | <i>>   </i><br> | |||
|  | <i>> + </i><br> | |||
|  | <i>>   void </i><br> | |||
|  | <i>>   sanei_pio_close (int fd)</i><br> | |||
|  | <i>>   {</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> |