Re: [Ocfs2-users] ocfs2-1.4.7 is not binding in scientific linux 6.2

2012-03-12 Thread Sunil Mushran
ocfs2 1.4 will not build with 2.6.32. A better solution is to
just enable ocfs2 in the 2.6.32 kernel src tree and build.

On 03/11/2012 07:37 AM, зоррыч wrote:
 Hi.

 I use scientific linux 6.2:

 [root@noc-1-m77 ocfs2-1.4.7]# cat /etc/redhat-release

 Scientific Linux release 6.2 (Carbon)

 [root@noc-1-m77 ocfs2-1.4.7]# uname -r

 2.6.32-220.4.1.el6.x86_64

 Does not compile:

 [root@noc-1-m77 ocfs2-1.4.7]# ./configure
 --with-kernel=/usr/src/kernels/2.6.32-220.7.1.el6.x86_64

 checking build system type... x86_64-unknown-linux-gnu

 checking host system type... x86_64-unknown-linux-gnu

 checking for gcc... gcc

 checking for C compiler default output file name... a.out

 checking whether the C compiler works... yes

 checking whether we are cross compiling... no

 checking for suffix of executables...

 checking for suffix of object files... o

 checking whether we are using the GNU C compiler... yes

 checking whether gcc accepts -g... yes

 checking for gcc option to accept ANSI C... none needed

 checking how to run the C preprocessor... gcc -E

 checking for a BSD-compatible install... /usr/bin/install -c

 checking whether ln -s works... yes

 checking for egrep... grep -E

 checking for ANSI C header files... yes

 checking for an ANSI C-conforming const... yes

 checking for vendor... not found

 checking for vendor kernel... not supported

 checking for debugging... no

 checking for directory with kernel build tree...
 /usr/src/kernels/2.6.32-220.7.1.el6.x86_64

 checking for kernel version... 2.6.32-220.7.1.el6.x86_64

 checking for directory with kernel sources...
 /usr/src/kernels/2.6.32-220.7.1.el6.x86_64

 checking for kernel source version... 2.6.32-220.7.1.el6.x86_64

 checking for struct delayed_work in workqueue.h... yes

 checking for uninitialized_var() in compiler-gcc4.h... yes

 checking for zero_user_page() in highmem.h... no

 checking for do_sync_mapping_range() in fs.h... yes

 checking for fault() in struct vm_operations_struct in mm.h... yes

 checking for f_path in fs.h... yes

 checking for enum umh_wait in kmod.h... yes

 checking for inc_nlink() in fs.h... yes

 checking for drop_nlink() in fs.h... yes

 checking for kmem_cache_create() with dtor arg in slab.h... no

 checking for kmem_cache_zalloc in slab.h... yes

 checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes

 checking for enum FS_OCFS2 in sysctl.h... yes

 checking for configfs_depend_item() in configfs.h... yes

 checking for register_sysctl() with two args in sysctl.h... no

 checking for su_mutex in struct configfs_subsystem in configfs.h... yes

 checking for struct subsystem in kobject.h... no

 checking for is_owner_or_cap() in fs.h... yes

 checking for fallocate() in fs.h... yes

 checking for struct splice_desc in splice.h... yes

 checking for MNT_RELATIME in mount.h... yes

 checking for should_remove_suid() in fs.h... no

 checking for generic_segment_checks() in fs.h... no

 checking for s_op declared as const in struct super_block in fs.h... yes

 checking for i_op declared as const in struct inode in fs.h... yes

 checking for f_op declared as const in struct file in fs.h... yes

 checking for a_ops declared as const in struct address_space in fs.h... yes

 checking for aio_read() in struct file_operations using iovec in fs.h... yes

 checking for __splice_from_pipe() in splice.h... yes

 checking for old bio_end_io_t in bio.h... no

 checking for b_size is u32 struct buffer_head in buffer_head.h... no

 checking for exportfs.h... yes

 checking for linux/lockdep.h... yes

 checking for mandatory_lock() in fs.h... yes

 checking for range prefix in struct writeback_control... yes

 checking for SYNC_FILE_RANGE flags... yes

 checking for blkcnt_t in types.h... yes

 checking for i_private in struct inode... yes

 checking for page_mkwrite in struct vm_operations_struct... no

 checking for get_sb_bdev() with 5 arguments in fs.h... no

 checking for read_mapping_page in pagemap.h... yes

 checking for ino_t in filldir_t in fs.h... no

 checking for invalidatepage returning int in fs.h... no

 checking for get_blocks_t type... no

 checking for linux/uaccess.h... yes

 checking for system_utsname in utsname.h... no

 checking for MS_LOOP_NO_AOPS flag defined... no

 checking for fops-sendfile() in fs.h... no

 checking for task_pid_nr in sched.h... yes

 checking for confirm() in struct pipe_buf_operations in pipe_fs_i.h... yes

 checking for mutex_lock_nested() in mutex.h... yes

 checking for inode_double_lock) in fs.h... no

 checking for splice_read() in fs.h... yes

 checking for sops-statfs takes struct super_block * in fs.h... no

 checking for le16_add_cpu() in byteorder/generic.h... yes

 checking for le32_add_cpu() in byteorder/generic.h... yes

 checking for le64_add_cpu() in byteorder/generic.h... yes

 checking for be32_add_cpu() in byteorder/generic.h... yes

 checking for clear_nlink() in fs.h... yes

 configure: creating ./config.status

 config.status: creating Config.make

 

[Ocfs2-users] ocfs2-1.4.7 is not binding in scientific linux 6.2

2012-03-11 Thread зоррыч
Hi.

I use scientific linux 6.2:

[root@noc-1-m77 ocfs2-1.4.7]# cat /etc/redhat-release

Scientific Linux release 6.2 (Carbon)

 

[root@noc-1-m77 ocfs2-1.4.7]# uname -r

2.6.32-220.4.1.el6.x86_64

 

 

Does not compile:

[root@noc-1-m77 ocfs2-1.4.7]# ./configure
--with-kernel=/usr/src/kernels/2.6.32-220.7.1.el6.x86_64

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking how to run the C preprocessor... gcc -E

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for an ANSI C-conforming const... yes

checking for vendor... not found

checking for vendor kernel... not supported

checking for debugging... no

checking for directory with kernel build tree...
/usr/src/kernels/2.6.32-220.7.1.el6.x86_64

checking for kernel version... 2.6.32-220.7.1.el6.x86_64

checking for directory with kernel sources...
/usr/src/kernels/2.6.32-220.7.1.el6.x86_64

checking for kernel source version... 2.6.32-220.7.1.el6.x86_64

checking for struct delayed_work in workqueue.h... yes

checking for uninitialized_var() in compiler-gcc4.h... yes

checking for zero_user_page() in highmem.h... no

checking for do_sync_mapping_range() in fs.h... yes

checking for fault() in struct vm_operations_struct in mm.h... yes

checking for f_path in fs.h... yes

checking for enum umh_wait in kmod.h... yes

checking for inc_nlink() in fs.h... yes

checking for drop_nlink() in fs.h... yes

checking for kmem_cache_create() with dtor arg in slab.h... no

checking for kmem_cache_zalloc in slab.h... yes

checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes

checking for enum FS_OCFS2 in sysctl.h... yes

checking for configfs_depend_item() in configfs.h... yes

checking for register_sysctl() with two args in sysctl.h... no

checking for su_mutex in struct configfs_subsystem in configfs.h... yes

checking for struct subsystem in kobject.h... no

checking for is_owner_or_cap() in fs.h... yes

checking for fallocate() in fs.h... yes

checking for struct splice_desc in splice.h... yes

checking for MNT_RELATIME in mount.h... yes

checking for should_remove_suid() in fs.h... no

checking for generic_segment_checks() in fs.h... no

checking for s_op declared as const in struct super_block in fs.h... yes

checking for i_op declared as const in struct inode in fs.h... yes

checking for f_op declared as const in struct file in fs.h... yes

checking for a_ops declared as const in struct address_space in fs.h... yes

checking for aio_read() in struct file_operations using iovec in fs.h... yes

checking for __splice_from_pipe() in splice.h... yes

checking for old bio_end_io_t in bio.h... no

checking for b_size is u32 struct buffer_head in buffer_head.h... no

checking for exportfs.h... yes

checking for linux/lockdep.h... yes

checking for mandatory_lock() in fs.h... yes

checking for range prefix in struct writeback_control... yes

checking for SYNC_FILE_RANGE flags... yes

checking for blkcnt_t in types.h... yes

checking for i_private in struct inode... yes

checking for page_mkwrite in struct vm_operations_struct... no

checking for get_sb_bdev() with 5 arguments in fs.h... no

checking for read_mapping_page in pagemap.h... yes

checking for ino_t in filldir_t in fs.h... no

checking for invalidatepage returning int in fs.h... no

checking for get_blocks_t type... no

checking for linux/uaccess.h... yes

checking for system_utsname in utsname.h... no

checking for MS_LOOP_NO_AOPS flag defined... no

checking for fops-sendfile() in fs.h... no

checking for task_pid_nr in sched.h... yes

checking for confirm() in struct pipe_buf_operations in pipe_fs_i.h... yes

checking for mutex_lock_nested() in mutex.h... yes

checking for inode_double_lock) in fs.h... no

checking for splice_read() in fs.h... yes

checking for sops-statfs takes struct super_block * in fs.h... no

checking for le16_add_cpu() in byteorder/generic.h... yes

checking for le32_add_cpu() in byteorder/generic.h... yes

checking for le64_add_cpu() in byteorder/generic.h... yes

checking for be32_add_cpu() in byteorder/generic.h... yes

checking for clear_nlink() in fs.h... yes

configure: creating ./config.status

config.status: creating Config.make

config.status: creating vendor/rhel5/ocfs2.spec-generic

config.status: creating vendor/suse-kmp/ocfs2.spec-generic

 

 

[root@noc-1-m77 ocfs2-1.4.7]# make

make: Warning: File `Versioning.make' has modification time 8.1e+07 s in the
future

make