[OpenAFS] Still Compiling on FC6T2 (try again)

Derrick J Brashear shadow@dementia.org
Fri, 18 Aug 2006 13:17:30 -0400 (EDT)


On Fri, 18 Aug 2006, William Murray wrote:

>  OK, 1.5.7 does get further.
>
> /usr/local/src/openafs-1.5.7/src/libafs/MODLOAD-2.6.17-1.2571.fc6-MP/osi_pag_module.c:58: error: conflicting types for 'afs_global_lock'
> /usr/local/src/openafs-1.5.7/src/afs/LINUX/osi_machdep.h:197: error:
> previous declaration of 'afs_global_lock' was here
>
> Does anyone know which is a better bet?

Well, the one where it's declared is going to be right, but I understand 
the problem; You could try changing the one in osi_machdep.h to
extern DECLARE_MUTEX(afs_global_lock);

or if you have newer than 2.6.16,
extern DEFINE_MUTEX(afs_global_lock);