glibc and kernel build problems (EST8260)
diekema_jon
diekema at bucks.si.com
Wed Nov 15 23:33:50 EST 2000
> 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/
More information about the Linuxppc-embedded
mailing list