[OpenAFS] Build failure on ia64

Stephan Wonczak a0033@rrz.uni-koeln.de
Thu, 3 Mar 2005 16:34:53 +0100 (MET)


  Hi Chas!

On Thu, 3 Mar 2005, chas williams - CONTRACTOR wrote:

> 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;
>      }

  Yes, this got me a bit further. But not quite to the finish line :-)
  Here's the next error:

cc -I. -I.. -I../nfs -I/service/openafs/source-1.3.79/openafs-1.3.79/src
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/afs
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/LINUX
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/config
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rx/LINUX
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rxkad
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rxkad/domestic
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/util
-I/service/openafs/source-1.3.79/openafs-1.3.79/src
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/afs
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/LINUX
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/util
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rxkad
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/config
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/fsint
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/vlserver
-I/service/openafs/source-1.3.79/openafs-1.3.79/include
-I/service/openafs/source-1.3.79/openafs-1.3.79/include/afs   -O2  -O2
-fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common
-pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32
-mb-step -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE  -I. -I../
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/config
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rx
-I/service/openafs/source-1.3.79/openafs-1.3.79/src/rxstat -c
/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/afs_analyze.c
In file included from ../asm/uaccess.h:36,
                 from
/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/sysincludes.h:84,
                 from
/service/openafs/source-1.3.79/openafs-1.3.79/src/afs/afs_analyze.c:20:
../asm/pgtable.h: In function `ptep_get_and_set':
../asm/pgtable.h:400: incompatible types in assignment
make[4]: *** [afs_analyze.o] Error 1
make[4]: Leaving directory
`/service/openafs/source-1.3.79/openafs-1.3.79/src/libafs/MODLOAD-2.4.21-sgi301r1-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/service/openafs/source-1.3.79/openafs-1.3.79/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/service/openafs/source-1.3.79/openafs-1.3.79'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/service/openafs/source-1.3.79/openafs-1.3.79'
make: *** [all] Error 2

  Any more suggestions? I'll try any patches!

	Dipl. Chem. Dr. Stephan Wonczak

        Zentrum fuer Angewandte Informatik (ZAIK)
        Regionales Rechenzentrum der Universitaet zu Koeln (RRZK)
        Universitaet zu Koeln, Robert-Koch-Strasse 10, 50931 Koeln
        Tel: ++49/(0)221/478-5577, Fax: ++49/(0)221/478-5590