[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem Compiling Sparc64 Kernel



Hello,

Trying to compile a native kernel (2.2.20 from cvs on vger) on an Ultra
1 running Debian sid.

First got sparc64-linux-gcc not found, so I did apt-get install egcs64
as mentioned in the ultralinux faq.

Then got sparc64-linux-ld / as not found so I did:

cd /usr/bin
ln -s as sparc64-linux-as
ln -s ld sparc64-linux-ld

Now, get:

sparc64-linux-ld  -r -o kernel.o context.o signal.o ksyms.o sched.o
dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o
itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o
kmod.o
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`context.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`signal.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `ksyms.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9a architecture of input file
`sched.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `dma.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `fork.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`exec_domain.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `panic.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`printk.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `sys.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`module.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `exit.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`itimer.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `info.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `time.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`softirq.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`resource.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`sysctl.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `acct.o'
is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file
`capability.o' is incompatible with sparc output
sparc64-linux-ld: warning: sparc:v9 architecture of input file `kmod.o'
is incompatible with sparc output
make[2]: *** [kernel.o] Segmentation fault
make[2]: *** Deleting file `kernel.o'
make[2]: Leaving directory `/usr/src/linux-2.2.20/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.20/kernel'
make: *** [_dir_kernel] Error 2


What am I doing wrong?


Thanks

Ian



Reply to: