Skip to contentSkip to conversation

linux-2.4.12-ac6 compile errors on sparc64

DISCUSSION Ian Gulliver 3 participants 3 messages Oct 24, 2001

lore
Share & tools
lore
#0 lore raw

Attempting to compile linux-2.4.12-ac6 on sparc64. linux-2.4.13 compiles fine on the same machine.

anubis% sparc64-linux-gcc --version
3.0.2
anubis% make

..............

make[1]: Entering directory `/home/ian/linux-2.4.10-ac12/arch/sparc64/kernel'
sparc64-linux-gcc -D__KERNEL__ -I/home/ian/linux-2.4.10-ac12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -c -o init_task.o init_task.c
init_task.c:7: `INIT_MMAP' undeclared here (not in a function) make[1]: *** [init_task.o] Error 1
make[1]: Leaving directory `/home/ian/linux-2.4.10-ac12/arch/sparc64/kernel'
make: *** [_dir_arch/sparc64/kernel] Error 2

#2 lore raw
Quoted 2 lines

We've said repeatedly that AC kernels will not compile, please use the standard Linus kernels on sparc64.

Or send me patches to fix the problem (me not DaveM). That way people can run ext3 and other stuff on sparc. Im happy to take fixes, but obviously Dave does have other things to concentrate on