OK, I finally got it to compile by replacing sigmask_lock with
current->sigmask_lock.

Thanks for the tip.

Tonight I'll (hopefully) be finishing up an RPM for RedHat 6.1 and trying
it out.  If that works then I can continue working on my Thesis.

After my Thesis, maybe I can do some "maintenance" of userfs or something
in a couple of months.....

  - David Summers

On Mon, 18 Oct 1999, Jan Jirmasek wrote:

> Date: Mon, 18 Oct 1999 09:27:17 +0200 (CEST)
> From: Jan Jirmasek <[EMAIL PROTECTED]>
> To: David Summers <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
     "chen, xiangping" <[EMAIL PROTECTED]>
> Subject: Re: [Announce] userfs-0.9.7-pre1
> 
> 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.
>  ^^-^^    
> 
> 

David Wayne Summers          "Linux: Because reboots are for upgrades!"
[EMAIL PROTECTED]   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 

Reply via email to