[Gluster-users] fuse-2.7.3glfs10 - Ubuntu compilation problem.
harsha at zresearch.com
Thu Mar 19 09:34:53 UTC 2009
Yeah with further investigation i found that iattr structure for ubuntu
the member named
" struct file *ia_file; "
I guess now the problem is really inside ubuntu API changes for their
own kernels. More or less looking into the kernel source from the
it seems to be modified extensively. So i guess choice is here to only
kernel module from the ubuntu stock itself.
Z Research Inc - http://www.zresearch.com
On Thu, Mar 19, 2009 at 2:32 AM, Konstantin A. Lepikhov
<lakostis at unsafe.ru>wrote:
> Hi Harshavardhana!
> Wednesday 18, at 07:50:56 PM you wrote:
> > Konstantin,
> > Clearly as you can see there are serious API differences against
> > 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
> > 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: 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: 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
> /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c:1027: error: 'struct
> iattr' has no member named 'ia_file'
> make: *** [/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o] Error 1
> make: *** [_module_/home/lakostis/fuse/fuse-2.7.3glfs10/kernel] Error 2
> make: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
> make: *** [all-spec] Error 2
> make: Leaving directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel'
> make: *** [all-recursive] Error 1
> It's not ubuntu API changes actually (see
> suspect all Apparmor-depended kernels suffer from this patch :)
> WBR et al.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users