View previous topic :: View next topic |
Author |
Message |
russofris Apprentice
Joined: 14 Sep 2003 Posts: 163
|
Posted: Mon Mar 07, 2005 9:53 pm Post subject: Which 2.6 kernel for E250 |
|
|
Hi there,
I am having trouble getting gentoo-dev-sources 2.6.10-r6 to compile. The error is
CC arch/sparc64/kernel/sys_sparc32.o
include/asm/uaccess.h: In function `sys32_sysctl':
arch/sparc64/kernel/sys_sparc32.c:1686: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
make[1]: *** [arch/sparc64/kernel/sys_sparc32.o] Error 1
make: *** [arch/sparc64/kernel] Error 2
So I figure I should use a different 2.6 version. All of the 2.6.9's appear to be hard masked. Which kernel should I use?
Thank you for your time,
Frank Russo |
|
Back to top |
|
|
arckane n00b
Joined: 06 Feb 2005 Posts: 42 Location: Iwade, UK.
|
Posted: Wed Mar 09, 2005 1:50 pm Post subject: |
|
|
I used:
ACCEPT_KEYWORDS="~sparc" emerge development-sources
This gave me kernel 2.6.5 to be getting on with |
|
Back to top |
|
|
russofris Apprentice
Joined: 14 Sep 2003 Posts: 163
|
Posted: Wed Mar 09, 2005 10:49 pm Post subject: |
|
|
I will give that a shot,
Thanx
Frank |
|
Back to top |
|
|
russofris Apprentice
Joined: 14 Sep 2003 Posts: 163
|
Posted: Wed Mar 09, 2005 11:41 pm Post subject: |
|
|
Still fails with a different error (I trieed with GCC 3.4.3 and GCC 3.3.4)
Error is
CHK include/linux/compile.h
CC arch/sparc64/kernel/power.o
In file included from include/linux/unistd.h:9,
from arch/sparc64/kernel/power.c:21:
include/asm/unistd.h:443: warning: conflicting types for built-in function '_exit'
make[1]: *** [arch/sparc64/kernel/power.o] Error 1
make: *** [arch/sparc64/kernel] Error 2
Will probably have to go with a 2.4 kernel.
Frank |
|
Back to top |
|
|
russofris Apprentice
Joined: 14 Sep 2003 Posts: 163
|
Posted: Thu Mar 10, 2005 12:47 am Post subject: |
|
|
Grabbed the latest 2.6.11.2 from kernel.org. No love, but makes it much further than the other two
CC arch/sparc64/kernel/module.o
CC arch/sparc64/kernel/sys_sunos32.o
CC arch/sparc64/kernel/sunos_ioctl32.o
LD arch/sparc64/kernel/built-in.o
AS arch/sparc64/kernel/head.o
CC arch/sparc64/kernel/init_task.o
LDS arch/sparc64/kernel/vmlinux.lds
AS arch/sparc64/mm/ultra.o
CC arch/sparc64/mm/tlb.o
In file included from arch/sparc64/mm/tlb.c:17:
include/asm/tlb.h: In function `tlb_flush_mmu':
include/asm/tlb.h:65: warning: implicit declaration of function `release_pages'
include/asm/tlb.h: In function `tlb_remove_page':
include/asm/tlb.h:113: warning: implicit declaration of function `page_cache_release'
make[1]: *** [arch/sparc64/mm/tlb.o] Error 1
make: *** [arch/sparc64/mm] Error 2
livecd linux # |
|
Back to top |
|
|
squash Tux's lil' helper
Joined: 22 Jun 2002 Posts: 79
|
Posted: Thu Mar 17, 2005 7:38 pm Post subject: |
|
|
Hi,
2.6 is not stable on Sparc. Use 2.4. With that said, your compile errors may be caused by options you have enabled in your config. I've had no problems compiling the current ~sparc development-sources. You would have to post your config. |
|
Back to top |
|
|
|