Re: 2.1.81 ftape fails to compile

dan singhal (msinghal@r39h136.res.gatech.edu)
Sat, 24 Jan 1998 12:29:02 -0500 (EST)


On Sat, 24 Jan 1998, Simon's Mailing List Account wrote:

> gcc -D__KERNEL__ -I/usr/src/linux21/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -c -o fdc-io.o fdc-io.c
> fdc-io.c: In function `fdc_interrupt_wait':
> fdc-io.c:407: `_BLOCK_ALL' undeclared (first use this function)
> fdc-io.c:407: (Each undeclared identifier is reported only once
> fdc-io.c:407: for each function it appears in.)
> make[4]: *** [fdc-io.o] Error 1

I got it to compile like this, but I'm not sure what siginitset does, so i
can't promise that it works. I'm still compiling ...

--- fdc-io.c.orig Fri Jan 23 20:38:04 1998
+++ fdc-io.c Sat Jan 24 12:14:28 1998
@@ -404,7 +404,8 @@

spin_lock_irq(&current->sigmask_lock);
old_sigmask = current->blocked;
- siginitset(&current->blocked, _BLOCK_ALL);
+/* siginitset(&current->blocked, _BLOCK_ALL); */
+ sigfillset(&current->blocked);
recalc_sigpending(current);
spin_unlock_irq(&current->sigmask_lock);

--dan