LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06: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, 07:00 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
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 02:33 AM
How can I cross compile the kernel? Basel Slackware 5 09-07-2005 06:23 AM
Cross Compile Kernel. zaicheke Linux - General 1 01-10-2005 11:39 PM
GCC cross compiling to alpha sparc? jon_k Linux - Software 2 12-07-2004 02:23 PM
Kernel Cross-Compile pentium->i486 marcelocp Slackware 0 10-20-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:06 PM.

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
Open Source Consulting | Domain Registration