[lustre-discuss] Lustre Client on Fedora 23
wattersm at watters.ws
Wed Sep 28 09:20:40 PDT 2016
Has anybody been able to build the lustre client on Fedora 23 or 24?
I'm getting a compile error when I attempt to build the SRPM for 2.8.0
which is shown here.
Adding "-fPIC" to the optflags in the spec file also did not help, the
build then fails with a different error as follows.
EXTRA_KCFLAGS: -include /root/rpmbuild/BUILD/lustre-2.8.0/undef.h -include /root/rpmbuild/BUILD/lustre-2.8.0/config.h -g -I/root/rpmbuild/BUILD/lustre-2.8.0/libcfs/include -I/root/rpmbuild/BUILD/lustre-2.8.0/lnet/include -I/root/rpmbuild/BUILD/lustre-2.8.0/lustre/include
Type 'make' to build Lustre.
+ make -j12 -s
Making all in .
/root/rpmbuild/BUILD/lustre-2.8.0/lnet/lnet/api-ni.c:1:0: error: code model kernel does not support PIC mode
/root/rpmbuild/BUILD/lustre-2.8.0/lustre/fid/fid_request.c:1:0: error: code model kernel does not support PIC mode
/root/rpmbuild/BUILD/lustre-2.8.0/lustre/fld/fld_request.c:1:0: error: code model kernel does not support PIC mode
scripts/Makefile.build:289: recipe for target '/root/rpmbuild/BUILD/lustre-2.8.0/lnet/lnet/api-ni.o' failed
make: *** [/root/rpmbuild/BUILD/lustre-2.8.0/lnet/lnet/api-ni.o] Error 1
/root/rpmbuild/BUILD/lustre-2.8.0/lustre/llite/dcache.c:1:0: error: code model kernel does not support PIC mode
Do I need to build the client from source or use a different lustre
version? My servers are all running 2.8.0 on CentOS 7 however we run
Fedora on our workstations which doesn't have a native client package.
More information about the lustre-discuss