Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.4.19-pre3-ac6 trouble
@ 2002-03-26 20:46 Terry A. Bowling
  2002-03-26 20:53 ` Mark Hansel
  0 siblings, 1 reply; 3+ messages in thread
From: Terry A. Bowling @ 2002-03-26 20:46 UTC (permalink / raw)
  To: axp-redhat, linux-alpha

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-26 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-26 20:46 2.4.19-pre3-ac6 trouble Terry A. Bowling
2002-03-26 20:53 ` Mark Hansel
2002-03-26 21:03   ` Terry A. Bowling

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