public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: diekema@bucks•si.com (diekema_jon)
To: ford@vss•fsi.com (Brian Ford)
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: glibc and kernel build problems (EST8260)
Date: Wed, 15 Nov 2000 07:33:50 -0500 (EST)	[thread overview]
Message-ID: <m13w1l8-001SzcC@bucks> (raw)
In-Reply-To: <Pine.GSO.4.21.0011141339220.493-100000@eos> from "Brian Ford" at Nov 14, 2000 01:55:51 PM


> For glibc, I have read the HowTo and I think I applied the proper glibc
> patches.  I have also patched my gcc specs file.  Here is where I am
> dying:

I would go to MontaVista http://www.mvista.com/ and get their CDK.
They have already done this work and more.

ftp://ftp.mvista.com/pub/CDK/1.2/

> make[2]: Entering directory
> `/home/ford/linux/src/linuxppc_fsm/arch/ppc/mm'
> powerpc-linux-gcc -D__KERNEL__ -I/home/ford/linux/src/linuxppc_fsm/include
> -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
> -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2
> -Wno-uninitialized -mmultiple -mstring    -c -o init.o init.c
> init.c: In function `__ioremap':
> init.c:418: `isa_mem_base' undeclared (first use in this function)
> init.c:418: (Each undeclared identifier is reported only once
> init.c:418: for each function it appears in.)
> init.c: In function `hash_init':
> init.c:1486: warning: int format, long int arg (arg 2)
> init.c: At top level:
> init.c:661: warning: `get_mem_prop' declared `static' but never defined
> make[2]: *** [init.o] Error 1

You need to change arch/ppc/mm/init.c

dell 1060} diff -c ~/bk/fsmlabs-linux-2.4/arch/ppc/mm/init.c .
*** /usr/people/diekema/bk/fsmlabs-linux-2.4/arch/ppc/mm/init.c Sat Nov 11 09:06:29 2000
--- ./init.c    Sat Nov 11 10:28:43 2000
***************
*** 408,413 ****
--- 408,414 ----
         */
        if ( p < 16*1024*1024 )
                p += _ISA_MEM_BASE;
+ #if !defined(CONFIG_4xx) && !defined(CONFIG_8xx) && !defined(CONFIG_8260)
        /*
         * Some drivers give us the physical bus address when they
         * should give us the physical cpu address.  For those cases
***************
*** 416,421 ****
--- 417,423 ----
         */
        else if ( p < PCI_DRAM_OFFSET )
                p += isa_mem_base;
+ #endif

        /*
         * Don't allow anybody to remap normal RAM that we're using.

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

  reply	other threads:[~2000-11-15 12:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-14 19:55 glibc and kernel build problems (EST8260) Brian Ford
2000-11-15 12:33 ` diekema_jon [this message]
2000-11-15 15:25   ` Brian Ford
2000-11-15 15:50     ` diekema_jon
2000-11-15 18:23     ` Dan Malek

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=m13w1l8-001SzcC@bucks \
    --to=diekema@bucks$(echo .)si.com \
    --cc=ford@vss$(echo .)fsi.com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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