On Sat, 16 Oct 1999, David Summers wrote:

> Did you get this to work with kernel-2.2.12?

Hi!

  Yes, I did. ;-)


> I'm using RedHat 6.1 and grabbed the 0.9.7-pre1 and ran into a problem
> at:
> 
> gcc    -c -I.. -O2 -fomit-frame-pointer -DMODULE -D__KERNEL__ -Wall
> uio.c
> uio.c: In function `userfs_send':
> uio.c:120: `sigmask_lock' undeclared (first use in this function)
> uio.c:120: (Each undeclared identifier is reported only once
> uio.c:120: for each function it appears in.)
>
> Any Ideas?

The sigmask_lock is a spinlock variable as a part of task_struct. The
original author of userfs used this variable to mask incoming signals,
because he wanted certain part of the filesystem to be uninterruptible. 

This compiles without any problem on my computer. The task_struct is
declared in <linux/sched.h> include file. Check it in your environment,
if nothing's missing. If you'll still have problems to get it compiled,
let me know with more information about your trouble.


                                                        Jim



  .~.     Jan Jirmásek
  /V\     jim(at)penguin.cz, http://www.penguin.cz/~jim 
 // \\    
/(   )\   Linux, the choice of a GNU generation.
 ^^-^^    

Reply via email to