LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 10-20-2005, 07:34 AM   #1
jiyun0121
LQ Newbie
 
Registered: Sep 2005
Posts: 7

Rep: Reputation: 0
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'
 
Old 10-20-2005, 08:00 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
i don't think you can cross-compile the kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 03:33 AM
How can I cross compile the kernel? Basel Slackware 5 09-07-2005 07:23 AM
Cross Compile Kernel. zaicheke Linux - General 1 01-11-2005 12:39 AM
GCC cross compiling to alpha sparc? jon_k Linux - Software 2 12-07-2004 03:23 PM
Kernel Cross-Compile pentium->i486 marcelocp Slackware 0 10-20-2004 03:22 PM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration