sane-project-website/old-archive/2001-07/0156.html

170 wiersze
6.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-1.0.5/Linux-2.4.6/PowerPC</TITLE>
<META NAME="Author" CONTENT="stef (stef-listes@wanadoo.fr)">
<META NAME="Subject" CONTENT="Re: SANE-1.0.5/Linux-2.4.6/PowerPC">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SANE-1.0.5/Linux-2.4.6/PowerPC</H1>
<!-- received="Mon Jul 16 22:18:12 2001" -->
<!-- isoreceived="20010717051812" -->
<!-- sent="Tue, 17 Jul 2001 07:43:44 +0200" -->
<!-- isosent="20010717054344" -->
<!-- name="stef" -->
<!-- email="stef-listes@wanadoo.fr" -->
<!-- subject="Re: SANE-1.0.5/Linux-2.4.6/PowerPC" -->
<!-- id="20010717074344.B389@wanadoo.fr" -->
<!-- inreplyto="200107170323.XAA26211@kirsun.ne.mediaone.net" -->
<STRONG>From:</STRONG> stef (<A HREF="mailto:stef-listes@wanadoo.fr?Subject=Re:%20SANE-1.0.5/Linux-2.4.6/PowerPC&In-Reply-To=&lt;20010717074344.B389@wanadoo.fr&gt;"><EM>stef-listes@wanadoo.fr</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Jul 16 2001 - 22:43:44 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Timo Mohnani: "Re: Canoscan FB630U"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">Mehul N. Sanghvi: "SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0155.html">Mehul N. Sanghvi: "SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0173.html">Mehul N. Sanghvi: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0173.html">Mehul N. Sanghvi: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0193.html">Douglas Gilbert: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Mon, Jul 16, 2001 at 11:23:52PM -0400, Mehul N. Sanghvi wrote:
<BR>
<EM>&gt; 'allo,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I just downloaded sane-backends-1.0.5 this afternoon and have run into
</EM><BR>
<EM>&gt; a compilation problem with umax_pp. Here is the stuff from the make:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; gcc -c -g -O2 -W -Wall -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=1 -DV_MINOR=0 umax_pp.c
</EM><BR>
<EM>&gt; gcc -o umax_pp umax_pp.o ../backend/umax_pp_low.o ../sanei/libsanei.a ../lib/liblib.a -lnsl -lm -ljpeg
</EM><BR>
<EM>&gt; ../backend/umax_pp_low.o: In function `Outb':
</EM><BR>
<EM>&gt; /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:658: undefined reference to `outb'
</EM><BR>
<EM>&gt; /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:658: relocation truncated to fit: R_PPC_REL24 outb
</EM><BR>
<EM>&gt; ../backend/umax_pp_low.o: In function `Inb':
</EM><BR>
<EM>&gt; /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:675: undefined reference to `inb'
</EM><BR>
<EM>&gt; /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:675: relocation truncated to fit: R_PPC_REL24 inb
</EM><BR>
<EM>&gt; collect2: ld returned 1 exit status
</EM><BR>
<EM>&gt; make[1]: *** [umax_pp] Error 1
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/usr/local/sources/BUILD/sane-backends-1.0.5/tools'
</EM><BR>
<EM>&gt; make: *** [all-recursive] Error 1
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I am running Linux 2.4.6-pre3 on a PowerPC/nuBus based Macintosh. My toolchain
</EM><BR>
<EM>&gt; is the following:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; make 3.78.1
</EM><BR>
<EM>&gt; gcc 2.95.3
</EM><BR>
<EM>&gt; ld 2.10.91
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; any clues/ideas/pointers ?
</EM><BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'm pretty puzzled by this one. I checked asm-ppc/io.h, and inb/outb are
<BR>
defined (as inline or defines) in it. I can't see what is happening.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Having compile messages of 'umax_pp_low.c' should be helpfull.
<BR>
<P>Regards,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stef
<BR>
<P><P><EM>&gt;
</EM><BR>
<EM>&gt; thanks in advance,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; mehul
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Mehul N. Sanghvi email: <A HREF="mailto:mehul@kirsun.ne.mediaone.net?Subject=Re:%20SANE-1.0.5/Linux-2.4.6/PowerPC&In-Reply-To=&lt;20010717074344.B389@wanadoo.fr&gt;">mehul@kirsun.ne.mediaone.net</A>
</EM><BR>
<EM>&gt; Superior software is always free! URL: <A HREF="http://kirsun.ne.mediaone.net/~mehul">http://kirsun.ne.mediaone.net/~mehul</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20SANE-1.0.5/Linux-2.4.6/PowerPC&In-Reply-To=&lt;20010717074344.B389@wanadoo.fr&gt;">majordomo@mostang.com</A>
</EM><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-1.0.5/Linux-2.4.6/PowerPC&In-Reply-To=&lt;20010717074344.B389@wanadoo.fr&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Timo Mohnani: "Re: Canoscan FB630U"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">Mehul N. Sanghvi: "SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0155.html">Mehul N. Sanghvi: "SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0173.html">Mehul N. Sanghvi: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0173.html">Mehul N. Sanghvi: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0193.html">Douglas Gilbert: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ 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 Jul 16 2001 - 22:19:46 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>