[OpenAFS] any luck with redhat 9?

Derek Atkins warlord@MIT.EDU
16 Apr 2003 20:26:03 -0400


This is fixed in OpenAFS-1.2.9, and RH9 RPMs will be available.

-derek

"Brian J. Smith-Sweeney" <bsweeney@physics.ucsb.edu> writes:

> Hey all-
> 
> I've just joined this mailing list in the hopes of getting some more
> information regarding openafs, which we're hoping to put into production
> soon.  Our original plan was to use a RH7.x box, but with redhat's new
> rather unpleasant EOL policy we're trying to use RH9 if possible.
> 
> Unfortunately I haven't yet gotten the openafs source (1.2.8 or 1.3.2)
> to compile.  I've seen some postings regarding past kernels and other
> issues (gcc 3.2.2) which got me through the first few errors.  The first
> patch was for the errno problems, the second was for an if vs ifdef
> issue with CONFIG_SMP in param.i386_linux24.h, and the third was to
> remove the -I/usr/src/include line from the makefile in src/pam, all of
> which were posted to this list.  But this last one has me stumped. 
> Here's the tail-end of my make:
> 
> 
> gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
> -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ 
> -DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_UP=0
> -D__BOOT_KERNEL_SMP=1   -I. -I../ -I/tmp/openafs-1.3.2/src/config -c
> ../afs/afs_vnop_fid.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
> -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ 
> -DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_UP=0
> -D__BOOT_KERNEL_SMP=1   -I. -I../ -I/tmp/openafs-1.3.2/src/config -c
> ../afs/afs_vnop_flock.c
> cc1: warning: -malign-loops is obsolete, use -falign-loops
> cc1: warning: -malign-jumps is obsolete, use -falign-jumps
> cc1: warning: -malign-functions is obsolete, use -falign-functions
> ../afs/afs_vnop_flock.c: In function `lockIdcmp2':
> ../afs/afs_vnop_flock.c:179: structure has no member named `p_opptr'
> make[4]: *** [afs_vnop_flock.o] Error 1
> make[4]: Leaving directory
> `/tmp/openafs-1.3.2/src/libafs/MODLOAD-2.4.20-9-MP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory `/tmp/openafs-1.3.2/src/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory `/tmp/openafs-1.3.2'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/tmp/openafs-1.3.2'
> make: *** [all] Error 2
> 
> This is on a fully-patched redhat 9 box, ie kernel 2.4.20-9 and
> gcc-3.2.2-5, trying to compile 1.3.2.  Any suggestions? Has anyone else
> had any luck getting 1.2.8 or 1.3.2 to work under RH9?
> 
> -Brian
> 
> -- 
> =======================================
> Brian Smith-Sweeney
> Senior Systems Administrator
> University of California, Santa Barbara
> Physics Department
> bsweeney@physics.ucsb.edu
> ========================================
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available