[OpenAFS] OpenAFS 1.4.2 on latest FC5 kernel

Matthew Andrews matt@slackers.net
Tue, 24 Oct 2006 14:11:50 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

errr.... oops. please ignore. I'm greatly embarased to admit that I
didn't notice I was building the wrong rpm(1.4.1, not 1.4.2)


Matthew Andrews wrote:
> Hi,
> 
> Building the openafs kernel module on the latest FC5 kernels fails.
> I am rebuilding the FC5 rpms for the 2.6.18-1.2200.fc5 kernel and see
> the following build failure(sorry about the ugly line wrapping). This
> kernel package was build on Oct 14th, and released no later than October
> 16th(package install date on my machine.)
> 
> the system has a uniprocessor i686(Pentium M) processor.
> 
> I'm not familiar with the rlim field mentioned here, but a brief scan of
>  the kernel headers shipped with this kernel show an rlim member of type
> "struct rlimit[]" in the "struct signal_struct" definition, and there is
> a member of the task struct called "signal" of type "struct
> signal_struct *". is this(task_struct->signal.rlim) the field that the
> is needed?
> 
> looking at the relevant section in osi_machdep.h I see:
> 
> #elif defined (STRUCT_TASK_STRUCT_HAS_SIGNAL_RLIM)
> #define TASK_STRUCT_RLIM signal->rlim
> #else
> #error Not sure what to do about rlim (should be in the Linux task
> struct somewhere....)
> #endif
> 
> which makes me think that yes that's what should be being seen, but
> something in the autoconf detection of this is broken.
> 
> before I keep digging, does this look familiar to anyone?
> 
> -Matt Andrews
> 
> 
>   CC [M]
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD-2.6.18-1.22
> 00.fc5-SP/afs_atomlist.o
> In file included from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/include/afs/param.
> h:34,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD
> -2.6.18-1.2200.fc5-SP/afs_atomlist.c:11:
> include/linux/config.h:6:2: warning: #warning Including config.h is
> deprecated.
>   CC [M]
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD-2.6.18-1.22
> 00.fc5-SP/afs_lhash.o
> In file included from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/include/afs/param.
> h:34,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD
> -2.6.18-1.2200.fc5-SP/afs_lhash.c:11:
> include/linux/config.h:6:2: warning: #warning Including config.h is
> deprecated.
>   CC [M]
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD-2.6.18-1.22
> 00.fc5-SP/afs_analyze.o
> In file included from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/include/afs/param.
> h:34,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD
> -2.6.18-1.2200.fc5-SP/afs_analyze.c:14:
> include/linux/config.h:6:2: warning: #warning Including config.h is
> deprecated.
> In file included from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/afs/afs_osi.h:
> 443,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/rx/rx_clock.h:
> 88,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/rx/rx.h:35,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/afs/afsinclude
> s.h:26,
>                  from
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD
> -2.6.18-1.2200.fc5-SP/afs_analyze.c:36:
> /home/matt/rpmbuild/BUILD/openafs-1.4.1/src/afs/LINUX/osi_machdep.h:55:2:
> error:
>  #error Not sure what to do about rlim (should be in the Linux task
> struct somew
> here....)
> make[6]: ***
> [/home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD-2.6.18-
> 1.2200.fc5-SP/afs_analyze.o] Error 1
> make[5]: ***
> [_module_/home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/MODLOAD
> -2.6.18-1.2200.fc5-SP] Error 2
> make[5]: Leaving directory `/usr/src/kernels/2.6.18-1.2200.fc5-i686'
> make[4]: *** [openafs.ko] Error 2
> make[4]: Leaving directory
> `/home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs/M
> ODLOAD-2.6.18-1.2200.fc5-SP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory
> `/home/matt/rpmbuild/BUILD/openafs-1.4.1/src/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory `/home/matt/rpmbuild/BUILD/openafs-1.4.1'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/matt/rpmbuild/BUILD/openafs-1.4.1'
> make: *** [only_libafs] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.57495 (%build)
> 
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFPoGWpLF3UzlwZVgRAkvFAKC+KiwXdza6tf18BY1mxQMSDPokBACg7Ft1
ZeFAmmQwRQGrwPgH8RRDa9c=
=Z7nH
-----END PGP SIGNATURE-----