RE: 2.1.81 compile problems patch

Scott Lampert (fortunato@heavymetal.org)
Sat, 24 Jan 1998 04:23:16 -0500 (EST)


On 24-Jan-98 Adam Heath wrote:
> Here it is. Done correctly this time.
>
> With this many non-SMP problems, I wonder if it was even test compiled
> with SMP disabled.
>
> I think that having SMP as an option in config, etc would help this
> fact.

Are you using a copy of the kernel source that was patched to
2.1.81 from a prior version or the full source tarball of 2.181? I'm
using the latter and every patch you have in here rejects. If I put them
in by hand, I still end up with a compile failure with SMP disabled.

gcc -D__KERNEL__ -I/usr/src/linux-2.1.81/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o
softirq.o softirq.c

softirq.c: In function `do_bottom_half':
softirq.c:67: `in_bh' undeclared (first use this function)
softirq.c:67: (Each undeclared identifier is reported only once
softirq.c:67: for each function it appears in.)
make[2]: *** [softirq.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.81/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.81/kernel'
make: *** [linuxsubdirs] Error 2

---
Scott Lampert              | Home Page: http://www.heavymetal.org
<fortunato@heavymetal.org> | PGP Key: finger fortunato@heavymetal.org
"Black holes are where God +-----------------------------------------
   divided by zero."