sane-project-website/old-archive/2000-03/0027.html

176 wiersze
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Second and last code freeze snapshot (20000227)</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: Second and last code freeze snapshot (20000227)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Second and last code freeze snapshot (20000227)</H1>
<!-- received="Sat Mar 4 15:38:03 2000" -->
<!-- isoreceived="20000304233803" -->
<!-- sent="Sun, 5 Mar 2000 00:36:33 +0100" -->
<!-- isosent="20000304233633" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: Second and last code freeze snapshot (20000227)" -->
<!-- id="20000305003633.B3101@hmg1.vortex.robin.de" -->
<!-- inreplyto="200002271211.UAA24159@minerva.ee.uwa.edu.au" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20Second%20and%20last%20code%20freeze%20snapshot%20(20000227)&In-Reply-To=&lt;20000305003633.B3101@hmg1.vortex.robin.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Mar 04 2000 - 15:36:33 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0028.html">John Fremlin: "USB Microtek ScanMaker X6"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0026.html">Henning Meier-Geinitz: "Re: New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#27">[ date ]</A>
<A HREF="index.html#27">[ thread ]</A>
<A HREF="subject.html#27">[ subject ]</A>
<A HREF="author.html#27">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P><EM>&gt; The only vital unsolved problem left is the shared library naming on
</EM><BR>
<EM>&gt; Irix 6.5. The libraries are called libsane-*.2 instead of the
</EM><BR>
<EM>&gt; expected libsane-*.1. This makes the DLL backend fail on Irix 6.5.
</EM><BR>
<EM>&gt; If anyone knows how to fix this, please post a patch. I will release
</EM><BR>
<EM>&gt; 1.0.2 even if this problem remains.
</EM><BR>
<P>No patch, just an observation: I am using Irix 5.3 and the versions of
<BR>
libsane that are written to /usr/local/lib (after compiling the &quot;rev&quot;
<BR>
program) are .1 but the binaries expect .2:
<BR>
<P>/usr/local/lib/libsane.a -&gt; sane/libsane-dll.a
<BR>
/usr/local/lib/libsane.la
<BR>
/usr/local/lib/libsane.so -&gt; sane/libsane-dll.so
<BR>
/usr/local/lib/libsane.so.1 -&gt; sane/libsane-dll.so.1
<BR>
<P>[example for pnm in lib/sane]
<BR>
/usr/local/lib/sane/libsane-pnm.a
<BR>
/usr/local/lib/sane/libsane-pnm.la
<BR>
/usr/local/lib/sane/libsane-pnm.so -&gt; libsane-pnm.so.2.1
<BR>
/usr/local/lib/sane/libsane-pnm.so.1 -&gt; libsane-pnm.so.2
<BR>
/usr/local/lib/sane/libsane-pnm.so.2 -&gt; libsane-pnm.so.2.1
<BR>
/usr/local/lib/sane/libsane-pnm.so.2.1
<BR>
<P>$ scanimage -L
<BR>
&nbsp;9951:scanimage: rld: Fatal Error: cannot map soname 'libsane.so.2' using
<BR>
any of the filenames [...]
<BR>
<P>$ ln -s libsane.so.1 libsane.so.2
<BR>
$ scanimage -L
<BR>
device pnm:0' is a Noname PNM file reader virtual device
<BR>
device pnm:1' is a Noname PNM file reader virtual device
<BR>
<P>Now I tried to compile using the Irix cc:
<BR>
/usr/bin/cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include
<BR>
-D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
<BR>
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g
<BR>
-DSCSIBUFFERSIZE=131072 sanei_pio.c -DPIC -o .libs/sanei_pio.lo
<BR>
cfe: Error: /usr/include/sys/types.h, line 214: redeclaration of 'u_int8_t';
<BR>
previous declaration at line 22 in file '../include/sane/sanei_backend.h'
<BR>
&nbsp;typedef unsigned char u_int8_t ;
<BR>
&nbsp;------- ------------- ^
<BR>
cfe: Error: /usr/include/sys/types.h, line 215: redeclaration of
<BR>
'u_int16_t'; previous declaration at line 26 in file
<BR>
'../include/sane/sanei_backend.h'
<BR>
&nbsp;typedef unsigned short u_int16_t ;
<BR>
&nbsp;------- -------------- ^
<BR>
cfe: Error: /usr/include/sys/types.h, line 216: redeclaration of
<BR>
'u_int32_t'; previous declaration at line 30 in file
<BR>
'../include/sane/sanei_backend.h'
<BR>
&nbsp;typedef __uint32_t u_int32_t ;
<BR>
&nbsp;------- ---------- ^
<BR>
make: *** [sanei_pio.o] Error 1
<BR>
<P>This error didn't occur in the last snapshot.
<BR>
<P><EM>&gt; Please let us know if there still are problems with this snapshot, and
</EM><BR>
<EM>&gt; post patches with documentation updated which should go into the next
</EM><BR>
<EM>&gt; distribution.
</EM><BR>
<P>Just a comment: The README points to some man pages but doesn't mention most
<BR>
of the backend pages (only sane-umax, sane-hp and sane-mustek).
<BR>
<P>Bye, Henning
<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?Subject=Re:%20Second%20and%20last%20code%20freeze%20snapshot%20(20000227)&In-Reply-To=&lt;20000305003633.B3101@hmg1.vortex.robin.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0028.html">John Fremlin: "USB Microtek ScanMaker X6"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0026.html">Henning Meier-Geinitz: "Re: New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#27">[ date ]</A>
<A HREF="index.html#27">[ thread ]</A>
<A HREF="subject.html#27">[ subject ]</A>
<A HREF="author.html#27">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Mar 04 2000 - 15:38:53 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>