2.4.19-pre3-ac6 trouble

From: Terry A. Bowling (terry.bowling@verizon.com)
Date: Tue Mar 26 2002 - 15:46:39 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:00 EST