<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I’m getting an error due to redeclaration of copy_file_range(). That function wasn’t defined in SLES15 SP2’s glibc-devel-2.26 but it is defined in SLES15 SP3’s glibc-devel-2.31. Apparently configure misses that fact. Furthermore, what
is it doing in the utils directory when I specified –disable-utils? Oddly, if I don’t specify –disable-utils then make doesn’t fail. Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ogre-smw:~/glarch/lustre-2.14.54> ./configure --disable-server --disable-doc --disable-manpages --disable-utils --disable-tests --disable-iokit --disable-gss
--config-cache<o:p></o:p></span></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">config.status: creating config.h<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">config.status: executing depfiles commands<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">config.status: executing libtool commands<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">CC: gcc<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">LD: /usr/x86_64-suse-linux/bin/ld -m elf_x86_64<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">CPPFLAGS: -include /home/attaufer/glarch/lustre-2.14.54/undef.h -include /home/attaufer/glarch/lustre-2.14.54/config.h -I/home/attaufer/glarch/lustre-2.14.54/lnet/include/uapi
-I/home/attaufer/glarch/lustre-2.14.54/lustre/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/libcfs/include -I/home/attaufer/glarch/lustre-2.14.54/lnet/utils/ -I/home/attaufer/glarch/lustre-2.14.54/lustre/include<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">CFLAGS: -g -O2 -Wall -Werror<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">EXTRA_KCFLAGS: -include /home/attaufer/glarch/lustre-2.14.54/undef.h -include /home/attaufer/glarch/lustre-2.14.54/config.h -g -I/home/attaufer/glarch/lustre-2.14.54/libcfs/include
-I/home/attaufer/glarch/lustre-2.14.54/libcfs/include/libcfs -I/home/attaufer/glarch/lustre-2.14.54/lnet/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/lnet/include -I/home/attaufer/glarch/lustre-2.14.54/lustre/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/lustre/include
-Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Type 'make' to build Lustre.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ogre-smw:~/glarch/lustre-2.14.54> make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">grep -v config.h.in config.h.in > undef.h<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make all-recursive<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[1]: Entering directory '/home/attaufer/glarch/lustre-2.14.54'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Making all in .<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[2]: Entering directory '/home/attaufer/glarch/lustre-2.14.54'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make LDFLAGS= CC="gcc" -C /lib/modules/5.3.18-57-default/build \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">-f /home/attaufer/glarch/lustre-2.14.54/build/Makefile LUSTRE_LINUX_CONFIG=/lib/modules/5.3.18-57-default/build/.config \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">LINUXINCLUDE='-I$(srctree)/arch/$(SRCARCH)/include -Iarch/$(SRCARCH)/include/generated -Iinclude $(if $(KBUILD_SRC)$(building_out_of_srctree),-Iinclude2
-I$(srctree)/include) -I$(srctree)/arch/$(SRCARCH)/include/uapi -Iarch/$(SRCARCH)/include/generated/uapi -I$(srctree)/include/uapi -Iinclude/generated/uapi -include /lib/modules/5.3.18-57-default/source/include/linux/kconfig.h' \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">M=/home/attaufer/glarch/lustre-2.14.54 -o tmp_include_depends -o scripts -o \<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">include/config/MARKER modules<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[3]: Entering directory '/usr/src/linux-5.3.18-57-obj/x86_64/default'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/linux/linux-prim.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/linux/linux-hash.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/linux/linux-wait.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/linux/xarray.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/debug.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/fail.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> CC [M] /home/attaufer/glarch/lustre-2.14.54/libcfs/libcfs/module.o<o:p></o:p></span></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Making all in utils<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[3]: Entering directory '/home/attaufer/glarch/lustre-2.14.54/lustre/utils'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1040: warning: overriding recipe for target 'libmount_utils_ldiskfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1034: warning: ignoring old recipe for target 'libmount_utils_ldiskfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1049: warning: overriding recipe for target 'libmount_utils_zfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1046: warning: ignoring old recipe for target 'libmount_utils_zfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[4]: Entering directory '/home/attaufer/glarch/lustre-2.14.54/lustre/utils'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1040: warning: overriding recipe for target 'libmount_utils_ldiskfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1034: warning: ignoring old recipe for target 'libmount_utils_ldiskfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1049: warning: overriding recipe for target 'libmount_utils_zfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Makefile:1046: warning: ignoring old recipe for target 'libmount_utils_zfs.la'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">depbase=`echo liblustreapi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -include /home/attaufer/glarch/lustre-2.14.54/undef.h -include /home/attaufer/glarch/lustre-2.14.54/config.h
-I/home/attaufer/glarch/lustre-2.14.54/lnet/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/lustre/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/libcfs/include -I/home/attaufer/glarch/lustre-2.14.54/lnet/utils/ -I/home/attaufer/glarch/lustre-2.14.54/lustre/include
-fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -MT liblustreapi.lo -MD -MP -MF $depbase.Tpo -c -o liblustreapi.lo liblustreapi.c &&\<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">mv -f $depbase.Tpo $depbase.Plo<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -include /home/attaufer/glarch/lustre-2.14.54/undef.h -include /home/attaufer/glarch/lustre-2.14.54/config.h
-I/home/attaufer/glarch/lustre-2.14.54/lnet/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/lustre/include/uapi -I/home/attaufer/glarch/lustre-2.14.54/libcfs/include -I/home/attaufer/glarch/lustre-2.14.54/lnet/utils/ -I/home/attaufer/glarch/lustre-2.14.54/lustre/include
-fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -MT liblustreapi.lo -MD -MP -MF .deps/liblustreapi.Tpo -c liblustreapi.c -fPIC -DPIC -o .libs/liblustreapi.o<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">In file included from
<b>liblustreapi.c:83:0</b>:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:"Lucida Console"">lstddef.h:306:22:</span></b><span style="font-size:10.0pt;font-family:"Lucida Console"">
<span style="color:#FF4040">error: </span>static declaration of ‘<b>copy_file_range</b>’ follows non-static declaration<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">static inline loff_t
<span style="color:#FF4040">copy_file_range</span>(int fd_in, loff_t *off_in, int fd_out,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">
<span style="color:#FF4040">^~~~~~~~~~~~~~~<o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">In file included from
<b>liblustreapi.c:50:0</b>:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:"Lucida Console"">/usr/include/unistd.h:1107:9:</span></b><span style="font-size:10.0pt;font-family:"Lucida Console"">
<span style="color:#40FFFF">note: </span>previous declaration of ‘<b>copy_file_range</b>’ was here<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ssize_t
<span style="color:#40FFFF">copy_file_range</span> (int __infd, __off64_t *__pinoff,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">
<span style="color:#40FFFF">^~~~~~~~~~~~~~~<o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[4]: *** [Makefile:1482: liblustreapi.lo] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[4]: Leaving directory '/home/attaufer/glarch/lustre-2.14.54/lustre/utils'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[3]: *** [Makefile:1873: all-recursive] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[3]: Leaving directory '/home/attaufer/glarch/lustre-2.14.54/lustre/utils'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[2]: *** [autoMakefile:502: all-recursive] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[2]: Leaving directory '/home/attaufer/glarch/lustre-2.14.54/lustre'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[1]: *** [autoMakefile:609: all-recursive] Error 1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make[1]: Leaving directory '/home/attaufer/glarch/lustre-2.14.54'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">make: *** [autoMakefile:499: all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ogre-smw:~/glarch/lustre-2.14.54> cat /etc/os-release<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">NAME="SLES"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">VERSION="15-SP3"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">VERSION_ID="15.3"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">PRETTY_NAME="SUSE Linux Enterprise Server 15 SP3"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ID="sles"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ID_LIKE="suse"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ANSI_COLOR="0;32"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">CPE_NAME="cpe:/o:suse:sles:15:sp3"<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">DOCUMENTATION_URL=<a href="https://documentation.suse.com/">https://documentation.suse.com/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">ogre-smw:~/glarch/lustre-2.14.54> uname -r<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">5.3.18-57-default<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Andrew Tauferner<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>