sane-project-website/old-archive/1998-02/0000.html

97 wiersze
4.9 KiB
HTML

<!-- received="Sun Feb 1 08:10:29 1998 PST" -->
<!-- sent="Sun, 1 Feb 1998 18:09:19 +0200" -->
<!-- name="Urpo Lankinen" -->
<!-- email="wwwwolf@iki.fi" -->
<!-- subject="Problems with compiling..." -->
<!-- id="199802011609.SAA11224@wwwwolf.pp.fi" -->
<!-- inreplyto="" -->
<title>sane-devel: Problems with compiling...</title>
<h1>Problems with compiling...</h1>
<b>Urpo Lankinen</b> (<a href="mailto:wwwwolf@iki.fi"><i>wwwwolf@iki.fi</i></a>)<br>
<i>Sun, 1 Feb 1998 18:09:19 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#0">[ date ]</a><a href="index.html#0">[ thread ]</a><a href="subject.html#0">[ subject ]</a><a href="author.html#0">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0001.html">Kevin R. Charter: "SnapScan patch 6 -- SnapScan users and Solaris users"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0033.html">David Mosberger-Tang: "Re: Problems with compiling..."</a>
<li> <b>Reply:</b> <a href="0033.html">David Mosberger-Tang: "Re: Problems with compiling..."</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I have small problems with compiling SANE 0.70. (This problem was<br>
present in earlier versions, too...)<br>
<p>
The system is Debian GNU/Linux 1.3.1.<br>
<br>
This is the error message I got about pint.c. Pretty tough problem - I<br>
need this backend!<br>
<p>
<p>
gcc -c -I/usr/X11R6/include -g -O2 -Wall -DHAVE_CONFIG_H -I. -I../././backend -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=70 -DBACKEND_NAME=pint -DLIBDIR=/usr/local/lib/sane-lib -fPIC -DPIC pint.c<br>
pint.c: In function `attach':<br>
pint.c:125: `SCIOCGET' undeclared (first use this function)<br>
pint.c:125: (Each undeclared identifier is reported only once<br>
pint.c:125: for each function it appears in.)<br>
pint.c:159: structure has no member named `scan_width'<br>
pint.c:160: structure has no member named `scan_width'<br>
pint.c:162: `SCIOCSET' undeclared (first use this function)<br>
pint.c:165: structure has no member named `scan_width'<br>
pint.c:167: structure has no member named `scan_width'<br>
pint.c:175: structure has no member named `scan_height'<br>
pint.c:176: structure has no member named `scan_height'<br>
pint.c:179: structure has no member named `scan_height'<br>
pint.c:181: structure has no member named `scan_height'<br>
pint.c:247: `EPSON_ES300C' undeclared (first use this function)<br>
pint.c:251: warning: unreachable code at beginning of switch statement<br>
pint.c:263: `MUSTEK_06000CX' undeclared (first use this function)<br>
pint.c:264: `MUSTEK_12000CX' undeclared (first use this function)<br>
pint.c:294: warning: unreachable code at beginning of switch statement<br>
pint.c: In function `init_options':<br>
pint.c:464: structure has no member named `scan_width'<br>
pint.c:466: structure has no member named `scan_height'<br>
pint.c:377: warning: `x1' might be used uninitialized in this function<br>
pint.c:377: warning: `y1' might be used uninitialized in this function<br>
pint.c: In function `do_cancel':<br>
pint.c:547: `SCIOCRESTART' undeclared (first use this function)<br>
pint.c: In function `sane_pint_get_parameters':<br>
pint.c:830: `SCIOCGET' undeclared (first use this function)<br>
pint.c:855: structure has no member named `scan_width'<br>
pint.c:856: structure has no member named `scan_height'<br>
pint.c:901: `SCIOCSET' undeclared (first use this function)<br>
pint.c:913: structure has no member named `scan_pixels_per_line'<br>
pint.c:915: structure has no member named `scan_bits_per_pixel'<br>
pint.c:915: structure has no member named `scan_pixels_per_line'<br>
pint.c:916: structure has no member named `scan_lines'<br>
pint.c:918: structure has no member named `scan_bits_per_pixel'<br>
pint.c:918: structure has no member named `scan_bits_per_pixel'<br>
make[1]: *** [pint.lo] Error 1<br>
make[1]: Leaving directory `/tmp/sane-0.70/backend'<br>
make: *** [all-recursive] Error 1<br>
<p>
<p>
What am I missing?<br>
<p>
<p>
<pre>
--
\ \ \ \ / _ | |\ Urpo Lankinen &lt;<a href="mailto:wwwwolf@iki.fi">wwwwolf@iki.fi</a>&gt;
\/\\/\\/\\/\/ (_)| |- <a href="http://www.iki.fi/wwwwolf/">http://www.iki.fi/wwwwolf/</a> ICQ 4291042
<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="0001.html">Kevin R. Charter: "SnapScan patch 6 -- SnapScan users and Solaris users"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0033.html">David Mosberger-Tang: "Re: Problems with compiling..."</a>
<li> <b>Reply:</b> <a href="0033.html">David Mosberger-Tang: "Re: Problems with compiling..."</a>
<!-- reply="end" -->
</ul>