sane-project-website/old-archive/2001-05/0402.html

124 wiersze
5.7 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: SANE CVS snapshot (2001-05-27) available</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: SANE CVS snapshot (2001-05-27) available">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SANE CVS snapshot (2001-05-27) available</H1>
<!-- received="Mon May 28 12:02:00 2001" -->
<!-- isoreceived="20010528190200" -->
<!-- sent="Mon, 28 May 2001 21:07:04 +0200" -->
<!-- isosent="20010528190704" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: SANE CVS snapshot (2001-05-27) available" -->
<!-- id="20010528210704.A11243@vortex.swb.de" -->
<!-- inreplyto="20010527185048.A32284@vortex.swb.de" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20SANE%20CVS%20snapshot%20(2001-05-27)%20available&In-Reply-To=&lt;20010528210704.A11243@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon May 28 2001 - 12:07:04 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0401.html">Henning Meier-Geinitz: "Re: Microtek, Net, NetBSD"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0385.html">Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0389.html">Petter Reinholdtsen: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#402">[ date ]</A>
<A HREF="index.html#402">[ thread ]</A>
<A HREF="subject.html#402">[ subject ]</A>
<A HREF="author.html#402">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P><EM>&gt; (2) Running scanimage results in bus error. gdb reveals: umax_pp_low.c line 80,
</EM><BR>
<EM>&gt; Inb (port: 890).
</EM><BR>
<P>Fixed. Or more exactly: Disabled umax_pp for FreeBSD. It looks like
<BR>
FreeBSD dumps core because inb is used without prior ioperm. However,
<BR>
HAVE_IOPERM is not defined, so the ioperm part wasn't compiled in. I
<BR>
have added a &amp;&amp; defined HAVE_IOPERM before using the inb etc.
<BR>
assembler statements. If anyone knows enough about programming ioports
<BR>
under FreeBSD please have a look at this and fix it correctly.
<BR>
<P><EM>&gt; (3) Static linking breaks when compiling sane-frontends, dynamic linking works.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a \
</EM><BR>
<EM>&gt; ../lib/liblib.a -lgimp -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm -lsane -lnsl -lusb -lm -ljpeg/usr/local/lib/libsane.a(sanei_wire.o): In function `sanei_w_space':
</EM><BR>
<EM>&gt; /tmp/sane-backends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:54: multiple definition of `sanei_w_space'
</EM><BR>
<EM>&gt; ./sanei/libsanei.a(sanei_wire.o):/tmp/sane-frontends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:54: first defined here
</EM><BR>
<EM>&gt; /usr/bin/ld: Warning: size of symbol `sanei_w_space' changed from 213 to 215 in sanei_wire.o
</EM><BR>
<EM>&gt; /usr/local/lib/libsane.a(sanei_wire.o): In function `sanei_w_void':
</EM><BR>
<EM>&gt; /tmp/sane-backends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:119: multiple definition of `sanei_w_void'
</EM><BR>
<EM>&gt; ./sanei/libsanei.a(sanei_wire.o):/tmp/sane-frontends-CVS-snapshot-2001-05-27/sanei/sanei_wire.c:112: first defined here
</EM><BR>
<EM>&gt; [lots of similar errors]
</EM><BR>
<P>Should work now on both systems.
<BR>
<P>So only AIX static is remaining.
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;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:%20SANE%20CVS%20snapshot%20(2001-05-27)%20available&In-Reply-To=&lt;20010528210704.A11243@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0401.html">Henning Meier-Geinitz: "Re: Microtek, Net, NetBSD"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0385.html">Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0389.html">Petter Reinholdtsen: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#402">[ date ]</A>
<A HREF="index.html#402">[ thread ]</A>
<A HREF="subject.html#402">[ subject ]</A>
<A HREF="author.html#402">[ 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>Mon May 28 2001 - 12:03:05 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>