[Lustre-discuss] Lustre 2.3 for Kernel 2.6.34

Alfonso Pardo alfonso.pardo at ciemat.es
Thu Feb 14 08:51:10 UTC 2013


I am sending you a LOG of “configure” and “make”

From: Alfonso Pardo 
Sent: Wednesday, February 13, 2013 9:48 AM
To: Dilger, Andreas ; lustre-discuss at lists.lustre.org ; WC-Discuss 
Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34

Thanks Andreas,

I am compiling lustre without path the kernel source code. But I got other errors:

1) make the vanilla kernel 2.6.34 without lustre patch from my .config configurator kernel file
2) In lustre directory:
#> sh ./autogen.sh
#> ./configure --disable-server --enable-client --with-linux=/root/linux-2.6.34
#> make

In file included from /root/lustre-release/libcfs/include/libcfs/linux/libcfs.h:51,
                 from /root/lustre-release/libcfs/include/libcfs/libcfs.h:49,
                 from /root/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:40:
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:144: error: expected â=â, â,â, â;â, âasmâ or â__attribute     __â before âcfs_mem_cache_tâ
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:146: error: expected â=â, â,â, â;â, âasmâ or â__attribute     __â before â*â token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:147: error: expected â)â before â*â token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:148: error: expected â)â before â*â token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:149: error: expected â)â before â*â token
cc1: warnings being treated as errors
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: type defaults to âintâ in declaration of âcfs     _mem_cache_tâ
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: expected â;â, â,â or â)â before â*â token
make[6]: *** [/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 1
make[5]: *** [/root/lustre-release/libcfs/libcfs] Error 2
make[4]: *** [/root/lustre-release/libcfs] Error 2
make[3]: *** [_module_/root/lustre-release] Error 2
make[3]: Leaving directory `/root/linux-2.6.34.14'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/lustre-release'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lustre-release'
make: *** [all] Error 2



-----Mensaje original----- 
From: Dilger, Andreas 
Sent: Wednesday, February 13, 2013 2:13 AM 
To: Alfonso Pardo ; lustre-discuss at lists.lustre.org ; WC-Discuss 
Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34 

On 2013/12/02 7:16 AM, "Alfonso Pardo" <alfonso.pardo at ciemat.es> wrote:

>Hello,
> 
>I am trying to compile lustre client 2.3 (2.2 same problem) for kernel
>2.6.34. I need to use this kernel, got from
>www.kernel.org <http://www.kernel.org>, because my clients need ACPI
>modules, and only this kernel version is compatible with my servers
>(ACPI).

If you only need 2.6.34 clients, then you don't need to patch the kernel
at all.
If you need ACPI support for your hardware, then I suspect that the RHEL6
2.6.32
kernel will have back-ported the support required for your hardware, and
you
should just use the RHEL6 server kernel.

Cheers, Andreas

>I got erros when I apply patches to the kernel with ³quilt push ­av²
> 
>Brief:
> 
>0) Machine Centos 6.2
>1) Kernel version 2.6.34
>2) Lustre software from git repository:
>[root at bc linux-2.6.34.14]# git clone
>git://git.whamcloud.com/fs/lustre-release.git
>[root at bc linux-2.6.34.14]# cd lustre-release
>[root at bc linux-2.6.34.14]# sh ./autogen.sh
>3) And from my kernel soruce code directory:
>[root at bc linux-2.6.34.14]# ln -s
>~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series series
>[root at bc linux-2.6.34.14]# ln -s
>~/lustre-release/lustre/kernel_patches/patches patches
>[root at bc linux-2.6.34.14]# quilt push -av
>Applying patch patches/lustre_version.patch
>patching file include/linux/lustre_version.h
> 
>Applying patch patches/mpt-fusion-max-sge-rhel6.patch
>patching file drivers/message/fusion/Kconfig
>patching file drivers/message/fusion/mptbase.h
> 
>Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch
>patching file drivers/md/raid5.c
>Hunk #1 FAILED at 2177.
>Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines).
>1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c
>Restoring drivers/md/raid5.c
>Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply (enforce
>with -f)
>Restoring drivers/md/raid5.c
> 
>Any idea?
> 
> 
>Thanks in advance!!!!!
> 
> 
> 
>


Cheers, Andreas
-- 
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division




--------------------------------------------------------------------------------
_______________________________________________
Lustre-discuss mailing list
Lustre-discuss at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss_lists.lustre.org/attachments/20130214/6e28c644/attachment.html>
-------------- next part --------------
[root at bc-p18-01 lustre-release]# make

test -d CVS || exit 0; \
        list=""; for mod in $list; do \
          perl ./build/kabi -v archive $HOME/nonfree $mod || exit $?; \
        done
make  all-recursive
make[1]: Entering directory `/root/lustre-release'
Making all in .
make[2]: Entering directory `/root/lustre-release'
for dir in libcfs lnet lustre ; do \
                make sources -C $dir || exit $? ; \
        done
make[3]: Entering directory `/root/lustre-release/libcfs'
make sources -C libcfs
make[4]: Entering directory `/root/lustre-release/libcfs/libcfs'
make[4]: Nothing to be done for `sources'.
make[4]: Leaving directory `/root/lustre-release/libcfs/libcfs'
make[3]: Leaving directory `/root/lustre-release/libcfs'
make[3]: Entering directory `/root/lustre-release/lnet'
make[3]: Nothing to be done for `sources'.
make[3]: Leaving directory `/root/lustre-release/lnet'
make[3]: Entering directory `/root/lustre-release/lustre'
make sources -C lvfs
make[4]: Entering directory `/root/lustre-release/lustre/lvfs'
make[4]: Nothing to be done for `sources'.
make[4]: Leaving directory `/root/lustre-release/lustre/lvfs'
make sources -C obdclass
make[4]: Entering directory `/root/lustre-release/lustre/obdclass'
make[4]: Nothing to be done for `sources'.
make[4]: Leaving directory `/root/lustre-release/lustre/obdclass'
perl ../lustre/scripts/version_tag.pl .. .. > tmpver
echo "#define LUSTRE_RELEASE 2.6.34.14_g25a1427" >> tmpver
cmp -s ../lustre/include/lustre/lustre_build_version.h tmpver > tmpdiff 2> /dev/null &&         \
                rm -f tmpver tmpdiff ||                                 \
                mv -f tmpver ../lustre/include/lustre/lustre_build_version.h
make[3]: Leaving directory `/root/lustre-release/lustre'
make  CC="ccache gcc" -C /lib/modules/2.6.34.14/build                \
        -f /root/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/lib/modules/2.6.34.14/build/.config \
        LINUXINCLUDE='-I/lib/modules/2.6.34.14/source/include -I$(srctree)/arch/$(SRCARCH)/include -Iinclude $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) -include include/generated/autoconf.h' \
        M=/root/lustre-release -o tmp_include_depends -o scripts -o \
        include/config/MARKER modules
make[3]: Entering directory `/root/linux-2.6.34.14'
  LD      /root/lustre-release/libcfs/libcfs/built-in.o
  CC [M]  /root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o
In file included from <command-line>:0:
/root/lustre-release/config.h:5:1: error: "AUTOCONF_INCLUDED" redefined
In file included from <command-line>:0:
./include/generated/autoconf.h:6:1: error: this is the location of the previous definition
In file included from /root/lustre-release/libcfs/include/libcfs/linux/libcfs.h:51,
                 from /root/lustre-release/libcfs/include/libcfs/libcfs.h:49,
                 from /root/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:40:
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:144: error: expected �=�, �,�, �;�, �asm� or �__attribute__� before �cfs_mem_cache_t�
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:146: error: expected �=�, �,�, �;�, �asm� or �__attribute__� before �*� token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:147: error: expected �)� before �*� token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:148: error: expected �)� before �*� token
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:149: error: expected �)� before �*� token
cc1: warnings being treated as errors
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: type defaults to �int� in declaration of �cfs_mem_cache_t�
/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: expected �;�, �,� or �)� before �*� token
make[6]: *** [/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 1
make[5]: *** [/root/lustre-release/libcfs/libcfs] Error 2
make[4]: *** [/root/lustre-release/libcfs] Error 2
make[3]: *** [_module_/root/lustre-release] Error 2
make[3]: Leaving directory `/root/linux-2.6.34.14'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/lustre-release'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lustre-release'
make: *** [all] Error 2
-------------- next part --------------
./configure --disable-server --with-linux=/root/linux-2.6.34


checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... ccache 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 ccache gcc accepts -g... yes
checking for ccache gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of ccache gcc... gcc3
checking how to run the C preprocessor... ccache gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... no
checking for buildid... g25a1427 (ahead by 2 commits)
checking whether to build Cray XT3 features... no
checking whether to build BGL features... no
checking for ranlib... ranlib
checking for buggy compiler... no known problems
checking size of unsigned long long... 8
---> size SIZEOF
---> size SIZEOF 8
checking whether to enable uoss... no
checking whether to enable posix osd... no
checking whether to build docs... no
checking whether to build utilities... yes
checking whether to install init scripts... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre server support... no
checking whether to build Lustre client support... yes
checking whether to enable split support... no
checking whether to enable CDEBUG, CWARN... yes
checking whether to enable ENTRY/EXIT... yes
checking whether to enable LASSERT, LASSERTF... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking whether to build kernel modules... yes (linux-gnu)
/root/linux-2.6.34.14
/root/linux-2.6.34.14
checking for Linux sources... /lib/modules/2.6.34.14/source
checking for /lib/modules/2.6.34.14/source... yes
checking for Linux objects dir... /lib/modules/2.6.34.14/build
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /lib/modules/2.6.34.14/build/.config... yes
checking for /lib/modules/2.6.34.14/build/include/linux/autoconf.h... no
checking for /lib/modules/2.6.34.14/build/include/generated/autoconf.h... yes
checking for /lib/modules/2.6.34.14/build/include/linux/version.h... yes
checking if you are running user mode linux for x86_64... no (asm-um missing)
checking for /lib/modules/2.6.34.14/source/include/linux/namei.h... yes
checking if you are using Linux 2.6... yes
checking for external module build support... yes
checking that modules can be built at all... yes
checking for Linux release... 2.6.34.14
checking for Lustre release... 2.6.34.14_g25a1427
checking that RedHat kernel... no
checking if Linux was built with CONFIG_SUSE_KERNEL... no
checking Linux kernel architecture... x86_64
checking name of module symbol version file... Module.symvers
checking if Linux was built with CONFIG_MODULES... yes
checking if Linux was built with CONFIG_MODVERSIONS... yes
checking if Linux was built with CONFIG_KALLSYMS... yes
checking if kernel module loading is possible... yes
checking whether to use any OFED backport headers... no
checking if kernel defines cpu_online()... yes
checking if kernel defines gfp_t... yes
checking for tunable panic_dumplog support... no
checking if Linux was built with symbol show_task exported... no
checking if Linux was built with symbol sched_show_task exported... no
checking kernel __u64 is long long type... no
checking if task_struct has a rcu field... yes
checking if Linux was built with symbol tasklist_lock exported... no
checking if is_compat_task() is declared... yes
checking if netlink.h can be compiled... yes
checking if nlmsg_new takes a 2nd argument... yes
checking nlmsg_multicast needs 5 argument... yes
checking kmem_cache_destroy(cachep) return int... NO
checking panic_notifier_list is atomic... yes
checking check INIT_WORK want 3 args... NO
checking check register_sysctl_table want 2 args... NO
checking check kernel has struct kmem_cache... NO
checking check kmem_cache_create has dtor argument... NO
checking for mutex in netlink_kernel_create... NO
checking if kernel has register_shrinker... yes
checking for CTL_UNNUMBERED... NO
checking for exist sg_set_page... yes
checking for netlink_broadcast is want to have gfp parameter... yes
checking for network stack has namespaces... yes
checking for netlink support net ns... yes
checking if Linux was built with symbol dump_trace exported... yes
checking whether we can really use dump_trace... no
checking whether print_trace_address has reliable argument... no
checking whether stacktrace_ops.warning is exist... no
checking dump_trace want address... no
checking atomic sem.count... NO
checking if kernel has wrappers for task's credentials... yes
checking if kernel has struct cred... yes
checking if kernel defines unshare_fs_struct()... no
checking sock_map_fd have second argument... yes
checking if 'struct stacktrace_ops' has 'walk_stack' field... yes
checking shrinker want self pointer in handler... no
checking for /lib/modules/2.6.34.14/source/include/linux/oom.h... yes
checking kernel store oom parameters in task... yes
checking if ctl_table has a ctl_name field... no
checking if __add_wait_queue_exclusive exists... no
checking if kernel has sk_sleep... no
checking shrink_control is present... no
checking if dev_get_by_name has two args... yes
checking for CPU affinity support... no (no kernel support)
checking for tunable backoff TCP support... no (no kernel support)
checking for QsNet sources... /lib/modules/2.6.34.14/source
checking if quadrics kernel headers are present... no
checking whether to enable OpenIB gen2 support... yes
checking if OFED has ib_dma_map_single... yes
checking if ib_create_cq wants comp_vector... yes
checking if OFED supports iWarp transport... yes
checking if OFED has RDMA_CM_EVENT_ADDR_CHANGE... yes
checking if OFED has RDMA_CM_EVENT_TIMEWAIT_EXIT... yes
checking if OFED has rdma_set_reuseaddr... no
checking if rdma_create_id wants four args... no
checking if RapidArray kernel headers are present... no
checking for portals... no
checking whether to build the kernel portals LND... no
checking whether to enable Myrinet MX support... no
checking if sysctl proc_handler wants 5 args... yes
checking if tcp_sendpage first parameter is socket... no
checking for /lib/modules/2.6.34.14/source/include/linux/lustre_version.h... no
checking whether to enable pinger support... yes
checking whether to enable data checksum support... yes
checking whether to enable liblustre recovery support... yes
checking whether to enable a write with the health check... no
checking whether to enable lru self-adjusting... yes
checking if Linux was built with CONFIG_QUOTA... yes
checking whether to enable llite_lloop module... yes
checking if Linux was built with symbol truncate_complete_page exported... no
checking if Linux was built with symbol remove_from_page_cache exported... no
checking if Linux was built with symbol delete_from_page_cache exported... no
checking if Linux was built with symbol truncate_inode_pages_range exported... yes
checking if Linux was built with symbol d_rehash_cond exported... no
checking if Linux was built with symbol __d_rehash exported... no
checking if Linux was built with symbol node_to_cpumask exported... no
checking if Linux was built with symbol node_to_cpu_mask exported... no
checking if Linux was built with symbol node_2_cpu_mask exported... no
checking if Linux was built with symbol grab_cache_page_nowait_gfp exported... no
checking if Linux was built with symbol add_to_page_cache_lru exported... yes
checking if struct statfs has a f_namelen field... yes
checking for exported filemap_populate... no
checking for d_add_unique... yes
checking for /lib/modules/2.6.34.14/source/include/linux/bit_spinlock.h... yes
checking if bit_spinlock.h can be compiled... yes
checking calc acl size... ACL size 260
checking if struct open_intent has a file field... yes
checking if Linux was built with CONFIG_CRYPTO in or as module... yes
checking if Linux was built with CONFIG_CRYPTO_HMAC in or as module... yes
checking if Linux was built with CONFIG_CRYPTO_SHA1 in or as module... yes
checking if Linux was built with CONFIG_CRYPTO_AES in or as module... yes
checking whether to enable gss/krb5 support... no
checking if kernel has third arg can_sleep in fs/locks.c: flock_lock_file_wait()... no
checking if struct file_operations has flock field... yes
checking if kernel supports quota_read... yes
checking if inode_operations->follow_link returns a cookie... yes
checking if kernel have RCU supported... yes
checking if call_rcu takes three parameters... no
checking if have struct percpu_counter defined... yes
checking if percpu_counter_inc takes the 2nd argument... yes
checking if we can store cl_env in task_struct... checking tux_info... no
checking if super block has s_time_gran member... yes
checking if kernel has old get_sb_time_gran... no
checking if kernel has tree_lock as rwlock... no
./configure: line 14159: LC_EXPORT_SYNCHRONIZE_RCU: command not found
checking if inode has i_mutex ... yes
checking If kernel has security plug support... no
checking if inode has a i_private field... yes
checking use dqonoff_mutex... yes
checking kernel export nr_pagecache... no
checking if super_ops.statfs() first parameter is dentry... no
checking vfs_kern_mount exist in kernel... yes
checking invalidatepage has return int... no
checking if umount_begin needs vfsmount parameter instead of super_block... no
checking if struct seq_file has lock field... yes
checking if Linux was built with symbol filemap_fdatawrite_range exported... yes
checking if file_operations .flush has an fl_owner_t id... yes
checking kernel has PG_fs_misc... no
checking kernel has PageChecked and SetPageChecked... yes
checking for /lib/modules/2.6.34.14/source/include/linux/fiemap.h... yes
checking if fiemap.h can be compiled... yes
checking inode has i_blksize field... no
checking writev in fops... no
checking readv in fops... no
checking kernel has cancel_dirty_page... yes
checking if kernel have PageConstant defined... no
checking if invalidate_bdev has second argument... no
checking if kernel has block cipher support... yes
checking if kernel has struct hash_desc... yes
checking if kernel has struct blkcipher_desc... yes
checking if kernel has FS_RENAME_DOES_D_MOVE flag... yes
checking if unregister_blkdev return int... no
checking if kernel has .splice_read... yes
checking if kernel has .sendfile... no
checking for /lib/modules/2.6.34.14/source/include/linux/exportfs.h... yes
checking kernel has .fault in vm_operation_struct... yes
checking if kernel has pde_users member in procfs entry struct... yes
checking if Linux was built with symbol exportfs_decode_fh exported... yes
checking for /lib/modules/2.6.34.14/source/include/linux/mm_types.h... yes
checking if kernel has bio_endio with 2 args... yes
checking if kernel has .fh_to_dentry member in export_operations struct... yes
checking if kernel has deleted member in procfs entry struct... no
checking if Linux was built with symbol bdi_init exported... yes
checking if kernel have mapping_cap_writeback_dirty... yes
checking fs_struct use path structure... yes
checking inode_operations->permission has two args... yes
checking kernel has file_remove_suid... yes
checking kernel uses trylock_page for page lock... yes
checking super_operations has a read_inode field... no
checking if Linux was built with symbol inode_permission exported... yes
checking quota_on needs 5 parameters... yes
checking quota_off needs 3 parameters... yes
checking vfs_dq_off is defined... yes
checking if lock_map_acquire is defined... yes
checking struct bio has a bi_hw_segments field... no
checking for /lib/modules/2.6.34.14/source/include/linux/quotaio_v2.h... no
checking for /lib/modules/2.6.34.14/source/fs/quotaio_v2.h... no
checking for /lib/modules/2.6.34.14/source/fs/quota/quotaio_v2.h... yes
checking vfs_symlink need 5 parameter... no
checking if backing_device_info has name field... no
checking Kernel has sb_any_quota_active... yes
checking Kernel has sb_has_quota_active... yes
checking if Linux was built with symbol add_to_page_cache_lru exported... yes
checking Kernel has sb_any_quota_loaded... yes
checking if Linux was built with symbol node_to_cpumask_map exported... no
checking if blk_queue_logical_block_size is defined... yes
checking if request_queue has a limits field... yes
checking if Linux was built with symbol bdi_register exported... yes
checking if super_block has s_bdi field... yes
checking if blk_queue_max_sectors is defined... no
checking if blk_queue_max_segments is defined... yes
checking if kernel defines set_cpus_allowed... no
checking if cache_detail has cache_upcall field... yes
checking if selinux_is_enabled is available... yes
checking if file_operations.fsync taken 2 arguments... no
checking if Linux was built with symbol simple_setattr exported... no
checking if fs_struct.lock use rwlock... yes
checking if super_operations.evict_inode exist... no
checking if vfsmount.mnt_count is atomic_t... yes
checking if Linux was built with symbol blkdev_get_by_dev exported... no
checking if generic_permission take 4 arguments... no
checking quota_on use path as parameter... no
checking if request_queue has unplug_fn field... yes
checking whether to enable DMU... no
checking location of libsysio... internal
checking for ./libsysio/src/rmdir.c... yes
checking for ./snmp/lustre-snmp.c... yes
checking whether to enable ldiskfs... no
checking location of lustre-iokit... internal
checking for ./lustre-iokit/ior-survey/ior-survey... yes
checking whether to use alternate names for e2fsprogs... disabled
checking whether to build Lustre library... yes
checking whether to build liblustre tests... yes
checking whether to enable liblustre acl... yes
checking whether mpitests can be built... no
configure: Enabling Lustre configure options for libsysio
checking whether to enable pinger support... yes
checking whether to enable liblustre recovery support... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for spinlock_t... no
checking for strnlen... yes
checking for umode_t... yes
checking for __s8... yes
checking for __u8... yes
checking for __s16... yes
checking for __u16... yes
checking for __s32... yes
checking for __u32... yes
checking for __u64... yes
checking for __s64... yes
checking userspace __u64 is long long type... yes
checking if efence debugging support is requested... no
checking whether to use libpthread for libcfs library... checking for pthread_create in -lpthread... yes
yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for asm/types.h... (cached) yes
checking for endian.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for gethostbyname... yes
checking for socket... yes
checking for connect... yes
checking for linux/version.h... (cached) yes
checking for spinlock_t... (cached) no
checking for strnlen... (cached) yes
checking whether to enable readline support... yes
checking for readline in -lreadline... no
checking if libwrap support is requested... no
checking whether to initialize libsysio... yes
checking whether to use /dev/urandom for liblustre... yes
checking for cap_get_proc in -lcap... no
checking for non-default maximum LNET payload... no
checking whether to build the userspace portals LND... no
checking whether to build usocklnd... yes
checking maximum OBD ioctl size... 8192 bytes
checking sys/user.h usability... yes
checking sys/user.h presence... yes
checking for sys/user.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for stdint.h... (cached) yes
checking blkid/blkid.h usability... no
checking blkid/blkid.h presence... no
checking for blkid/blkid.h... no
checking xtio.h usability... no
checking xtio.h presence... no
checking for xtio.h... no
checking file.h usability... no
checking file.h presence... no
checking for file.h... no
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for sys/types.h... (cached) yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking catamount/data.h usability... no
checking catamount/data.h presence... no
checking for catamount/data.h... no
checking for inet_ntoa... yes
checking if readlink returns ssize_t... yes
checking for linux/random.h... yes
checking ext2fs/ext2fs.h usability... no
checking ext2fs/ext2fs.h presence... no
checking for ext2fs/ext2fs.h... no
checking for adler32 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether to randomly failing memory alloc... yes
checking whether to check invariants (expensive cpu-wise)...
checking whether to track references with lu_ref...
checking whether to enable page state tracking...
checking if kernel has .write_begin/end... yes
checking d_obtain_alias exist in kernel... yes
checking blkdev_put needs 2 parameters... yes
checking dentry_open needs 4 parameters... yes
checking if kernel has .pagevec_lru_add_file... yes
checking whether to try to build SNMP support... auto
checking for net-snmp-config... no
checking for SNMP support... no (see config.log for errors)
configure: creating ./config.status
config.status: creating libcfs/Kernelenv
config.status: creating libcfs/Makefile
config.status: creating libcfs/autoMakefile
config.status: creating libcfs/autoconf/Makefile
config.status: creating libcfs/include/Makefile
config.status: creating libcfs/include/libcfs/Makefile
config.status: creating libcfs/include/libcfs/linux/Makefile
config.status: creating libcfs/include/libcfs/posix/Makefile
config.status: creating libcfs/include/libcfs/util/Makefile
config.status: creating libcfs/libcfs/Makefile
config.status: creating libcfs/libcfs/autoMakefile
config.status: creating libcfs/libcfs/linux/Makefile
config.status: creating libcfs/libcfs/posix/Makefile
config.status: creating libcfs/libcfs/util/Makefile
config.status: creating libcfs/include/libcfs/darwin/Makefile
config.status: creating libcfs/libcfs/darwin/Makefile
config.status: creating Makefile
config.status: creating autoMakefile
config.status: creating Rules
config.status: creating lustre.spec
config.status: creating lnet/Kernelenv
config.status: creating lnet/Makefile
config.status: creating lnet/autoMakefile
config.status: creating lnet/autoconf/Makefile
config.status: creating lnet/doc/Makefile
config.status: creating lnet/include/Makefile
config.status: creating lnet/include/lnet/Makefile
config.status: creating lnet/include/lnet/linux/Makefile
config.status: creating lnet/klnds/Makefile
config.status: creating lnet/klnds/autoMakefile
config.status: creating lnet/klnds/mxlnd/autoMakefile
config.status: creating lnet/klnds/mxlnd/Makefile
config.status: creating lnet/klnds/o2iblnd/Makefile
config.status: creating lnet/klnds/o2iblnd/autoMakefile
config.status: creating lnet/klnds/qswlnd/Makefile
config.status: creating lnet/klnds/qswlnd/autoMakefile
config.status: creating lnet/klnds/ralnd/Makefile
config.status: creating lnet/klnds/ralnd/autoMakefile
config.status: creating lnet/klnds/socklnd/Makefile
config.status: creating lnet/klnds/socklnd/autoMakefile
config.status: creating lnet/klnds/ptllnd/Makefile
config.status: creating lnet/klnds/ptllnd/autoMakefile
config.status: creating lnet/lnet/Makefile
config.status: creating lnet/lnet/autoMakefile
config.status: creating lnet/selftest/Makefile
config.status: creating lnet/selftest/autoMakefile
config.status: creating lnet/ulnds/Makefile
config.status: creating lnet/ulnds/autoMakefile
config.status: creating lnet/ulnds/socklnd/Makefile
config.status: creating lnet/ulnds/ptllnd/Makefile
config.status: creating lnet/utils/Makefile
config.status: creating lnet/include/lnet/darwin/Makefile
config.status: creating lustre/Makefile
config.status: creating lustre/autoMakefile
config.status: creating lustre/autoconf/Makefile
config.status: creating lustre/conf/Makefile
config.status: creating lustre/contrib/Makefile
config.status: creating lustre/doc/Makefile
config.status: creating lustre/include/Makefile
config.status: creating lustre/include/lustre_ver.h
config.status: creating lustre/include/linux/Makefile
config.status: creating lustre/include/lustre/Makefile
config.status: creating lustre/kernel_patches/targets/2.6-rhel6.target
config.status: creating lustre/kernel_patches/targets/2.6-rhel5.target
config.status: creating lustre/kernel_patches/targets/2.6-sles10.target
config.status: creating lustre/kernel_patches/targets/2.6-sles11.target
config.status: creating lustre/kernel_patches/targets/2.6-oel5.target
config.status: creating lustre/kernel_patches/targets/2.6-fc11.target
config.status: creating lustre/kernel_patches/targets/2.6-fc12.target
config.status: creating lustre/ldlm/Makefile
config.status: creating lustre/fid/Makefile
config.status: creating lustre/fid/autoMakefile
config.status: creating lustre/liblustre/Makefile
config.status: creating lustre/liblustre/tests/Makefile
config.status: creating lustre/liblustre/tests/mpi/Makefile
config.status: creating lustre/llite/Makefile
config.status: creating lustre/llite/autoMakefile
config.status: creating lustre/lclient/Makefile
config.status: creating lustre/lov/Makefile
config.status: creating lustre/lov/autoMakefile
config.status: creating lustre/lvfs/Makefile
config.status: creating lustre/lvfs/autoMakefile
config.status: creating lustre/mdc/Makefile
config.status: creating lustre/mdc/autoMakefile
config.status: creating lustre/lmv/Makefile
config.status: creating lustre/lmv/autoMakefile
config.status: creating lustre/mds/Makefile
config.status: creating lustre/mds/autoMakefile
config.status: creating lustre/mdt/Makefile
config.status: creating lustre/mdt/autoMakefile
config.status: creating lustre/cmm/Makefile
config.status: creating lustre/cmm/autoMakefile
config.status: creating lustre/mdd/Makefile
config.status: creating lustre/mdd/autoMakefile
config.status: creating lustre/fld/Makefile
config.status: creating lustre/fld/autoMakefile
config.status: creating lustre/obdclass/Makefile
config.status: creating lustre/obdclass/autoMakefile
config.status: creating lustre/obdclass/linux/Makefile
config.status: creating lustre/obdecho/Makefile
config.status: creating lustre/obdecho/autoMakefile
config.status: creating lustre/obdfilter/Makefile
config.status: creating lustre/obdfilter/autoMakefile
config.status: creating lustre/osc/Makefile
config.status: creating lustre/osc/autoMakefile
config.status: creating lustre/ost/Makefile
config.status: creating lustre/ost/autoMakefile
config.status: creating lustre/osd-ldiskfs/Makefile
config.status: creating lustre/osd-ldiskfs/autoMakefile
config.status: creating lustre/mgc/Makefile
config.status: creating lustre/mgc/autoMakefile
config.status: creating lustre/mgs/Makefile
config.status: creating lustre/mgs/autoMakefile
config.status: creating lustre/ptlrpc/Makefile
config.status: creating lustre/ptlrpc/autoMakefile
config.status: creating lustre/ptlrpc/gss/Makefile
config.status: creating lustre/ptlrpc/gss/autoMakefile
config.status: creating lustre/quota/Makefile
config.status: creating lustre/quota/autoMakefile
config.status: creating lustre/scripts/Makefile
config.status: creating lustre/tests/Makefile
config.status: creating lustre/tests/mpi/Makefile
config.status: creating lustre/utils/Makefile
config.status: creating lustre/utils/gss/Makefile
config.status: creating lustre/obdclass/darwin/Makefile
config.status: creating snmp/Makefile
config.status: creating snmp/autoconf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in libsysio (/root/lustre-release/libsysio)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--disable-server' 'CC=ccache gcc' '--with-lustre-hack' '--with-sockets' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... ccache 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 ccache gcc accepts -g... yes
checking for ccache gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of ccache gcc... gcc3
checking whether ccache gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... ccache gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
Using sysio library directory /root/lustre-release/libsysio/lib
checking for symlink support... yes
checking if readlink returns int... no
checking if readlink returns ssize_t... yes
checking whether _LARGEFILE64_SOURCE definition is required... yes
checking for alpha linux... no
checking for __st_ino... no
checking for st_gen... no
checking for POSIX 2008 preadv... yes
checking for POSIX 2008 scandir... yes
checking for POSIX 2008 preadv... yes
checking for POSIX 2008 scandir... yes
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .weak directive... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
=== configuring in ldiskfs (/root/lustre-release/ldiskfs)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--disable-server' 'CC=ccache gcc' '--with-lustre-hack' '--with-sockets' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... ccache 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 ccache gcc accepts -g... yes
checking for ccache gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of ccache gcc... none
checking for buildid... g25a1427 (ahead by 2 commits)
checking how to run the C preprocessor... ccache gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ranlib... ranlib
checking for buggy compiler... no known problems
checking size of unsigned long long... 8
---> size SIZEOF
---> size SIZEOF 8
no
checking whether to build kernel modules... yes
/root/linux-2.6.34.14
/root/linux-2.6.34.14
checking for Linux sources... /lib/modules/2.6.34.14/source
checking for /lib/modules/2.6.34.14/source... yes
checking for Linux objects dir... /lib/modules/2.6.34.14/build
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /lib/modules/2.6.34.14/build/.config... yes
checking for /lib/modules/2.6.34.14/build/include/linux/autoconf.h... no
checking for /lib/modules/2.6.34.14/build/include/generated/autoconf.h... yes
checking for /lib/modules/2.6.34.14/build/include/linux/version.h... yes
checking if you are running user mode linux for x86_64... no (asm-um missing)
checking for /lib/modules/2.6.34.14/source/include/linux/namei.h... yes
checking if you are using Linux 2.6... yes
checking for external module build support... yes
checking that modules can be built at all... yes
checking for Linux release... 2.6.34.14
checking for Lustre release... 2.6.34.14_g25a1427
checking that RedHat kernel... no
checking if Linux was built with CONFIG_SUSE_KERNEL... no
checking Linux kernel architecture... x86_64
checking name of module symbol version file... Module.symvers
checking if Linux was built with CONFIG_MODULES... yes
checking if Linux was built with CONFIG_MODVERSIONS... yes
checking if Linux was built with CONFIG_KALLSYMS... yes
checking if kernel module loading is possible... yes
checking whether to use any OFED backport headers... no
checking for /lib/modules/2.6.34.14/build/scripts/mod/modpost... yes
checking if modpost can be run... yes
checking if modpost supports -m... yes
checking which ldiskfs series to use... configure: WARNING: Unknown kernel version 2.6.34.14

checking whether to build Lustre server support... no
checking whether to enable quilt for making ldiskfs... yes
checking for patch... /usr/bin/patch
checking for quilt... /usr/bin/quilt
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autoMakefile
config.status: creating Rules
config.status: creating lustre-ldiskfs.spec
config.status: creating ldiskfs/autoMakefile
config.status: creating ldiskfs/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in lustre-iokit (/root/lustre-release/lustre-iokit)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--disable-server' 'CC=ccache gcc' '--with-lustre-hack' '--with-sockets' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for bash... /bin/sh
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating lustre-iokit.spec
config.status: creating Makefile
config.status: creating sgpdd-survey/Makefile
config.status: creating obdfilter-survey/Makefile
config.status: creating ost-survey/Makefile
config.status: creating ior-survey/Makefile
config.status: creating mds-survey/Makefile
config.status: creating stats-collect/Makefile

CC:            ccache gcc
LD:
CPPFLAGS:      -include /root/lustre-release/config.h -I/root/lustre-release/libcfs/include -I/root/lustre-release/lnet/include -I/root/lustre-release/lustre/include
LLCPPFLAGS:    -D__arch_lib__ -D_LARGEFILE64_SOURCE=1
CFLAGS:        -g -O2 -Werror
EXTRA_KCFLAGS: -include /root/lustre-release/config.h  -g -I/root/lustre-release/libcfs/include -I/root/lustre-release/lnet/include -I/root/lustre-release/lustre/include
LLCFLAGS:      -g -Wall -fPIC -D_GNU_SOURCE

Type 'make' to build Lustre.


More information about the lustre-discuss mailing list