Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Terry A. Bowling" <terry.bowling@verizon.com>
To: axp-redhat <axp-list@redhat.com>, linux-alpha@vger.kernel.org
Subject: 2.4.19-pre3-ac6 trouble
Date: Tue, 26 Mar 2002 15:46:39 -0500	[thread overview]
Message-ID: <3CA0DE2F.34410D44@verizon.com> (raw)

Sorry if this too off-topic, but I'm having trouble compiling a new
kernel.  I'm new to kernel compiles, so I thought I'd start big.  Here's
what I've got...

Current system:
Digital PWS600au (Miata /PC164-LX/EV56)
RedHat 7.1 with 2.4.9-31 stock alpha-rawhide kernel

I downloaded  linux-2.4.18.tar.gz,  patch-2.4.19-pre3.gz,  and
patch-2.4.19-pre3-ac6.gz
# tar -zxvf linux-2.4.18.tar.gz
# mv linux /usr/src/linux-2.4.18
# mv patch* /usr/src
# cd /usr/src/linux-2.4.18
# gzip -dc ../patch-2.4.19-pre3.gz | patch -p0
# gzip -dc ../patch-2.4.19-pre3-ac6.gz | patch -p0
# make mrproper
# make xconfig
# make dep
# make vmlinux     (since this is non-intel, i should use boot or
vmlinux here, right???)

It crunches away for awhile, then stops with the below message and I
don't know how to find out what the error really is.

make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8
-mcpu=ev56 -Wa,-mev6 " -C  arch/alpha/kernel
make[1]: Entering directory `/usr/src/linux-2.4.18/arch/alpha/kernel'
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.18/include -c -o
entry.o entry.S
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56
-Wa,-mev6   -DKBUILD_BASENAME=traps  -c -o traps.o traps.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56
-Wa,-mev6   -DKBUILD_BASENAME=process  -c -o process.o process.c
process.c: In function `cpu_idle':
process.c:77: structure has no member named `nice'
process.c:78: structure has no member named `counter'
make[1]: *** [process.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2

Any assistance you can give is greatly appreciated.

I've had no luck building the 2.4.18 source rpm from alpha-rawhide.  I
did an rpm -ba and it says "no spec file".  rpm --recomplie crunches for
a minute and then complains that the alpha architecture is not
included.  The latest redhat alpha binary I can find is what I'm
currently using.  I've also not found any good documentation that tells
me how to build a kernel from rpm sources - I've checked man rpm,
linuxdoc.org, linuxalpha.org, etc....

Terry




             reply	other threads:[~2002-03-26 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-26 20:46 Terry A. Bowling [this message]
2002-03-26 20:53 ` 2.4.19-pre3-ac6 trouble Mark Hansel
2002-03-26 21:03   ` Terry A. Bowling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox