[OpenAFS] Trouble compiling openafs with new FC5 and FC6 kernels

Derrick J Brashear shadow@dementia.org
Fri, 16 Mar 2007 20:05:18 -0400 (EDT)


I don't suppose you tried 1.4.3rc3?

On Fri, 16 Mar 2007, Paul Johnson wrote:

> I've been using the stable openafs-1.4.2 for some time and have not
> had so much difficulty compiling it.  For about 2 months, I've been
> using a patch that stops openafs from looking for config.h in the
> linux source, and that was the only change needed.
>
> Today, security updates for fc5 AND fc6 were released and in both of
> them, I cannot build the openafs kernel module.  Here's the end where
> the error causes the build to stop.
>
> Have you seen this? know a fix?
>
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:
> In function 'afs_mutex_enter':
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:48:
> warning: format '%x' expects type 'unsigned int', but argument 2 has
> type 'struct afs_kmutex_t *'
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:
> In function 'afs_mutex_exit':
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:69:
> warning: format '%x' expects type 'unsigned int', but argument 2 has
> type 'struct afs_kmutex_t *'
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:
> In function 'afs_cv_wait':
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:122:
> error: 'struct task_struct' has no member named 'todo'
> /home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.c:128:
> error: implicit declaration of function 'refrigerator'
> make[6]: *** 
> [/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP/rx_kmutex.o]
> Error 1
> make[5]: *** 
> [_module_/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP]
> Error 2
> make[5]: Leaving directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
> make[4]: *** [openafs.ko] Error 2
> make[4]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.20-1.2300.fc5-SP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2/src/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/openafs-1.4.2'
> make: *** [only_libafs] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.91831 (%build)
>
>
> -- 
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>