sane-project-website/old-archive/1999-03/0217.html

81 wiersze
4.2 KiB
HTML

<!-- received="Mon Mar 22 11:24:11 1999 PST" -->
<!-- sent="Mon, 22 Mar 1999 19:25:05 +0100" -->
<!-- name="Luciano Olivo" -->
<!-- email="luciano.olivo@ud.nettuno.it" -->
<!-- subject="Mustek SE12000SP, SuSE5.3 and out of memory." -->
<!-- id="99032220290000.00314@xyz" -->
<!-- inreplyto="" -->
<title>sane-devel: Mustek SE12000SP, SuSE5.3 and out of memory.</title>
<h1>Mustek SE12000SP, SuSE5.3 and out of memory.</h1>
<b>Luciano Olivo</b> (<a href="mailto:luciano.olivo@ud.nettuno.it"><i>luciano.olivo@ud.nettuno.it</i></a>)<br>
<i>Mon, 22 Mar 1999 19:25:05 +0100</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#217">[ date ]</a><a href="index.html#217">[ thread ]</a><a href="subject.html#217">[ subject ]</a><a href="author.html#217">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Previous message:</b> <a href="0216.html">Andreas Czechanowski: "Re: Scanner survey results"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Reply:</b> <a href="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Reply:</b> <a href="0249.html">Luciano Olivo: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I compiled the sources of SANE 1.00 for my SuSE 5.3 (kernel 2.0.35) to get<br>
my new ScanExpress12000SP recognized (I had to edit configure: make was<br>
looking for some missing jpeg files so I forced the disabling of the DC210<br>
backend, in an "if test" that was'nt working properly).<br>
Before I had to patch the kernel with the mustek-scsi-patch-0.6 to be able to<br>
use the DMX3181LE scsi card that comes with the scanner, and to compile the<br>
patched scsi driver (for NCR5380) as a module. <br>
At a first time the scanner seemed to work: I scanned at 60 dpi in gray and it<br>
was OK. The true problem came when I tried to scan at more resolution or using<br>
colors: the message "out of memory" came out (with xcanimage and also with<br>
scanimage from the command line). <br>
I tried to set SG_BIG_BUF to 130560 (and also to 32768) in<br>
/usr/include/scsi/sg.h, but I got the following message during compilation:<br>
<p>
make[2]: Entering directory `/usr/src/linux-2.0.35.SuSE/drivers/scsi'<br>
gcc -D__KERNEL__ -I/usr/src/linux-2.0.35.SuSE/include -Wall -Wstrict-prototypes<br>
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2<br>
-malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -c -o sg.o sg.c <br>
In file included from sg.c:28:<br>
/usr/src/linux-2.0.35.SuSE/include/scsi/sg.h:39: parse error before<br>
`SG_BIG_BUFF' <br>
sg.c:38: `sg_init' undeclared here (not in a function) <br>
sg.c:38: initializer element for `sg_template.init' is not constant <br>
sg.c:552: warning: function declaration isn't a prototype <br>
sg.c:552: warning: `sg_init' defined but not used <br>
make[2]: *** [sg.o] Error 1<br>
make[2]: Leaving directory `/usr/src/linux-2.0.35.SuSE/drivers/scsi'<br>
make[1]: *** [modules] Error 2<br>
make[1]: Leaving directory `/usr/src/linux-2.0.35.SuSE/drivers'<br>
make: *** [modules] Error 2<br>
<p>
what is going wrong?<br>
<p>
Thanks.<br>
<p>
Luciano<br>
<p>
<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="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Previous message:</b> <a href="0216.html">Andreas Czechanowski: "Re: Scanner survey results"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Reply:</b> <a href="0218.html">Oliver Rauch: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<li> <b>Reply:</b> <a href="0249.html">Luciano Olivo: "Re: Mustek SE12000SP, SuSE5.3 and out of memory."</a>
<!-- reply="end" -->
</ul>