[OpenAFS] Build failure on ia64

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Thu, 03 Mar 2005 09:37:53 -0500


In message <Pine.SOL.4.44.0503031519360.21759-100000@campfire.rrz.Uni-Koeln.DE>
,Stephan Wonczak writes:
>/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/LINUX/osi_syscall.c:258:
>`_NR_setgroups' undeclared (first use in this function)

try this.  i believe i have already submitted this to openafs-bugs.  it
didnt make the 1.3.79 release.

--- src/afs/LINUX/osi_syscall.c.000	2005-03-03 09:36:35.000000000 -0500
+++ src/afs/LINUX/osi_syscall.c	2005-03-03 09:36:51.000000000 -0500
@@ -255,7 +255,7 @@
 	    SYSCALL2POINTER afs_sys_call_table[_S(__NR_setgroups)];
 	((struct fptr *)sys_setgroupsp)->gp = kernel_gp;
 
-	afs_sys_call_table[_S(_NR_setgroups)] =
+	afs_sys_call_table[_S(__NR_setgroups)] =
 	    POINTER2SYSCALL((struct fptr *)afs_xsetgroups_stub)->ip;
     }