sane-project-website/old-archive/1997-05/0121.html

81 wiersze
4.7 KiB
HTML

<!-- received="Sat Jun 21 04:58:18 1997 MST" -->
<!-- sent="Sat, 21 Jun 1997 13:50:50 +0059 (MDT)" -->
<!-- name="Mathias Weigt" -->
<!-- email="p5iba@medchem2.pharmazie.uni-halle.de" -->
<!-- subject="Problem compiling umax-driver with glibc-2.03" -->
<!-- id="199706191709.NAA23353@lemur.magnet.com" -->
<!-- inreplyto="199706210849.IAA10636@medchem2.pharmazie.uni-halle.de" -->
<title>sane-devel: Problem compiling umax-driver with glibc-2.03</title>
<h1>Problem compiling umax-driver with glibc-2.03</h1>
<b>Mathias Weigt</b> (<a href="mailto:p5iba@medchem2.pharmazie.uni-halle.de"><i>p5iba@medchem2.pharmazie.uni-halle.de</i></a>)<br>
<i>Sat, 21 Jun 1997 13:50:50 +0059 (MDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#121">[ date ]</a><a href="index.html#121">[ thread ]</a><a href="subject.html#121">[ subject ]</a><a href="author.html#121">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0122.html">David Mosberger-Tang: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Previous message:</b> <a href="0120.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0123.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0123.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0126.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0127.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; </i><br>
<i>&gt; Servus !</i><br>
<i>&gt; </i><br>
<i>&gt; I still have problems with my glibc 2.03 (now updated for the missing files) </i><br>
<i>&gt; and compiling sane-0.6.</i><br>
<i>&gt; GCC (2.7.2.2) complains about a type mismatch in the umax driver:</i><br>
<i>&gt; </i><br>
<i>&gt; make[1]: Entering directory `/usr/src/scanner/sane/sane-0.6/backend'</i><br>
<i>&gt; gcc -c -I/usr/X11R6/include -g -O2 -D_GNU_SOURCE -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=0 -DV_MINOR=5 -DBACKEND_NAME=umax -DLIBDIR=/usr/local/lib</i><br>
<i>&gt; -fPIC -DPIC umax.c</i><br>
<i>&gt; umax-scsi.c: In function `umax_do_scsi_cmd':</i><br>
<i>&gt; In file included from umax.c:117:</i><br>
<i>&gt; umax-scsi.c:128: incompatible types in assignment</i><br>
<i>&gt; umax-scsidef.h: At top level:</i><br>
<i>&gt; umax-scsidef.h:643: warning: `write_buffer' defined but not used</i><br>
<i>&gt; make[1]: *** [umax.lo] Error 1</i><br>
<i>&gt; make[1]: Leaving directory `/usr/src/scanner/sane/sane-0.6/backend'</i><br>
<i>&gt; make: *** [all-recursive] Error 1</i><br>
<i>&gt; </i><br>
<i>&gt; I can only suspect that something in the signal-handling has changed because</i><br>
<i>&gt; sigset_t is now defined in signal.h as of type __sigset_t at line 164 and</i><br>
<i>&gt; __sigset_t is defined in sigset.h around line 28:</i><br>
<i>&gt; </i><br>
<i>&gt; #define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))</i><br>
<i>&gt; typedef struct</i><br>
<i>&gt; {</i><br>
<i>&gt; unsigned long int __val[_SIGSET_NWORDS];</i><br>
<i>&gt; } __sigset_t;</i><br>
<i>&gt; </i><br>
<i>&gt; Maybe I am completely wrong but with libc-5.4.33 the umax backend compiles.</i><br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; Mathias Weigt </i><br>
<i>&gt; <a href="mailto:p5iba@medchem2.pharmazie.uni-halle.de">p5iba@medchem2.pharmazie.uni-halle.de</a></i><br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0122.html">David Mosberger-Tang: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Previous message:</b> <a href="0120.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0123.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0123.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0126.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<li> <b>Maybe reply:</b> <a href="0127.html">Michael K. Johnson: "Re: Problem compiling umax-driver with glibc-2.03"</a>
<!-- reply="end" -->
</ul>