test10-pre7 on Sparc

From: Rafal Maszkowski (rzm@icm.edu.pl)
Date: Tue Oct 31 2000 - 13:11:23 EST


I am trying to run 2.4 kernel to have up to date ATM on SPARCstation 10,
possibly with 2 CPUs. Did not succeed to boot neither Linus nor CVS version
recently. Compilation of 2.4.0.10.7:

binfmt_elf.c: In function `create_elf_tables':
binfmt_elf.c:166: `CLOCKS_PER_SEC' undeclared (first use in this function)
binfmt_elf.c:166: (Each undeclared identifier is reported only once
binfmt_elf.c:166: for each function it appears in.)
make[2]: *** [binfmt_elf.o] Error 1

missing

#ifdef __KERNEL__
# define CLOCKS_PER_SEC 100 /* frequency at which times() counts */
#endif

in include/asm-sparc/param.h

gcc -D__KERNEL__ -I/usr/src/6/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m32 -pipe -
mno-fpu -fcall-used-g5 -fcall-used-g7 -c -o ip_forward.o ip_forward.c
ip_forward.c: In function `ip_forward':
ip_forward.c:139: `NET_RX_BAD' undeclared (first use in this function)
ip_forward.c:139: (Each undeclared identifier is reported only once
ip_forward.c:139: for each function it appears in.)
make[3]: *** [ip_forward.o] Error 1

I changed it to -EINVAL, should not disturb booting even if it is wrong

Booting non-SMP version on single CPU, more less:

bootmem_init...
free_...
reserve_...
Booting Linux

Watchdog Reset

ok _

I can collect the messages thru a serial console if the details are important.

R.

-- 
W iskier krzesaniu żywem/Materiał to rzecz główna
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:30 EST