Kumaran Rajaram
2008-May-05 18:10 UTC
[Lustre-discuss] Building Lustre 1.6 against OFED 1.3
Hi, Has anyone been successful in building Lustrev1.6.4.3 with OFEDv1.3? My cluster configuration is as follows: Hardware Config: x86_64 Software Config: SLES10.1, 2.6.16.46-0.12-lustre (Stock SP1 Kernel + Lustre patches), OFEDv1.3.1, Lustre-1.6.4.3 Status: Lustre + TCP builds and loads fine Lustre + o2ib does not build :-( Patched the stock kernel with Lustre patches and its up. Built OFEDv1.3.1 and its up and running. I followed the instructions in ClusterFS bugzilla #14309 (see attached build.log). I used automake-1.9 instead of recommended automake-1.7.8. Tried building automake-1.7.8 from src rpm but rpmbuild fails for automake fails 27 of 400 tests. When I try to build Lustrev1.6.4.3 against OFEDv1.3.1, it fails with following error: ---------- cd . && \ /bin/sh /usr/src/lustre-1.6.4.3/missing --run automake-1.9 --foreign autoMake file configure.ac:19: required file `lnet/include/libcfs/darwin/Makefile.in'' not foun d configure.ac:19: required file `lnet/include/lnet/darwin/Makefile.in'' not found configure.ac:19: required file `lnet/libcfs/darwin/Makefile.in'' not found configure.ac:19: required file `lustre/obdclass/darwin/Makefile.in'' not found autoMakefile.am:6: variable `EXTRA_SOURCES'' is defined but no program or autoMakefile.am:6: library has `EXTRA'' as canonic name (possible typo) make: *** [autoMakefile.in] Error 1 ----------- Basically, "Automake" fails with tonnes of errors (see details attached), some of which being lnet/include/libcfs/Makefile.am:3: required directory lnet/include/libcfs/darwin does not exist lnet/include/lnet/Makefile.am:5: required directory lnet/include/lnet/darwin doe s not exist Tried tweaking by deleting "darwin" entries from configure and all relevant files + creating darwin directories/files, but does not help :-(. I still do not understand why Lustre is looking for darwin OS when I have specified Linux in the configure. Any ideas to get the Lustre successfully built will be greatly appreciated. TIA, -Kums -------------- next part -------------- lnet/include/libcfs/Makefile.am:3: required directory lnet/include/libcfs/darwin does not exist lnet/include/lnet/Makefile.am:5: required directory lnet/include/lnet/darwin does not exist lnet/klnds/ciblnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/ciblnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/gmlnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/gmlnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/iiblnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/iiblnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/mxlnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/mxlnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/o2iblnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/o2iblnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/openiblnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/openiblnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/ptllnd/autoMakefile.am:8: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/ptllnd/autoMakefile.am:8: library has `DIST'' as canonic name (possible typo) lnet/klnds/qswlnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/qswlnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/ralnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/ralnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/klnds/socklnd/autoMakefile.am:13: `macos_PROGRAMS'' is used but `macosdir'' is undefined lnet/klnds/socklnd/autoMakefile.am:22: `plist_DATA'' is used but `plistdir'' is undefined lnet/klnds/socklnd/autoMakefile.am:9: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/socklnd/autoMakefile.am:9: library has `DIST'' as canonic name (possible typo) lnet/klnds/socklnd/autoMakefile.am:15: variable `nodist_ksocklnd_SOURCES'' is defined but no program or lnet/klnds/socklnd/autoMakefile.am:15: library has `nodist_ksocklnd'' as canonic name (possible typo) lnet/klnds/socklnd/autoMakefile.am:19: variable `ksocklnd_LDFLAGS'' is defined but no program or lnet/klnds/socklnd/autoMakefile.am:19: library has `ksocklnd'' as canonic name (possible typo) lnet/klnds/socklnd/autoMakefile.am:20: variable `ksocklnd_LDADD'' is defined but no program or lnet/klnds/socklnd/autoMakefile.am:20: library has `ksocklnd'' as canonic name (possible typo) lnet/klnds/viblnd/autoMakefile.am:13: variable `DIST_SOURCES'' is defined but no program or lnet/klnds/viblnd/autoMakefile.am:13: library has `DIST'' as canonic name (possible typo) lnet/libcfs/autoMakefile.am:26: `macos_PROGRAMS'' is used but `macosdir'' is undefined lnet/libcfs/autoMakefile.am:39: `plist_DATA'' is used but `plistdir'' is undefined lnet/libcfs/autoMakefile.am:8: required directory lnet/libcfs/darwin does not exist lnet/libcfs/autoMakefile.am:52: variable `DIST_SOURCES'' is defined but no program or lnet/libcfs/autoMakefile.am:52: library has `DIST'' as canonic name (possible typo) lnet/libcfs/autoMakefile.am:28: variable `nodist_libcfs_SOURCES'' is defined but no program or lnet/libcfs/autoMakefile.am:28: library has `nodist_libcfs'' as canonic name (possible typo) lnet/libcfs/autoMakefile.am:36: variable `libcfs_LDFLAGS'' is defined but no program or lnet/libcfs/autoMakefile.am:36: library has `libcfs'' as canonic name (possible typo) lnet/libcfs/autoMakefile.am:37: variable `libcfs_LDADD'' is defined but no program or lnet/libcfs/autoMakefile.am:37: library has `libcfs'' as canonic name (possible typo) lnet/lnet/autoMakefile.am:22: `macos_PROGRAMS'' is used but `macosdir'' is undefined lnet/lnet/autoMakefile.am:33: `plist_DATA'' is used but `plistdir'' is undefined lnet/lnet/autoMakefile.am:46: variable `DIST_SOURCES'' is defined but no program or lnet/lnet/autoMakefile.am:46: library has `DIST'' as canonic name (possible typo) lnet/lnet/autoMakefile.am:30: variable `lnet_LDFLAGS'' is defined but no program or lnet/lnet/autoMakefile.am:30: library has `lnet'' as canonic name (possible typo) lnet/lnet/autoMakefile.am:31: variable `lnet_LDADD'' is defined but no program or lnet/lnet/autoMakefile.am:31: library has `lnet'' as canonic name (possible typo) lnet/lnet/autoMakefile.am:24: variable `lnet_SOURCES'' is defined but no program or lnet/lnet/autoMakefile.am:24: library has `lnet'' as canonic name (possible typo) lnet/selftest/autoMakefile.am:23: variable `DIST_SOURCES'' is defined but no program or lnet/selftest/autoMakefile.am:23: library has `DIST'' as canonic name (possible typo) lustre/ldlm/Makefile.am:11: variable `DIST_SOURCES'' is defined but no program or lustre/ldlm/Makefile.am:11: library has `DIST'' as canonic name (possible typo) lustre/llite/autoMakefile.am:10: variable `DIST_SOURCES'' is defined but no program or lustre/llite/autoMakefile.am:10: library has `DIST'' as canonic name (possible typo) lustre/lov/autoMakefile.am:19: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/lov/autoMakefile.am:35: `plist_DATA'' is used but `plistdir'' is undefined lustre/lov/autoMakefile.am:45: variable `DIST_SOURCES'' is defined but no program or lustre/lov/autoMakefile.am:45: library has `DIST'' as canonic name (possible typo) lustre/lov/autoMakefile.am:21: variable `lov_SOURCES'' is defined but no program or lustre/lov/autoMakefile.am:21: library has `lov'' as canonic name (possible typo) lustre/lov/autoMakefile.am:33: variable `lov_LDADD'' is defined but no program or lustre/lov/autoMakefile.am:33: library has `lov'' as canonic name (possible typo) lustre/lov/autoMakefile.am:32: variable `lov_LDFLAGS'' is defined but no program or lustre/lov/autoMakefile.am:32: library has `lov'' as canonic name (possible typo) lustre/lvfs/autoMakefile.am:53: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/lvfs/autoMakefile.am:61: `plist_DATA'' is used but `plistdir'' is undefined lustre/lvfs/autoMakefile.am:75: variable `DIST_SOURCES'' is defined but no program or lustre/lvfs/autoMakefile.am:75: library has `DIST'' as canonic name (possible typo) lustre/lvfs/autoMakefile.am:55: variable `lvfs_SOURCES'' is defined but no program or lustre/lvfs/autoMakefile.am:55: library has `lvfs'' as canonic name (possible typo) lustre/lvfs/autoMakefile.am:58: variable `lvfs_LDFLAGS'' is defined but no program or lustre/lvfs/autoMakefile.am:58: library has `lvfs'' as canonic name (possible typo) lustre/lvfs/autoMakefile.am:59: variable `lvfs_LDADD'' is defined but no program or lustre/lvfs/autoMakefile.am:59: library has `lvfs'' as canonic name (possible typo) lustre/mdc/autoMakefile.am:17: variable `DIST_SOURCES'' is defined but no program or lustre/mdc/autoMakefile.am:17: library has `DIST'' as canonic name (possible typo) lustre/mds/autoMakefile.am:11: variable `DIST_SOURCES'' is defined but no program or lustre/mds/autoMakefile.am:11: library has `DIST'' as canonic name (possible typo) lustre/mgc/autoMakefile.am:18: variable `DIST_SOURCES'' is defined but no program or lustre/mgc/autoMakefile.am:18: library has `DIST'' as canonic name (possible typo) lustre/mgs/autoMakefile.am:11: variable `DIST_SOURCES'' is defined but no program or lustre/mgs/autoMakefile.am:11: library has `DIST'' as canonic name (possible typo) lustre/obdclass/autoMakefile.am:29: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/obdclass/autoMakefile.am:42: `plist_DATA'' is used but `plistdir'' is undefined lustre/obdclass/autoMakefile.am:3: required directory lustre/obdclass/darwin does not exist lustre/obdclass/autoMakefile.am:54: variable `DIST_SOURCES'' is defined but no program or lustre/obdclass/autoMakefile.am:54: library has `DIST'' as canonic name (possible typo) lustre/obdclass/autoMakefile.am:31: variable `obdclass_SOURCES'' is defined but no program or lustre/obdclass/autoMakefile.am:31: library has `obdclass'' as canonic name (possible typo) lustre/obdclass/autoMakefile.am:39: variable `obdclass_LDFLAGS'' is defined but no program or lustre/obdclass/autoMakefile.am:39: library has `obdclass'' as canonic name (possible typo) lustre/obdclass/autoMakefile.am:40: variable `obdclass_LDADD'' is defined but no program or lustre/obdclass/autoMakefile.am:40: library has `obdclass'' as canonic name (possible typo) lustre/obdecho/autoMakefile.am:19: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/obdecho/autoMakefile.am:29: `plist_DATA'' is used but `plistdir'' is undefined lustre/obdecho/autoMakefile.am:40: variable `DIST_SOURCES'' is defined but no program or lustre/obdecho/autoMakefile.am:40: library has `DIST'' as canonic name (possible typo) lustre/obdecho/autoMakefile.am:26: variable `obdecho_LDFLAGS'' is defined but no program or lustre/obdecho/autoMakefile.am:26: library has `obdecho'' as canonic name (possible typo) lustre/obdecho/autoMakefile.am:20: variable `obdecho_SOURCES'' is defined but no program or lustre/obdecho/autoMakefile.am:20: library has `obdecho'' as canonic name (possible typo) lustre/obdecho/autoMakefile.am:27: variable `obdecho_LDADD'' is defined but no program or lustre/obdecho/autoMakefile.am:27: library has `obdecho'' as canonic name (possible typo) lustre/obdfilter/autoMakefile.am:11: variable `DIST_SOURCES'' is defined but no program or lustre/obdfilter/autoMakefile.am:11: library has `DIST'' as canonic name (possible typo) lustre/osc/autoMakefile.am:20: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/osc/autoMakefile.am:30: `plist_DATA'' is used but `plistdir'' is undefined lustre/osc/autoMakefile.am:41: variable `DIST_SOURCES'' is defined but no program or lustre/osc/autoMakefile.am:41: library has `DIST'' as canonic name (possible typo) lustre/osc/autoMakefile.am:28: variable `osc_LDADD'' is defined but no program or lustre/osc/autoMakefile.am:28: library has `osc'' as canonic name (possible typo) lustre/osc/autoMakefile.am:22: variable `osc_SOURCES'' is defined but no program or lustre/osc/autoMakefile.am:22: library has `osc'' as canonic name (possible typo) lustre/osc/autoMakefile.am:27: variable `osc_LDFLAGS'' is defined but no program or lustre/osc/autoMakefile.am:27: library has `osc'' as canonic name (possible typo) lustre/ost/autoMakefile.am:11: variable `DIST_SOURCES'' is defined but no program or lustre/ost/autoMakefile.am:11: library has `DIST'' as canonic name (possible typo) lustre/ptlrpc/autoMakefile.am:40: `macos_PROGRAMS'' is used but `macosdir'' is undefined lustre/ptlrpc/autoMakefile.am:67: `plist_DATA'' is used but `plistdir'' is undefined lustre/ptlrpc/autoMakefile.am:76: variable `DIST_SOURCES'' is defined but no program or lustre/ptlrpc/autoMakefile.am:76: library has `DIST'' as canonic name (possible typo) lustre/ptlrpc/autoMakefile.am:65: variable `ptlrpc_LDADD'' is defined but no program or lustre/ptlrpc/autoMakefile.am:65: library has `ptlrpc'' as canonic name (possible typo) lustre/ptlrpc/autoMakefile.am:64: variable `ptlrpc_LDFLAGS'' is defined but no program or lustre/ptlrpc/autoMakefile.am:64: library has `ptlrpc'' as canonic name (possible typo) lustre/ptlrpc/autoMakefile.am:42: variable `ptlrpc_SOURCES'' is defined but no program or lustre/ptlrpc/autoMakefile.am:42: library has `ptlrpc'' as canonic name (possible typo) lustre/quota/autoMakefile.am:18: variable `DIST_SOURCES'' is defined but no program or lustre/quota/autoMakefile.am:18: library has `DIST'' as canonic name (possible typo) configure.ac:19: required file `lnet/include/libcfs/darwin/Makefile.in'' not found configure.ac:19: required file `lnet/include/lnet/darwin/Makefile.in'' not found configure.ac:19: required file `lnet/libcfs/darwin/Makefile.in'' not found configure.ac:19: required file `lustre/obdclass/darwin/Makefile.in'' not found autoMakefile.am:6: variable `EXTRA_SOURCES'' is defined but no program or autoMakefile.am:6: library has `EXTRA'' as canonic name (possible typo) -------------- next part -------------- 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 gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... 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 build Cray XT3 features... no checking whether to build BGL features... no checking for ranlib... ranlib checking for buggy compiler... no known problems checking for unsigned long long... yes checking size of unsigned long long... 8 ---> size SIZEOF ---> size SIZEOF 8 checking whether __i386__ is declared... no checking if gcc accepts -m64... yes checking whether to posix osd... no checking whether to build docs... no checking whether to build utilities... yes checking whether to install init scripts... no checking whether to build Lustre tests... yes checking whether to build Lustre server support... yes checking whether to build Lustre client support... yes ./configure: line 4504: LC_CONFIG_SPLIT: command not found ./configure: line 4505: LC_CONFIG_LDISKFS: command not found checking whether to enable CDEBUG, CWARN... yes checking whether to enable ENTRY/EXIT... yes checking whether to enable LASSERT, LASSERTF... yes checking whether to build kernel modules... yes (linux-gnu) checking for Linux sources... /usr/src/linux checking for /usr/src/linux... yes checking for Linux objects dir... /usr/src/linux checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no checking for /usr/src/linux/.config... yes checking for /usr/src/linux/include/linux/autoconf.h... yes checking for /usr/src/linux/include/linux/version.h... yes checking if you are running user mode linux for x86_64... no (asm doesn''t point at asm-um) checking for /usr/src/linux/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.16.46-0.12-lustre checking for Lustre release... 2.6.16.46_0.12_lustre_200805011602 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_PREEMPT... no checking if Linux was built with CONFIG_KALLSYMS... yes checking if Linux was built with CONFIG_KMOD... yes checking if kernel defines cpu_online()... yes checking if kernel defines gfp_t... yes checking if kernel defines cpumask_t... yes checking for CPU affinity support... yes checking for tunable backoff TCP support... no (no kernel support) checking for tunable panic_dumplog support... no checking for QsNet sources... /usr/src/linux checking if quadrics kernel headers are present... no checking whether to enable GM support... no checking whether to enable OpenIB support... no checking whether to enable Cisco/TopSpin IB support... no checking whether to enable Voltaire IB support... no checking whether to enable Infinicon support... no checking whether to enable OpenIB gen2 support... yes 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 struct page has a list field... no checking if task_struct has a sighand field... yes checking if Linux was built with symbol show_task is exported... yes checking if Linux was built with symbol tasklist_lock is exported... yes checking kmem_cache_destroy(cachep) return int... yes checking panic_notifier_list is atomic... NO checking check INIT_WORK want 3 args... yes checking check register_sysctl_table want 2 args... yes checking check kernel has struct kmem_cache_s... NO checking check kmem_cache_create has dtor argument... yes checking for /usr/src/linux/include/linux/lustre_version.h... yes checking which backing filesystem to use... ldiskfs checking whether to enable pinger support... yes checking whether to enable data checksum support... no checking whether to enable liblustre recovery support... yes checking whether to enable quota support... yes checking whether to enable a write with the health check... no checking whether to enable lock LRU auto-resize support... no checking task p_pptr found... no checking if Linux was built with symbol truncate_complete_page is exported... no checking if Linux was built with symbol d_rehash_cond is exported... yes checking if Linux was built with symbol __d_rehash is exported... no checking Linux kernel architecture... x86_64 checking if Linux was built with symbol node_to_cpumask is exported... yes checking if Linux was built with symbol node_to_cpu_mask is exported... no checking if Linux was built with symbol node_2_cpu_mask is exported... no checking if struct kiobuf has a dovary field... no checking if kernel offers cond_resched... yes checking if zap_page_range with vma parameter... yes checking if kernel defines PDE... yes checking if kernel passes struct file to direct_IO... no checking if kernel has mm_inline.h header... no checking if struct inode has i_alloc_sem... yes checking if kernel defines register_cache()... no checking if kernel defines grab_cache_page_nowait_gfp()... no checking if kernel has new dev_set_rdonly... yes checking whether filemap_fdatawrite() is defined... yes checking if struct statfs has a f_namelen field... yes checking if kernel offers page_mapped... yes checking if struct file_operations has an unlocked_ioctl field... yes checking for exported filemap_populate... yes checking for d_add_unique... yes checking for /usr/src/linux/include/linux/bit_spinlock.h... yes checking if bit_spinlock.h can be compiled... yes checking for /usr/src/linux/include/linux/xattr_acl.h... no checking if struct open_intent has a file field... yes checking for /usr/src/linux/include/linux/posix_acl_xattr.h... yes checking if linux/posix_acl_xattr.h can be compiled... yes checking if Linux was built with symbol __iget is exported... no checking if Linux was built with symbol set_fs_pwd is exported... yes checking if kernel has MS_FLOCK_LOCK sb flag... 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 the kernel has the VFS intent patches... no checking use inode have i_mutex ... yes checking use dqonoff_mutex... NO checking kernel export nr_pagecache... yes checking first vfs_statfs parameter is dentry... no checking vfs_kern_mount exist in kernel... no checking invalidatepage has return int... yes checking if umount_begin needs vfsmount parameter instead of super_block... NO checking kernel has PG_fs_misc... NO checking inode has i_blksize field... yes checking check vfs_readdir need 64bit inode number... NO checking use generic_file_read... yes checking use generic_file_write... yes checking kernel has cancel_dirty_page... NO checking if kernel have PageConstant defined... no checking if invalidate_bdev has second argument... yes checking if unregister_blkdev return int... yes checking if kernel has .splice_read... no checking linux/exportfs.h usability... no checking linux/exportfs.h presence... no checking for linux/exportfs.h... no checking location of libsysio... internal checking for ./libsysio/src/rmdir.c... yes checking for ./snmp/lustre-snmp.c... yes checking location of ldiskfs... internal checking for ./ldiskfs/lustre-ldiskfs.spec.in... yes checking whether to build Lustre library... yes checking whether to build liblustre tests... yes checking whether to build mpitests... no configure: Enabling Lustre configure options for libsysio checking whether to enable pinger support... yes checking whether to enable liblustre recovery support... 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 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 for gethostbyname... yes checking for socket... yes checking for connect... yes checking linux/version.h usability... yes checking linux/version.h presence... yes checking for linux/version.h... yes checking for spinlock_t... yes checking for strnlen... yes checking whether to enable readline support... yes checking for readline in -lreadline... no checking if efence debugging support is requested... no checking if libwrap support is requested... no checking whether to use libpthread for lnet library... checking for pthread_create in -lpthread... yes yes 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 asm/page.h usability... yes checking asm/page.h presence... yes checking for asm/page.h... yes 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... yes checking blkid/blkid.h presence... yes checking for blkid/blkid.h... yes checking linux/quota.h usability... yes checking linux/quota.h presence... yes checking for linux/quota.h... yes 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 ext2fs/ext2fs.h usability... yes checking ext2fs/ext2fs.h presence... yes checking for ext2fs/ext2fs.h... yes checking whether to randomly failing memory alloc... yes checking whether to try to build SNMP support... auto checking for net-snmp-config... net-snmp-config checking net-snmp/net-snmp-config.h usability... no checking net-snmp/net-snmp-config.h presence... no checking for net-snmp/net-snmp-config.h... no checking for SNMP support... no (see config.log for errors) ./configure: line 14011: LB_DARWIN_CONDITIONALS: command not found configure: creating ./config.status 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/libcfs/Makefile config.status: creating lnet/include/libcfs/linux/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/gmlnd/Makefile config.status: creating lnet/klnds/mxlnd/autoMakefile config.status: creating lnet/klnds/mxlnd/Makefile config.status: creating lnet/klnds/gmlnd/autoMakefile config.status: creating lnet/klnds/openiblnd/Makefile config.status: creating lnet/klnds/openiblnd/autoMakefile config.status: creating lnet/klnds/o2iblnd/Makefile config.status: creating lnet/klnds/o2iblnd/autoMakefile config.status: creating lnet/klnds/ciblnd/Makefile config.status: creating lnet/klnds/ciblnd/autoMakefile config.status: creating lnet/klnds/iiblnd/Makefile config.status: creating lnet/klnds/iiblnd/autoMakefile config.status: creating lnet/klnds/viblnd/Makefile config.status: creating lnet/klnds/viblnd/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/libcfs/Makefile config.status: creating lnet/libcfs/autoMakefile config.status: creating lnet/libcfs/linux/Makefile 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 lustre/Makefile config.status: creating lustre/autoMakefile config.status: creating lustre/autoconf/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-suse.target config.status: creating lustre/kernel_patches/targets/2.6-vanilla.target config.status: creating lustre/kernel_patches/targets/2.6-rhel4.target config.status: creating lustre/kernel_patches/targets/2.6-rhel5.target config.status: creating lustre/kernel_patches/targets/2.6-fc5.target config.status: creating lustre/kernel_patches/targets/2.6-patchless.target config.status: creating lustre/kernel_patches/targets/2.6-sles10.target config.status: creating lustre/kernel_patches/targets/hp_pnnl-2.4.target config.status: creating lustre/kernel_patches/targets/rh-2.4.target config.status: creating lustre/kernel_patches/targets/rhel-2.4.target config.status: creating lustre/kernel_patches/targets/suse-2.4.21-2.target config.status: creating lustre/kernel_patches/targets/sles-2.4.target config.status: creating lustre/ldlm/Makefile config.status: creating lustre/liblustre/Makefile config.status: creating lustre/liblustre/tests/Makefile config.status: creating lustre/llite/Makefile config.status: creating lustre/llite/autoMakefile 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/mds/Makefile config.status: creating lustre/mds/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/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/quota/Makefile config.status: creating lustre/quota/autoMakefile config.status: creating lustre/scripts/Makefile config.status: creating lustre/scripts/version_tag.pl config.status: creating lustre/tests/Makefile config.status: creating lustre/utils/Makefile config.status: creating snmp/Makefile config.status: creating snmp/autoconf/Makefile config.status: creating config.h config.status: executing depfiles commands configure: configuring in libsysio configure: running /bin/sh ''./configure'' --prefix=/usr ''--with-linux=/usr/src/linux'' ''--with-o2ib=/usr/src/ofa_kernel-1.3'' --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 for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether 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... gcc -E checking for egrep... 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 /usr/src/lustre-1.6.4.3/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 whether .text pseudo-op must be used... no 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 configure: configuring in ldiskfs configure: running /bin/sh ''./configure'' --prefix=/usr ''--with-linux=/usr/src/linux'' ''--with-o2ib=/usr/src/ofa_kernel-1.3'' --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 gawk... gawk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for egrep... 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 for unsigned long long... yes checking size of unsigned long long... 8 ---> size SIZEOF ---> size SIZEOF 8 checking whether __i386__ is declared... no checking if gcc accepts -m64... yes checking whether to build kernel modules... yes checking for Linux sources... /usr/src/linux checking for /usr/src/linux... yes checking for Linux objects dir... /usr/src/linux checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no checking for /usr/src/linux/.config... yes checking for /usr/src/linux/include/linux/autoconf.h... yes checking for /usr/src/linux/include/linux/version.h... yes checking if you are running user mode linux for x86_64... no (asm doesn''t point at asm-um) checking for /usr/src/linux/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.16.46-0.12-lustre checking for Lustre release... 2.6.16.46_0.12_lustre_200805011603 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_PREEMPT... no checking if Linux was built with CONFIG_KALLSYMS... yes checking if Linux was built with CONFIG_KMOD... yes checking for /usr/src/linux/scripts/mod/modpost... yes checking if modpost can be run... yes checking if modpost supports -m... yes checking whether to enable quilt for making ldiskfs... yes checking for patch... /usr/bin/patch checking for quilt... /usr/bin/quilt checking which ldiskfs series to use... 2.6-sles10.series checking if Linux was built with symbol d_rehash_cond is exported... yes checking if Linux was built with symbol __d_rehash is exported... no checking if Linux was built with symbol d_move_locked is exported... no checking if Linux was built with symbol __d_move is exported... yes 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: executing depfiles commands CC: gcc -m64 LD: CPPFLAGS: -include $(top_builddir)/config.h -I$(top_builddir)/lnet/include -I$(top_srcdir)/lnet/include -I$(top_builddir)/lustre/include -I$(top_srcdir)/lustre/include LLCPPFLAGS: -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 CFLAGS: -g -O2 EXTRA_KCFLAGS: -include /usr/src/lustre-1.6.4.3/config.h -g -I/usr/src/lustre-1.6.4.3/lnet/include -I/usr/src/lustre-1.6.4.3/lustre/include LLCFLAGS: -g -Wall -fPIC Type ''make'' to build Lustre. -------------- next part -------------- A non-text attachment was scrubbed... Name: lustre-1.6.4.3_and_ofed-1.3.1-build.log Type: text/x-log Size: 1018 bytes Desc: not available Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080505/e8b618ab/attachment-0001.bin
Brian J. Murrell
2008-May-06 13:22 UTC
[Lustre-discuss] Building Lustre 1.6 against OFED 1.3
On Mon, 2008-05-05 at 12:10 -0600, Kumaran Rajaram wrote:> Hi, > > Has anyone been successful in building Lustrev1.6.4.3 with OFEDv1.3? > > My cluster configuration is as follows: > > Hardware Config: x86_64 > Software Config: SLES10.1, > 2.6.16.46-0.12-lustre (Stock SP1 Kernel + Lustre > patches), > OFEDv1.3.1, > Lustre-1.6.4.3 > Status: Lustre + TCP builds and loads fine > Lustre + o2ib does not build :-( > > Patched the stock kernel with Lustre patches and its up. Built > OFEDv1.3.1 and its up and running. > > I followed the instructions in ClusterFS bugzilla #14309 (see attached > build.log). I used automake-1.9 instead of recommended automake-1.7.8. > Tried building automake-1.7.8 from src rpm but rpmbuild fails for > automake fails 27 of 400 tests.Yes, Lustre does require automake 1.7.8. See bug 13978. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080506/08771d58/attachment.bin