[OpenAFS] Linux 2.6.10?
Matthew Miller
mattdm@mattdm.org
Tue, 4 Jan 2005 10:04:04 -0500
On Tue, Jan 04, 2005 at 10:28:35AM +0100, Hendrik Hoeth wrote:
> I didn't have the time to follow all the discussions recently. Anybody
> managed to run the openafs client on x86 Linux 2.6.10?
I just tried to build it on the most recent Fedora Core errata kernel, and
it fails. That's "2.6.9-1.724_FC3", but it's basically 2.6.9 with large
chunks of 2.6.10 backported (and few distro-specific changes). Presumably,
one of those backported changes breaks things.
This is serious, because that kernel is an update to fix several potential
local root exploits.
Here's the errors I get:
Building in directory: MODLOAD-2.6.9-1.724_FC3-SP
make[4]: Entering directory `~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP'
Makefile.common:50: warning: overriding commands for target `.c.o'
~/openafs-1.3.77/src/config/Makefile.config:132: warning: ignoring old commands for target `.c.o'
env EXTRA_CFLAGS="" .././make_kbuild_makefile.pl MODLOAD-2.6.9-1.724_FC3-SP libafs.ko ~/openafs-1.3.77/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C ~/openafs-1.3.77/kernelheaders/2.6.9-1.724_FC3-i686/build/ M=~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP modules
make[5]: Entering directory `~/openafs-1.3.77/kernelheaders/2.6.9-1.724_FC3-i686/build'
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_atomlist.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_lhash.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_analyze.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_axscache.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_buffer.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_callback.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_cbqueue.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_cell.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_chunk.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_conn.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_daemons.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_dcache.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_dir.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_dynroot.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_init.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_lock.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_mariner.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_memcache.o
CC [M] ~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.o
~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.c: In function `afs_osi_TraverseProcTable':
~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.c:863: error: `TASK_ZOMBIE' undeclared (first use in this function)
~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.c:863: error: (Each undeclared identifier is reported only once
~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.c:863: error: for each function it appears in.)
make[6]: *** [~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP/afs_osi.o] Error 1
make[5]: *** [_module_~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP] Error 2
make[5]: Leaving directory `~/openafs-1.3.77/kernelheaders/2.6.9-1.724_FC3-i686/build'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `~/openafs-1.3.77/src/libafs/MODLOAD-2.6.9-1.724_FC3-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `~/openafs-1.3.77/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `~/openafs-1.3.77'
make[1]: *** [build] Error 2
make[1]: Leaving directory `~/openafs-1.3.77'
make: *** [only_libafs] Error 2
--
Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>