linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Felix Radensky <felix@allot.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Compilation failures
Date: Mon, 23 Apr 2001 22:49:02 +0300	[thread overview]
Message-ID: <3AE4872E.23982DD0@allot.com> (raw)


Hi,

I'm trying to compile a 2.4.3 kernel for 405GP using cross compiler from
Hard Hat
Linux 1.2. I've enabled 4xx as Processor type and Walnut as machine
type.

The compilation fails on main.c with the following errors:

In file included from
/home/felix/src/kernel/linux-2.4.3/include/linux/raid/md.h:38,
                 from init/main.c:24:
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h: In function
`virt_to_bus':
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:207:
`PCI_DRAM_OFFSET' undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:207: (Each
undeclared identifier is reported only once
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:207: for each
function it appears in.)
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:211: warning:
control reaches end of non-void function
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h: In function
`bus_to_virt':
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:218:
`PCI_DRAM_OFFSET' undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/io.h:222: warning:
control reaches end of non-void function
In file included from
/home/felix/src/kernel/linux-2.4.3/include/linux/bootmem.h:8,
                 from init/main.c:29:
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`enable_dma':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:208: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`disable_dma':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:224: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`clear_dma_ff':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:239: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`set_dma_mode':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:248: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`set_dma_page':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:262: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`set_dma_addr':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:308: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`set_dma_count':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:336: `_IO_BASE'
undeclared (first use in this function)
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h: In function
`get_dma_residue':
/home/felix/src/kernel/linux-2.4.3/include/asm/dma.h:366: `_IO_BASE'
undeclared (first use in this function)

The same happens with 2.4.4-pre4 with latest patches from Cort Dougan.

What am I doing wrong ?

Thank you very much in advance.

Felix.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2001-04-23 19:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AE4872E.23982DD0@allot.com \
    --to=felix@allot.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).