[OpenAFS] OpenAFS on SPARC

Gessy Caetano da Silva Junior/LCC/UFMG listas_gessy@yahoo.com.br
Mon, 21 Mar 2005 15:38:53 -0300


Hi,

I'm trying compile openafs-1.2.13 on sun ultra1 (sparc64), i'm using 
gentoo linux but there isn't ebuild with support for sparc.
My steps was:

#sparc32 /bin/sh
#./configure --prefix=/usr --host=sparc-unknown-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib 
--with-afs-sysname=sparc64_linux24 --enable-transarc-paths 
--with-kernel-headers=/usr/src/linux --no-recursion

The error is:
+ test yes = yes
+ cd src
+ cd pam
+ make all
In file included from ../linux/wait.h:16,
                 from ../afs/sysincludes.h:51,
                 from ../afs/afs_analyze.c:19:
../linux/spinlock.h:67:1: warning: "atomic_dec_and_lock" redefined
In file included from ../linux/modversions.h:279,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/sparc64_ksyms.ver:44:1: warning: this is the location 
of the previous definition
In file included from ../linux/ext3_fs_sb.h:20,
                 from ../linux/fs.h:716,
                 from ../linux/capability.h:17,
                 from ../linux/binfmts.h:5,
                 from ../linux/sched.h:9,
                 from ../asm/uaccess.h:10,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/timer.h:30:1: warning: "del_timer_sync" redefined
In file included from ../linux/modversions.h:179,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/ksyms.ver:580:1: warning: this is the location of the 
previous definition
In file included from ../linux/sched.h:23,
                 from ../asm/uaccess.h:10,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/smp.h:80:1: warning: "smp_num_cpus" redefined
In file included from ../linux/modversions.h:279,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/sparc64_ksyms.ver:26:1: warning: this is the location 
of the previous definition
In file included from ../linux/sched.h:23,
                 from ../asm/uaccess.h:10,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/smp.h:87:1: warning: "smp_call_function" redefined
In file included from ../linux/modversions.h:279,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/sparc64_ksyms.ver:32:1: warning: this is the location 
of the previous definition
In file included from ../asm/uaccess.h:10,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/sched.h:162:1: warning: "set_cpus_allowed" redefined
In file included from ../linux/modversions.h:179,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/sparc64_ksyms.ver:32:1: warning: this is the location 
of the previous definition
In file included from ../asm/uaccess.h:10,
                 from ../afs/sysincludes.h:65,
                 from ../afs/afs_analyze.c:19:
../linux/sched.h:162:1: warning: "set_cpus_allowed" redefined
In file included from ../linux/modversions.h:179,
                 from ../afs/param.h:38,
                 from ../afs/afs_analyze.c:14:
../linux/modules/ksyms.ver:660:1: warning: this is the location of the 
previous definition
In file included from ../rx/rx.h:38,
                 from ../afs/afsincludes.h:30,
                 from ../afs/afs_analyze.c:35:
../rx/rx_packet.h:45:58: sys/sysmacros.h: No such file or directory
make[4]: *** [afs_analyze.o] Error 1
make[3]: *** [linux_compdirs] Error 2
make[2]: *** [libafs] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2


I do the same things for openafs-1.3.79 and everything works fine.
Is there some problem if I use  the version 1.3.79  or is there 
something that i can do for use some stable version.

Thanks a lot

-- 
 +======================================================+
      .~.    	Gessy Caetano da Silva Júnior			
     / v \   	Laboratório de Computação Científica    	
    /(   )\     LCC/CENAPAD 	Tel: 3499-5389		
     ^^-^^   	Universidade Federal de Minas Gerais	
   GNU/Linux 	      				  	
 +======================================================+