[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.4.12 compile errors on Sparc32



Indeed, 2.4.11 compiled on Sparc32, the first since a long time.
I couldn't run the one one I tried because it told me it was too
big. Before I could shrink it, 2.4.12 appeared, and of course:

/usr/src/linux-2.4.12/include/linux/interrupt.h:77: warning: `__cpu_raise_softirq' redefined
/usr/src/linux-2.4.12/include/asm/softirq.h:31: warning: this is the location of the previous definition
    In file included from /usr/src/linux-2.4.12/include/linux/pagemap.h:16,
	 from /usr/src/linux-2.4.12/include/linux/locks.h:8,
	 from /usr/src/linux-2.4.12/include/linux/devfs_fs_kernel.h:6,
	 from init/main.c:16:
/usr/src/linux-2.4.12/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.4.12/include/linux/highmem.h:48: `KM_USER0' undeclared (first use in this function)
/usr/src/linux-2.4.12/include/linux/highmem.h:48: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.12/include/linux/highmem.h:48: for each function it appears in.)
/usr/src/linux-2.4.12/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux-2.4.12/include/linux/highmem.h:89: `KM_USER0' undeclared (first use in this function)
/usr/src/linux-2.4.12/include/linux/highmem.h:90: `KM_USER1' undeclared (first use in this function)
init/main.c: In function `smp_init':
init/main.c:515: warning: implicit declaration of function `cpu_relax'
make: *** [init/main.o] Error 1
						   
So what would be course of action? I tried 2.4.13-pre3, and 2.4.12-ac4.
Same result. 

... 2.4 is supposed to be a stable kernel, so the first thing I'd expect
is that it compiles; and that it won't break compilation on a complete
architecture every other version. If there are hardware-issues, that's
one thing, but _compilation_ issues, that's a no-no. If I ever meet Linus,
he'll be getting a brown paper bag from me... <grmbl>.

Thank you
Peter
-- 
Those who give up essential liberties for temporary safety deserve 
neither liberty nor safety. -- Benjamin Franklin



Reply to: