[OpenAFS-devel] Building openafs-1.0.1 for 2.4.0-test12

Chas Williams chas@cmf.nrl.navy.mil
Fri, 22 Dec 2000 11:21:20 -0500


>trying to build openafs-1.0.1 for kernel 2.4.0-test12, I get the
>following error:
>
>../afs/../afs/../rx/../rx/rx_kmutex.h: In function `afs_mutex_init':
>../afs/../afs/../rx/../rx/rx_kmutex.h:59: `MUTEX' undeclared (first use
>in this function)

sounds like src/rx/LINUX/rx_kmutex.h didnt get patched, it should look
something like:

...
static inline void afs_mutex_init(afs_kmutex_t *l)
{
#if defined(AFS_LINUX24_ENV)
    init_MUTEX(&l->sem);
#else
    l->sem = MUTEX;
#endif
    l->owner = 0;
}
...