LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   kernel cross-compile(i386 to sparc) (https://www.linuxquestions.org/questions/debian-26/kernel-cross-compile-i386-to-sparc-374989/)

jiyun0121 10-20-2005 06:34 AM

kernel cross-compile(i386 to sparc)
 
Hi!

please~ help me... That's the most important for me!

I've installed Debian-2.4.27_i386 on my computer..
but I need a kernel-sparc.
So I've make sparc-linux-gcc cross-compiler.
It was finished the installation of binutils-sparc.deb, glibc-sparc.deb,
gcc-sparc.deb, g++-sparc.deb.

I've tested cross-compiler to compile a hello.c
That was good.

when I tried to cross-compile the kernel, some errors occur.
bellow are the errors.

----------------------------------------------------------------------------

arch/sparc/kernel/kernel.o(.text.init+0x2c58):
In function 'sun4d_cpu_startup':
:undefined reference to 'poke_srmmn'

arch/sparc/kernel/kernel.o(.text.init+.....): In function 'smp4m_boot_cpus':
:undefined reference to 'srmmu_ctx_table_phys'

mm/mm.o(.text.init+......):In function 'kmap_high':
:undefined reference to 'pkmap_base'

mrcheeks 10-20-2005 07:00 AM

i don't think you can cross-compile the kernel.


All times are GMT -5. The time now is 03:35 PM.