sane-project-website/old-archive/1998-03/0071.html

78 wiersze
3.8 KiB
HTML

<!-- received="Tue Mar 10 05:33:04 1998 PST" -->
<!-- sent="Tue, 10 Mar 1998 13:33:16 +0000" -->
<!-- name="Pete Phillips" -->
<!-- email="pete@smtl.co.uk" -->
<!-- subject="Compiling sane 0.71 on SunOS 4.1.3_U1" -->
<!-- id="199803101333.NAA09949@enterprise.smtl.co.uk" -->
<!-- inreplyto="" -->
<title>sane-devel: Compiling sane 0.71 on SunOS 4.1.3_U1</title>
<h1>Compiling sane 0.71 on SunOS 4.1.3_U1</h1>
<b>Pete Phillips</b> (<a href="mailto:pete@smtl.co.uk"><i>pete@smtl.co.uk</i></a>)<br>
<i>Tue, 10 Mar 1998 13:33:16 +0000</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#71">[ date ]</a><a href="index.html#71">[ thread ]</a><a href="subject.html#71">[ subject ]</a><a href="author.html#71">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0072.html">Dr. Giovanni A. Orlando: "OfficeJet Pro 1150C Linux drivers .."</a>
<li> <b>Previous message:</b> <a href="0070.html">Magnus & Tina: "ScanJet 6100C and SCSI card NCR53c406."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi<br>
<p>
trying to compile sane 0.71 on our sparc with SunOS 4.1.3.<br>
<p>
Using gcc 2.7.2.3<br>
<p>
When it gets to sanei_load_values.c, it aborts with:<br>
<p>
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=0 -DV_MINOR=71 -g -O2 -Wall -fPIC -DPIC sanei_load_values.c<br>
sanei_load_values.c: In function `sanei_load_values':<br>
sanei_load_values.c:89: `u_long' undeclared (first use this function)<br>
sanei_load_values.c:89: (Each undeclared identifier is reported only once<br>
sanei_load_values.c:89: for each function it appears in.)<br>
sanei_load_values.c:89: `caused_reload' undeclared (first use this function)<br>
sanei_load_values.c:89: warning: statement with no effect<br>
sanei_load_values.c:90: parse error before `num_options'<br>
sanei_load_values.c:100: `offset' undeclared (first use this function)<br>
sanei_load_values.c:101: `w' undeclared (first use this function)<br>
sanei_load_values.c:106: `keep_going' undeclared (first use this function)<br>
sanei_load_values.c:108: `num_options' undeclared (first use this function)<br>
sanei_load_values.c:109: `size' undeclared (first use this function)<br>
sanei_load_values.c:111: warning: implicit declaration of function `memset'<br>
sanei_load_values.c:132: `status' undeclared (first use this function)<br>
sanei_load_values.c:133: `info' undeclared (first use this function)<br>
sanei_load_values.c:134: `i' undeclared (first use this function)<br>
sanei_load_values.c:149: `word' undeclared (first use this function)<br>
sanei_load_values.c:174: `buf' undeclared (first use this function)<br>
make[1]: *** [sanei_load_values.o] Error 1 <br>
make[1]: Leaving directory `/exp/src/sane/sane-0.71/sanei'<br>
make: *** [all-recursive] Error 1 <br>
<p>
no problems up to here.<br>
<p>
Any ideas ?<br>
<p>
Also - we compiled sane under linux, and it drives our HP ScanJet IIp with<br>
no problems (although we aren't trying any fancy command line options<br>
at present). I couldn't find any ref to this scanner in your docs, so<br>
thought you'd like to know it appears to work OK.<br>
<p>
Pete<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="0072.html">Dr. Giovanni A. Orlando: "OfficeJet Pro 1150C Linux drivers .."</a>
<li> <b>Previous message:</b> <a href="0070.html">Magnus & Tina: "ScanJet 6100C and SCSI card NCR53c406."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>