[Gluster-users] fuse-2.7.3glfs10 - Ubuntu compilation problem.

Konstantin A. Lepikhov lakostis at unsafe.ru
Wed Mar 18 21:02:33 UTC 2009


Hi Harshavardhana!

Wednesday 18, at 07:50:56 PM you 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 :)

-- 
WBR et al.




More information about the Gluster-users mailing list