Hello Ben and List People.
I've followed the steps below, but my kernel exits abnormally with
the message
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -DUTS_MACHINE='"sparc64"' -c -o init/version.o init/version.c
make -C kernel
make[1]: Entering directory `/usr/src/linux-2.2.14/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.14/kernel'
rm -f kernel.o
ld -m elf64_sparc -r -o kernel.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
ld: cannot open linker script file ldscripts/elf64_sparc.xr: No such file or directory
make[2]: *** [kernel.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.14/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/kernel'
make: *** [_dir_kernel] Error 2
Can't find this script anywhere in my machine.
You can see the entire log in the attachment.
My uname -a says:
Linux triatoma 2.2.1 #2 Fri Feb 26 17:17:20 EST 1999 sparc64 unknown
My machine is a Ultra 1, by Sun.
I think that i've made something wrong.
Please someone help me.
Thank you all for the patience and for the advices.
[]'z
On Thu, 10 Feb 2000, Ben Collins wrote:
> On Thu, Feb 10, 2000 at 09:42:36AM -0200, Luis Campos de Carvalho wrote:
> >
> > Hy, list people.
> >
> > I need to know if there is any special procedure to compile a
> > 2.2.14 kernel into a Ultra Sparc 1 with Debian/Linux.
> >
> > I've tryied the normal way (ftp the kernel source, unpack, make
> > menuconfig, make dep, make clean) but when i try 'make {bz,z}Image' the
> > make program says 'No rule to make {bz,z}Image'...
> >
> > Maybe i've get a broken kernel?
> >
> > Thank you all in advance for any help.
>
> a) Install egcs64 package (preferably the potato version)
>
> b) run "make vmlinux"
>
> c) run "gzip -c vmlinuz > vmlinuz"
>
> d) Put vmlinuz in /boot and make silo use that
>
>
> Ben
>
> --
> -----------=======-=-======-=========-----------=====------------=-=------
> / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
> ` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net '
> `---=========------=======-------------=-=-----=-===-======-------=--=---'
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Luis Campos de Carvalho
System Administrator at ECB -- Escola Paulista de Medicina
"Do not expose your LaserWriter to fire or intense heat."
-- Apple LaserWriter Manual
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Attachment:
log
Description: Compilation Log