[OpenAFS] Still Compiling on FC6T2 (try again)
Derrick J Brashear
Fri, 18 Aug 2006 13:20:55 -0400 (EDT)
On Fri, 18 Aug 2006, Derrick J Brashear wrote:
> On Fri, 18 Aug 2006, William Murray wrote:
>> OK, 1.5.7 does get further.
>> 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);
Ah, the diff chas sent (which I applied to CVS before I noticed his mail)
might in fact do it. It didn't occur to me that that was the issue.