[Gluster-users] fuse-2.7.3glfs10 - Ubuntu compilation problem.
Daniel Maher
dma+gluster at witbe.net
Thu Mar 19 09:08:46 UTC 2009
Konstantin A. Lepikhov wrote:
>> Konstantin,
>>
>> Clearly as you can see there are serious API differences against openvz
>> kernel from Ubuntu with i think normal general Ubuntu kernel release. Can
>> you check if module compiles fine with "2.6.24-21-generic" ? if yes we need
>> to look at the API changes which openvz patches bring it.
>>
>> Regards
> I got the same result with latest -generic:
>
> lakostis at yahardy64:~/fuse/fuse-2.7.3glfs10$ make
> Making all in kernel
> make[1]: Entering directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel'
> make -C /usr/src/linux-headers-2.6.24-21-generic SUBDIRS=`pwd` modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
> CC [M] /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dev.o
> CC [M] /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o
> /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c: In function 'iattr_to_fattr':
> /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c:1027: error: 'struct iattr' has no member named 'ia_file'
> make[3]: *** [/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o] Error 1
> make[2]: *** [_module_/home/lakostis/fuse/fuse-2.7.3glfs10/kernel] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
> make[1]: *** [all-spec] Error 2
> make[1]: Leaving directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel'
> make: *** [all-recursive] Error 1
>
> It's not ubuntu API changes actually (see
> https://lists.ubuntu.com/archives/kernel-team/2008-July/002904.html)
> suspect all Apparmor-depended kernels suffer from this patch :)
I get the same error in the latest (-23) -generic release as well :
dma at dma-laptop:~/temp/fuse-2.7.3glfs10$ lsb_release -d
Description: Ubuntu 8.04.2
dma at dma-laptop:~/temp/fuse-2.7.3glfs10$ uname -a
Linux dma-laptop 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009
i686 GNU/Linux
dma at dma-laptop:~/temp/fuse-2.7.3glfs10$ make
Making all in kernel
make[1]: Entering directory `/home/dma/temp/fuse-2.7.3glfs10/kernel'
make -C /usr/src/linux-headers-2.6.24-23-generic SUBDIRS=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-23-generic'
CC [M] /home/dma/temp/fuse-2.7.3glfs10/kernel/dev.o
CC [M] /home/dma/temp/fuse-2.7.3glfs10/kernel/dir.o
/home/dma/temp/fuse-2.7.3glfs10/kernel/dir.c: In function ‘iattr_to_fattr’:
/home/dma/temp/fuse-2.7.3glfs10/kernel/dir.c:1027: error: ‘struct iattr’
has no member named ‘ia_file’
make[3]: *** [/home/dma/temp/fuse-2.7.3glfs10/kernel/dir.o] Error 1
make[2]: *** [_module_/home/dma/temp/fuse-2.7.3glfs10/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
make[1]: *** [all-spec] Error 2
make[1]: Leaving directory `/home/dma/temp/fuse-2.7.3glfs10/kernel'
make: *** [all-recursive] Error 1
dma at dma-laptop:~/temp/fuse-2.7.3glfs10$
--
Daniel Maher <dma+gluster AT witbe DOT net>
More information about the Gluster-users
mailing list