2.1.115 refuses to compile on Alpha

tack@sault.org
Wed, 12 Aug 1998 13:38:59 -0400


Stock RH 4.2 (running 2.0.30) won't compile kernel 2.1.115. Of course, most
kernels refuse to compile on that thing, but this one particularly is bugging
me.

Using egcs-2.90.29 980515 and also gcc 2.7.2.1 gives the same error. Any help
would be appreciated.

Here is the script:

[ -- snip -- ]

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o bios32.o bios32.c
In file included from /usr/src/linux/include/asm/smplock.h:6,
from /usr/src/linux/include/linux/smp_lock.h:13,
from bios32.c:30:
/usr/src/linux/include/linux/interrupt.h:10: warning: `struct pt_regs' declared inside parameter list
/usr/src/linux/include/linux/interrupt.h:10: warning: its scope is only this definition or declaration,
/usr/src/linux/include/linux/interrupt.h:10: warning: which is probably not what
you want.
/usr/src/linux/include/asm/softirq.h: In function `remove_bh':
In file included from /usr/src/linux/include/linux/interrupt.h:50,
from /usr/src/linux/include/asm/smplock.h:6,
from /usr/src/linux/include/linux/smp_lock.h:13,
from bios32.c:30:
/usr/src/linux/include/asm/softirq.h:35: `NULL' undeclared (first use this function)
/usr/src/linux/include/asm/softirq.h:35: (Each undeclared identifier is reported
only once
/usr/src/linux/include/asm/softirq.h:35: for each function it appears in.)
/usr/src/linux/include/asm/smplock.h: In function `lock_kernel':
In file included from /usr/src/linux/include/linux/smp_lock.h:13,
from bios32.c:30:
/usr/src/linux/include/asm/smplock.h:41: dereferencing pointer to incomplete type
/usr/src/linux/include/asm/smplock.h: In function `unlock_kernel':
/usr/src/linux/include/asm/smplock.h:47: dereferencing pointer to incomplete type
make[1]: *** [bios32.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/alpha/kernel'
make: *** [linuxsubdirs] Error 2

[ -- snip -- ]

Jason Tackaberry,
tack@sault.org

-
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.altern.org/andrebalsa/doc/lkml-faq.html