Re: Problem in building Ceph on CentOS 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, March 19, 2012 at 11:21 PM, 胡瀚森 wrote:
> Hello everyone.
>  
> I'm following the steps in
> http://ceph.newdream.net/wiki/Building_kernel_client?TPSecNotice&TPNotCheck
> to build ceph on my CentOS.
>  
> I've updated my kernel to version 3.2.12 without selecting any ceph
> related configuration options. Then I follow these steps until "$ make
> -C ceph".

If you're using such a new kernel version, why not just the built-in version of Ceph?

If you don't want to do that, what branch are you attempting to build from? What's the most recent patch?
The backports etc stuff isn't real well-maintained right now but this and the build error should let our kernel devs figure out what's going on.
-Greg
  
>  
> I get the following error message.
>  
>  
> > [deltamaster@localhost ceph-client-standalone]$ sudo make -C ceph
> > make: Entering directory `/home/deltamaster/ceph-client-standalone/ceph'
> > make -C /lib/modules/3.2.12/build M=/home/deltamaster/ceph-client-standalone/ceph CONFIG_CEPH_FS=m modules
> > make[1]: Entering directory `/usr/src/linux-3.2.12'
> > CC [M] /home/deltamaster/ceph-client-standalone/ceph/inode.o
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:95: warning: initialization from incompatible pointer type
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c: In function ‘fill_inode’:
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:623: error: assignment of read-only member ‘i_nlink’
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c: In function ‘ceph_permission’:
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: ‘IPERM_FLAG_RCU’ undeclared (first use in this function)
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: (Each undeclared identifier is reported only once
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: for each function it appears in.)
> > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1816: error: too many arguments to function ‘generic_permission’
> > make[2]: *** [/home/deltamaster/ceph-client-standalone/ceph/inode.o] Error 1
> > make[1]: *** [_module_/home/deltamaster/ceph-client-standalone/ceph] Error 2
> > make[1]: Leaving directory `/usr/src/linux-3.2.12'
> > make: *** [all] Error 2
> > make: Leaving directory `/home/deltamaster/ceph-client-standalone/ceph'
>  
>  
>  
> I've no idea how to solve this.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx (mailto:majordomo@xxxxxxxxxxxxxxx)
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux