[OpenAFS] Gentoo amd64: OpenAFS 1.4.1-rc6
Russ Allbery
rra@stanford.edu
Thu, 23 Feb 2006 15:31:16 -0800
Jason McCormick <jasonmc@cert.org> writes:
> Hans-Gunther Borrmann wrote:
>> I just tried to compile 1.4.1-rc6 under Gentoo. The compilation stops
>> with the following error(s):
>>
>> In file included
>> from /root/openafs/openafs-1.4.1-rc6/src/libafs/MODLOAD-2.6.12-MP/osi_module.c:42:
>> include/linux/seq_file.h:43: warning: `printk' is an unrecognized format
>> function type
> I'm (finally) testing the 1.4.1 RC8 release and I'm encountering this on
> Red Hat Enterprise 4AS for x86_64 platforms. Anyone have a fix yet?
Could you try the following patch and let me know if this fixes it?
Please let me know if it does.
Index: src/afs/LINUX/osi_module.c
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_module.c,v
retrieving revision 1.72
diff -u -p -r1.72 osi_module.c
--- src/afs/LINUX/osi_module.c 14 Jan 2006 08:00:01 -0000 1.72
+++ src/afs/LINUX/osi_module.c 23 Feb 2006 23:29:52 -0000
@@ -634,6 +634,8 @@ afs_ioctl(struct inode *inode, struct fi
#ifdef AFS_LINUX26_ENV
#ifdef AFS_S390X_LINUX26_ENV
if (test_thread_flag(TIF_31BIT))
+#elif AFS_AMD64_LINUX20_ENV
+ if (test_thread_flag(TIF_IA32))
#else
if (test_thread_flag(TIF_32BIT))
#endif /* AFS_S390X_LINUX26_ENV */
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>