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

138 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>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unknown-8bit">
<TITLE>sane-devel: Re: compiling latest sane on PowerPC Linux</TITLE>
<META NAME="Author" CONTENT="Major A (andras@users.sourceforge.net)">
<META NAME="Subject" CONTENT="Re: compiling latest sane on PowerPC Linux">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: compiling latest sane on PowerPC Linux</H1>
<!-- received="Tue Jul 17 04:59:24 2001" -->
<!-- isoreceived="20010717115924" -->
<!-- sent="Tue, 17 Jul 2001 13:16:39 +0100" -->
<!-- isosent="20010717121639" -->
<!-- name="Major A" -->
<!-- email="andras@users.sourceforge.net" -->
<!-- subject="Re: compiling latest sane on PowerPC Linux" -->
<!-- id="20010717131635.G9131@janus.lan" -->
<!-- charset="unknown-8bit" -->
<!-- inreplyto="200107171128.f6HBSBw23814@panda.mostang.com" -->
<STRONG>From:</STRONG> Major A (<A HREF="mailto:andras@users.sourceforge.net?Subject=Re:%20compiling%20latest%20sane%20on%20PowerPC%20Linux&In-Reply-To=&lt;20010717131635.G9131@janus.lan&gt;"><EM>andras@users.sourceforge.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Jul 17 2001 - 05:16:39 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0171.html">Sebastien Sable: "Re: How to write a backend?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0169.html">Pierre Abbat: "Re: How to write a backend?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0167.html">fheitka@attglobal.net: "compiling latest sane on PowerPC Linux"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0174.html">Mehul N. Sanghvi: "Re: compiling latest sane on PowerPC Linux"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0174.html">Mehul N. Sanghvi: "Re: compiling latest sane on PowerPC Linux"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#170">[ date ]</A>
<A HREF="index.html#170">[ thread ]</A>
<A HREF="subject.html#170">[ subject ]</A>
<A HREF="author.html#170">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Fred,
<BR>
<P><EM>&gt; I've downloaded the lastest sane (1.0.5) or my PowerPC Linux
</EM><BR>
<EM>&gt; system. The systems is glibc 2.1.3 and kernel 2.4.6 debian
</EM><BR>
<EM>&gt; based. I get errors saying inb and outb are undefined.
</EM><BR>
<P>We had someone else on the list who had a very similar problem. You
<BR>
are running debian with a 2.4.x kernel (i.e. you built it yourself),
<BR>
and I have the same set-up (on i386 and alpha machines though).
<BR>
<P>Note that a debian install has its own /usr/include/asm and
<BR>
/usr/include/linux directories, so if you build your own kernel, it
<BR>
might be worth replacing them by symbolic links to the two relevant
<BR>
directories in /usr/src/linux/include (I hope you keep your kernel
<BR>
source there).
<BR>
<P><EM>&gt; A check through the kernl header files yields no definitions
</EM><BR>
<EM>&gt; except in one of the asm headers. Including the asm
</EM><BR>
<EM>&gt; header did not work so I suspect the problem was at
</EM><BR>
<EM>&gt; the linker stage.
</EM><BR>
<P>Is it the ld command that complains? If so, you have the same problem
<BR>
as that other user (can't remember their name).
<BR>
<P><EM>&gt; Doesn't inb and outb have something to do with the ISA bus?
</EM><BR>
<EM>&gt; My PowerPC machine has no ISA bus.
</EM><BR>
<P>It has to do with the stupid I/O handling on i386 machines. If you ask
<BR>
me, it should not really be needed for any other architecture. Maybe
<BR>
it just makes writing cross-platform stuff easier to keep it for all
<BR>
platforms.
<BR>
<P>Hope this helps, any corrections are welcome.
<BR>
<P>&nbsp;&nbsp;Andras
<BR>
<P>===========================================================================
<BR>
Major Andr<64>s
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;e-mail: <A HREF="mailto:andras@users.sourceforge.net?Subject=Re:%20compiling%20latest%20sane%20on%20PowerPC%20Linux&In-Reply-To=&lt;20010717131635.G9131@janus.lan&gt;">andras@users.sourceforge.net</A>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;www: <A HREF="http://andras.webhop.org/">http://andras.webhop.org/</A>
<BR>
===========================================================================
<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:%20compiling%20latest%20sane%20on%20PowerPC%20Linux&In-Reply-To=&lt;20010717131635.G9131@janus.lan&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0171.html">Sebastien Sable: "Re: How to write a backend?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0169.html">Pierre Abbat: "Re: How to write a backend?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0167.html">fheitka@attglobal.net: "compiling latest sane on PowerPC Linux"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0174.html">Mehul N. Sanghvi: "Re: compiling latest sane on PowerPC Linux"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0174.html">Mehul N. Sanghvi: "Re: compiling latest sane on PowerPC Linux"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#170">[ date ]</A>
<A HREF="index.html#170">[ thread ]</A>
<A HREF="subject.html#170">[ subject ]</A>
<A HREF="author.html#170">[ 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>Tue Jul 17 2001 - 05:00:02 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>