[OpenAFS] Trouble compiling openafs with new FC5 and FC6 kernels
Paul Johnson
pauljohn32@gmail.com
Fri, 16 Mar 2007 22:55:40 -0500
In the website http://www.openafs.org, I do not find any package 1.4.3rc3.
Where is it?? In there, it looks like 1.4.2 is the end of the line.
I did find a development version 1.5.16 and it does compile and install.
However, when I try to start the openafs-client service, I get the
incredibly helpful error message "Some bad or missing file in
/usr/vice/etc". Can somebody tell me if there is a configuration
change in 1.5.X compared to 1.4.2? I can't find any documentation
about it in the tarball.
pj
On 3/16/07, Derrick J Brashear <shadow@dementia.org> wrote:
> 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
> >
>
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas