[Lustre-discuss] Lustre client on Fedora 14
Deon Borman
deon at blackginger.tv
Mon Dec 5 04:44:01 PST 2011
Hi,
I'm trying to compile the patchless client on Fedora 14. It seems like
this is possible, according to http://jira.whamcloud.com/browse/LU-432.
I tried installing the .src.rpm for 1.8.7 and 2.1 and getting the source
tree from git. For all of those options, ./configure
--with-linux=/usr/src/kernels/2.6.35.14-103.fc14.x86_64/ gives me the
following error:
checking if you are using Linux 2.6... yes
checking for external module build support... configure: error: unknown;
check config.log for details
The relevant section in config.log seems to be:
configure:5926: cp conftest.c build && make -d
_module_/root/lustre-release/build LUSTRE_KERNEL_TEST=conftest.i CC=gcc
-f /root/lustre-release/build/Makefile
LUSTRE_LINUX_CONFIG=/usr/src/kernels/2
.6.35.14-103.fc14.x86_64/.config LINUXINCLUDE=
-I/usr/src/kernels/2.6.35.14-103.fc14.x86_64/arch/x86/include
-I/usr/src/kernels/2.6.35.14-103.fc14.x86_64/include
-I/usr/src/kernels/2.6.35.14-103.fc
14.x86_64/include -I/usr/src/kernels/2.6.35.14-103.fc14.x86_64/include2
-include include/linux/autoconf.h -o tmp_include_depends -o scripts -o
include/config/MARKER -C /usr/src/kernels/2.6.35.14-10
3.fc14.x86_64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g
-I/root/lustre-release/lnet/include -I/root/lustre-release/lnet/include
-I/root/lustre-release/lustre/include M=/root/lustre-rel
ease/build
In file included from
/usr/src/kernels/2.6.35.14-103.fc14.x86_64/arch/x86/include/asm/bitops.h:447:0,
from /usr/src/kernels/2.6.35.14-103.fc14.x86_64/include/linux/bitops.h:22,
from /usr/src/kernels/2.6.35.14-103.fc14.x86_64/include/linux/kernel.h:17,
from /root/lustre-release/build/conftest.c:27:
/usr/src/kernels/2.6.35.14-103.fc14.x86_64/arch/x86/include/asm/arch_hweight.h:
In function ‘__arch_hweight64’:
/usr/src/kernels/2.6.35.14-103.fc14.x86_64/arch/x86/include/asm/arch_hweight.h:53:347:
error: expected ‘:’ or ‘)’ before ‘POPCNT64’
make[1]: *** [/root/lustre-release/build/conftest.o] Error 1
make: *** [_module_/root/lustre-release/build] Error 2
configure:5929: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "LUSTRE_VERSION"
| #define PACKAGE_STRING "Lustre LUSTRE_VERSION"
| #define PACKAGE_BUGREPORT "http://bugs.whamcloud.com/"
| #define PACKAGE_URL ""
| #define PACKAGE "lustre"
| #define VERSION "1.8.7.80"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define CDEBUG_ENABLED 1
| #define CDEBUG_ENTRY_EXIT 1
| #define LIBCFS_DEBUG 1
| #define HAVE_SYS_QUOTA_H 1
| /* end confdefs.h. */
|
| #include <linux/kernel.h>
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:5945: error: unknown; check config.log for details
Has anybody on the list successfully compiled and used the client on
Fedora 14? If so, would you mind sharing your steps? Or maybe I'm just
missing something obvious here? For what it's worth, I can compile it
successfully on an old Fedora 12 box. Just ./configure and make rpms.
Thanks in advance,
Deon
More information about the lustre-discuss
mailing list