2.1.126 does not compile on sparc

James Moody (013263m@dragon.acadiau.ca)
Mon, 26 Oct 1998 10:07:44 -0400 (AST)


I get the following output when trying to compile 2.1.126 on a sparc 1+.
Same result with 2.1.126-pre2, but 2.1.125 works fine.

make[1]: Entering directory `/usr/src/linux-2.1.126/arch/sparc/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.126/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -DEXPORT_SYMTAB -c sparc_ksyms.c
sparc_ksyms.c:90: `_spin_lock' undeclared here (not in a function)
sparc_ksyms.c:90: initializer element for `__ksymtab__spin_lock.value' is not constant
sparc_ksyms.c:91: `_spin_unlock' undeclared here (not in a function)
sparc_ksyms.c:91: initializer element for `__ksymtab__spin_unlock.value' is not constant
sparc_ksyms.c:93: `_spin_lock_irq' undeclared here (not in a function)
sparc_ksyms.c:93: initializer element for `__ksymtab__spin_lock_irq.value' is not constant
sparc_ksyms.c:94: `_spin_unlock_irq' undeclared here (not in a function)
sparc_ksyms.c:94: initializer element for `__ksymtab__spin_unlock_irq.value' is not constansparc_ksyms.c:95: `_spin_lock_irqsave' undeclared here (not in a function)
sparc_ksyms.c:95: initializer element for `__ksymtab__spin_lock_irqsave.value' is not constant
sparc_ksyms.c:96: `_spin_unlock_irqrestore' undeclared here (not in a function)
sparc_ksyms.c:96: initializer element for `__ksymtab__spin_unlock_irqrestore.value' is not constant
sparc_ksyms.c:97: `_read_lock' undeclared here (not in a function)
sparc_ksyms.c:97: initializer element for `__ksymtab__read_lock.value' is not constant
sparc_ksyms.c:98: `_read_unlock' undeclared here (not in a function)
sparc_ksyms.c:98: initializer element for `__ksymtab__read_unlock.value' is not constant
sparc_ksyms.c:99: `_read_lock_irq' undeclared here (not in a function)
sparc_ksyms.c:99: initializer element for `__ksymtab__read_lock_irq.value' is not constant
sparc_ksyms.c:100: `_read_unlock_irq' undeclared here (not in a function)
sparc_ksyms.c:100: initializer element for `__ksymtab__read_unlock_irq.value' is not constant
sparc_ksyms.c:101: `_read_lock_irqsave' undeclared here (not in a function)
sparc_ksyms.c:101: initializer element for `__ksymtab__read_lock_irqsave.value' is not constant
sparc_ksyms.c:102: `_read_unlock_irqrestore' undeclared here (not in a function)
sparc_ksyms.c:102: initializer element for `__ksymtab__read_unlock_irqrestore.value' is not constant
sparc_ksyms.c:103: `_write_lock' undeclared here (not in a function)
sparc_ksyms.c:103: initializer element for `__ksymtab__write_lock.value' is not constant
sparc_ksyms.c:104: `_write_unlock' undeclared here (not in a function)
sparc_ksyms.c:104: initializer element for `__ksymtab__write_unlock.value' is not constant
sparc_ksyms.c:105: `_write_lock_irq' undeclared here (not in a function)
sparc_ksyms.c:105: initializer element for `__ksymtab__write_lock_irq.value' is not constant
sparc_ksyms.c:106: `_write_unlock_irq' undeclared here (not in a function)
sparc_ksyms.c:106: initializer element for `__ksymtab__write_unlock_irq.value' is not constant
sparc_ksyms.c:107: `_write_lock_irqsave' undeclared here (not in a function)
sparc_ksyms.c:107: initializer element for `__ksymtab__write_lock_irqsave.value' is not constant
sparc_ksyms.c:108: `_write_unlock_irqrestore' undeclared here (not in a function)
sparc_ksyms.c:108: initializer element for `__ksymtab__write_unlock_irqrestore.value' is not constant
make[1]: *** [sparc_ksyms.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.1.126/arch/sparc/kernel'
make: *** [_dir_arch/sparc/kernel] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/