kopia lustrzana https://gitlab.com/sane-project/website
85 wiersze
3.9 KiB
HTML
85 wiersze
3.9 KiB
HTML
<!-- received="Mon Jan 26 23:35:06 1998 PST" -->
|
|
<!-- sent="Mon, 26 Jan 1998 23:35:03 -0800" -->
|
|
<!-- name="David Mosberger-Tang" -->
|
|
<!-- email="David.Mosberger@acm.org" -->
|
|
<!-- subject="Re: sane 0.69, Irix 6.3" -->
|
|
<!-- id="199801270735.XAA19273@panda.mostang.com" -->
|
|
<!-- inreplyto="34CC6925.DB487FA7@netscape.com" -->
|
|
<title>sane-devel: Re: sane 0.69, Irix 6.3</title>
|
|
<h1>Re: sane 0.69, Irix 6.3</h1>
|
|
<b>David Mosberger-Tang</b> (<a href="mailto:David.Mosberger@acm.org"><i>David.Mosberger@acm.org</i></a>)<br>
|
|
<i>Mon, 26 Jan 1998 23:35:03 -0800</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#182">[ date ]</a><a href="index.html#182">[ thread ]</a><a href="subject.html#182">[ subject ]</a><a href="author.html#182">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0183.html">David Mosberger-Tang: "Re: Compile error on Slackware 3.3.0 Sane 0.69"</a>
|
|
<li> <b>Previous message:</b> <a href="0181.html">David Mosberger-Tang: "Re: configuring/using xscanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>>>>>> On Mon, 26 Jan 1998 02:44:53 -0800, Jamie Zawinski <<a href="mailto:jwz@netscape.com">jwz@netscape.com</a>> said:</i><br>
|
|
<p>
|
|
Jamie> The first problem I ran into when trying to build it was, I<br>
|
|
Jamie> wasn't able to use gcc. I had to use SGI's cc, because<br>
|
|
Jamie> something is going wrong when sane tries to create shared<br>
|
|
Jamie> libraries. It's apparently not doing the right thing for<br>
|
|
Jamie> Irix, because ld complains:<br>
|
|
<p>
|
|
If all else fails, you can disable shared libraries and dynamic<br>
|
|
loading all-together by invoking configure with option<br>
|
|
--disable-shared. But if cc works, that should be fine too (the debug<br>
|
|
messages just aren't as nice as with gcc).<br>
|
|
<p>
|
|
Jamie> First, lalloca.h was trouble. You're including lalloca.h<br>
|
|
Jamie> before config.h because of AIX -- but on SGI, <alloca.h> must<br>
|
|
Jamie> be included before alloca() can be used, and <alloca.h> only<br>
|
|
Jamie> gets included if config.h has defined HAVE_ALLOCA_H... Which<br>
|
|
Jamie> means that on SGI, config.h must come before lalloca.h. So a<br>
|
|
Jamie> whole bunch of files needed to have the ifdefs tweaked.<br>
|
|
<p>
|
|
OK, thanks for fixing this.<br>
|
|
<p>
|
|
Jamie> I had to add a missing argument in sanei_scsi.c. I guessed<br>
|
|
Jamie> "0".<br>
|
|
<p>
|
|
Yup, 0 should be fine for now (the correct fix will be in sane-0.70).<br>
|
|
<p>
|
|
Jamie> I had to add #defines of __P and __const to microtek.c<br>
|
|
Jamie> (presumably this is a gcc-ism.)<br>
|
|
<p>
|
|
Yikes, I missed that. Just remove that unnecessary strdup()<br>
|
|
declaration and things will be fine.<br>
|
|
<p>
|
|
Jamie> So, after all that, I have runnable executables. But they<br>
|
|
Jamie> don't find my scanner. Running "find-scanner" as root prints<br>
|
|
Jamie> nothing.<br>
|
|
<p>
|
|
Hmmh, that's strange. /dev/scsi/sc1d5l0 _should_ be probed by<br>
|
|
find-scanner on an SGI system, but I can't test this myself.<br>
|
|
<p>
|
|
Jamie> When I run "xscanimage /dev/scsi/sc1d5l0", I get "Failed to<br>
|
|
Jamie> open device `/dev/scsi/sc1d5l0': Invalid argument."<br>
|
|
<p>
|
|
With the default setup of SANE, the device name would be<br>
|
|
hp:/dev/scsi/sc1d5l0 (see sane-dll(5)). But given that find-scanner<br>
|
|
wasn't able to locate your scanner, I'm not sure this will help.<br>
|
|
<p>
|
|
--david<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="0183.html">David Mosberger-Tang: "Re: Compile error on Slackware 3.3.0 Sane 0.69"</a>
|
|
<li> <b>Previous message:</b> <a href="0181.html">David Mosberger-Tang: "Re: configuring/using xscanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|