Skip to content

Instantly share code, notes, and snippets.

@mayli
Created June 18, 2018 22:33
Show Gist options
  • Save mayli/5e270796cf98f1200e6868ddaf3d2d77 to your computer and use it in GitHub Desktop.
Save mayli/5e270796cf98f1200e6868ddaf3d2d77 to your computer and use it in GitHub Desktop.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by zfs configure 0.7.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --with-linux=/home/mayli/filer/kernel/4.4.52/ --with-spl=../spl-0.7.9 --target=arm --host=arm
## --------- ##
## Platform. ##
## --------- ##
hostname = potato
uname -m = x86_64
uname -r = 4.13.0-38-generic
uname -s = Linux
uname -v = #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/mayli/bin
PATH: /home/mayli/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /home/mayli/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
PATH: /home/mayli/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
PATH: /home/mayil/filer/toolchain/gcc-linaro-5.2-2015.11-2-x86_64_aarch64-linux-gnu/bin
PATH: /home/mayil/filer/toolchain/gcc-linaro-5.2-2015.11-2-x86_64_aarch64-linux-gnu/bin
PATH: /home/mayli//filer/toolchain/gcc-linaro-5.2-2015.11-2-x86_64_aarch64-linux-gnu/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2226: checking for gawk
configure:2242: found /usr/bin/gawk
configure:2253: result: gawk
configure:2264: checking metadata
configure:2396: result: META file
configure:2438: checking build system type
configure:2456: result: x86_64-unknown-linux-gnu
configure:2478: checking host system type
configure:2493: result: arm-unknown-none
configure:2515: checking target system type
configure:2530: result: arm-unknown-none
configure:2559: checking whether to enable maintainer-specific portions of Makefiles
configure:2568: result: no
configure:2609: checking for a BSD-compatible install
configure:2677: result: /usr/bin/install -c
configure:2688: checking whether build environment is sane
configure:2748: result: yes
configure:2797: checking for arm-strip
configure:2827: result: no
configure:2837: checking for strip
configure:2853: found /usr/bin/strip
configure:2864: result: strip
configure:2889: checking for a thread-safe mkdir -p
configure:2928: result: /bin/mkdir -p
configure:2937: checking whether make sets $(MAKE)
configure:2959: result: yes
configure:3058: checking for a BSD-compatible install
configure:3126: result: /usr/bin/install -c
configure:3145: checking for arm-gcc
configure:3175: result: no
configure:3185: checking for gcc
configure:3201: found /usr/bin/gcc
configure:3212: result: gcc
configure:3444: checking for C compiler version
configure:3452: gcc --version >&5
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3456: $? = 0
configure:3463: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
configure:3467: $? = 0
configure:3474: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3478: $? = 1
configure:3501: checking for C compiler default output file name
configure:3523: gcc conftest.c >&5
configure:3527: $? = 0
configure:3565: result: a.out
configure:3584: checking whether the C compiler works
configure:3594: ./a.out
configure:3598: $? = 0
configure:3617: result: yes
configure:3624: checking whether we are cross compiling
configure:3626: result: no
configure:3629: checking for suffix of executables
configure:3636: gcc -o conftest conftest.c >&5
configure:3640: $? = 0
configure:3666: result:
configure:3672: checking for suffix of object files
configure:3698: gcc -c conftest.c >&5
configure:3702: $? = 0
configure:3727: result: o
configure:3731: checking whether we are using the GNU C compiler
configure:3760: gcc -c conftest.c >&5
configure:3767: $? = 0
configure:3784: result: yes
configure:3793: checking whether gcc accepts -g
configure:3823: gcc -c -g conftest.c >&5
configure:3830: $? = 0
configure:3931: result: yes
configure:3948: checking for gcc option to accept ISO C89
configure:4022: gcc -c -g -O2 conftest.c >&5
configure:4029: $? = 0
configure:4052: result: none needed
configure:4081: checking for style of include used by make
configure:4109: result: GNU
configure:4134: checking dependency style of gcc
configure:4244: result: gcc3
configure:4284: checking for a sed that does not truncate output
configure:4350: result: /bin/sed
configure:4368: checking for grep that handles long lines and -e
configure:4428: result: /bin/grep
configure:4433: checking for egrep
configure:4497: result: /bin/grep -E
configure:4502: checking for fgrep
configure:4566: result: /bin/grep -F
configure:4601: checking for ld used by gcc
configure:4668: result: /usr/bin/ld
configure:4677: checking if the linker (/usr/bin/ld) is GNU ld
configure:4692: result: yes
configure:4704: checking for BSD- or MS-compatible name lister (nm)
configure:4753: result: no
configure:4764: checking for arm-dumpbin
configure:4794: result: no
configure:4764: checking for arm-link
configure:4794: result: no
configure:4808: checking for dumpbin
configure:4838: result: no
configure:4808: checking for link
configure:4824: found /usr/bin/link
configure:4835: result: link -dump -symbols
configure:4871: checking the name lister (link -dump -symbols) interface
configure:4878: gcc -c -g -O2 conftest.c >&5
configure:4881: link -dump -symbols "conftest.o"
link: invalid option -- 'd'
Try 'link --help' for more information.
configure:4884: output
configure:4891: result: BSD nm
configure:4894: checking whether ln -s works
configure:4898: result: yes
configure:4906: checking the maximum length of command line arguments
configure:5026: result: 1572864
configure:5043: checking whether the shell understands some XSI constructs
configure:5053: result: yes
configure:5057: checking whether the shell understands "+="
configure:5063: result: yes
configure:5098: checking for /usr/bin/ld option to reload object files
configure:5105: result: -r
configure:5134: checking for arm-objdump
configure:5164: result: no
configure:5174: checking for objdump
configure:5190: found /usr/bin/objdump
configure:5201: result: objdump
configure:5233: checking how to recognize dependent libraries
configure:5429: result: unknown
configure:5449: checking for arm-ar
configure:5479: result: no
configure:5489: checking for ar
configure:5505: found /usr/bin/ar
configure:5516: result: ar
configure:5554: checking for arm-strip
configure:5581: result: strip
configure:5653: checking for arm-ranlib
configure:5683: result: no
configure:5693: checking for ranlib
configure:5709: found /usr/bin/ranlib
configure:5720: result: ranlib
configure:5810: checking command to parse link -dump -symbols output from gcc object
configure:5928: gcc -c -g -O2 conftest.c >&5
configure:5931: $? = 0
configure:5935: link -dump -symbols conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
link: invalid option -- 'd'
Try 'link --help' for more information.
configure:5938: $? = 0
cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'
configure:5928: gcc -c -g -O2 conftest.c >&5
configure:5931: $? = 0
configure:5935: link -dump -symbols conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm
link: invalid option -- 'd'
Try 'link --help' for more information.
configure:5938: $? = 0
cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'
configure:6030: result: failed
configure:6900: checking how to run the C preprocessor
configure:6940: gcc -E conftest.c
configure:6947: $? = 0
configure:6978: gcc -E conftest.c
conftest.c:16:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6985: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7018: result: gcc -E
configure:7047: gcc -E conftest.c
configure:7054: $? = 0
configure:7085: gcc -E conftest.c
conftest.c:16:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7092: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7132: checking for ANSI C header files
configure:7162: gcc -c -g -O2 conftest.c >&5
configure:7169: $? = 0
configure:7268: gcc -o conftest -g -O2 conftest.c >&5
configure:7272: $? = 0
configure:7278: ./conftest
configure:7282: $? = 0
configure:7300: result: yes
configure:7324: checking for sys/types.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for sys/stat.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for stdlib.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for string.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for memory.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for strings.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for inttypes.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for stdint.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7324: checking for unistd.h
configure:7345: gcc -c -g -O2 conftest.c >&5
configure:7352: $? = 0
configure:7369: result: yes
configure:7387: checking for dlfcn.h
configure:7408: gcc -c -g -O2 conftest.c >&5
configure:7415: $? = 0
configure:7432: result: yes
configure:7618: checking for objdir
configure:7633: result: .libs
configure:7929: checking if gcc supports -fno-rtti -fno-exceptions
configure:7947: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:7951: $? = 0
configure:7964: result: no
configure:7984: checking for gcc option to produce PIC
configure:8256: result: -fPIC -DPIC
configure:8268: checking if gcc PIC flag -fPIC -DPIC works
configure:8286: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8290: $? = 0
configure:8303: result: yes
configure:8327: checking if gcc static flag -static works
configure:8355: result: yes
configure:8370: checking if gcc supports -c -o file.o
configure:8391: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8395: $? = 0
configure:8417: result: yes
configure:8425: checking if gcc supports -c -o file.o
configure:8472: result: yes
configure:8505: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9579: result: yes
configure:9616: checking whether -lc should be explicitly linked in
configure:9621: gcc -c -g -O2 conftest.c >&5
configure:9624: $? = 0
configure:9639: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9642: $? = 0
configure:9654: result: no
configure:9818: checking dynamic linker characteristics
configure:10504: result: no
configure:10606: checking how to hardcode library paths into programs
configure:10631: result: immediate
configure:11464: checking whether stripping libraries is possible
configure:11469: result: yes
configure:11504: checking if libtool supports shared libraries
configure:11506: result: no
configure:11509: checking whether to build shared libraries
configure:11530: result: no
configure:11533: checking whether to build static libraries
configure:11537: result: yes
configure:11581: checking dependency style of gcc
configure:11689: result: gcc3
configure:11705: checking whether gcc and cc understand -c and -o together
configure:11740: gcc -c conftest.c -o conftest2.o >&5
configure:11744: $? = 0
configure:11750: gcc -c conftest.c -o conftest2.o >&5
configure:11754: $? = 0
configure:11765: cc -c conftest.c >&5
configure:11769: $? = 0
configure:11777: cc -c conftest.c -o conftest2.o >&5
configure:11781: $? = 0
configure:11787: cc -c conftest.c -o conftest2.o >&5
configure:11791: $? = 0
configure:11809: result: yes
configure:11849: checking whether to build with code coverage support
configure:11869: result: no
configure:12221: checking zfs author
configure:12223: result: OpenZFS on Linux
configure:12226: checking zfs license
configure:12228: result: CDDL
configure:12233: checking linux distribution
configure:12260: result: ubuntu
configure:12264: checking default package type
configure:12280: result: deb
configure:12285: checking default init directory
configure:12287: result: ${prefix}/etc/init.d
configure:12291: checking default init script type
configure:12307: result: lsb
configure:12311: checking default init config direectory
configure:12324: result: /etc/default
configure:12328: checking whether initramfs-tools is available
configure:12332: result: yes
configure:12345: checking whether rpm is available
configure:12357: result: no
configure:12363: checking whether rpmbuild is available
configure:12375: result: no
configure:12434: checking whether spec files are available
configure:12436: result: yes (rpm/generic/*.spec.in)
configure:12461: checking whether dpkg is available
configure:12467: result: yes (1.18.4)
configure:12479: checking whether dpkg-buildpackage is available
configure:12486: result: yes (1.18.4.)
configure:12509: checking whether alien is available
configure:12521: result: no
configure:12548: checking zfs config
configure:12550: result: all
configure:12556: checking for -Wno-unused-but-set-variable support
configure:12583: gcc -c -g -O2 -Wunused-but-set-variable conftest.c >&5
configure:12590: $? = 0
configure:12597: result: yes
configure:12617: checking for -Wno-bool-compare support
configure:12644: gcc -c -g -O2 -Wbool-compare conftest.c >&5
configure:12651: $? = 0
configure:12658: result: yes
configure:13733: checking for target asm dir
configure:13771: result: asm-generic
configure:31030: checking for udev directories
configure:31075: result: /lib/udev;/lib/udev/rules.d
configure:31126: checking for systemd support
configure:31128: result: yes
configure:31169: checking for dracut directory
configure:31204: result: /usr/lib/dracut
configure:31220: checking zlib.h usability
configure:31237: gcc -c -g -O2 conftest.c >&5
configure:31244: $? = 0
configure:31258: result: yes
configure:31262: checking zlib.h presence
configure:31277: gcc -E conftest.c
configure:31284: $? = 0
configure:31298: result: yes
configure:31326: checking for zlib.h
configure:31333: result: yes
configure:31353: checking for library containing compress2
configure:31394: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccov3hz9.o: In function `main':
/home/mayli/filer/zfs/zfs-0.7.9/conftest.c:39: undefined reference to `compress2'
collect2: error: ld returned 1 exit status
configure:31401: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char compress2 ();
| int
| main ()
| {
| return compress2 ();
| ;
| return 0;
| }
configure:31394: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:31401: $? = 0
configure:31432: result: -lz
configure:31451: checking for library containing uncompress
configure:31492: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:31499: $? = 0
configure:31530: result: none required
configure:31549: checking for library containing crc32
configure:31590: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:31597: $? = 0
configure:31628: result: none required
configure:31668: checking uuid/uuid.h usability
configure:31685: gcc -c -g -O2 conftest.c >&5
configure:31692: $? = 0
configure:31706: result: yes
configure:31710: checking uuid/uuid.h presence
configure:31725: gcc -E conftest.c
configure:31732: $? = 0
configure:31746: result: yes
configure:31774: checking for uuid/uuid.h
configure:31781: result: yes
configure:31801: checking for library containing uuid_generate
configure:31842: gcc -o conftest -g -O2 conftest.c -lz >&5
/tmp/ccTlKDRq.o: In function `main':
/home/mayli/filer/zfs/zfs-0.7.9/conftest.c:40: undefined reference to `uuid_generate'
collect2: error: ld returned 1 exit status
configure:31849: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char uuid_generate ();
| int
| main ()
| {
| return uuid_generate ();
| ;
| return 0;
| }
configure:31842: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
configure:31849: $? = 0
configure:31880: result: -luuid
configure:31899: checking for library containing uuid_is_null
configure:31940: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
configure:31947: $? = 0
configure:31978: result: none required
configure:32019: checking for xdrmem_create in -ltirpc
configure:32054: gcc -o conftest -g -O2 conftest.c -ltirpc -luuid -lz >&5
/usr/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
configure:32061: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xdrmem_create ();
| int
| main ()
| {
| return xdrmem_create ();
| ;
| return 0;
| }
configure:32082: result: no
configure:32105: checking for library containing xdrmem_create
configure:32146: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
configure:32153: $? = 0
configure:32184: result: none required
configure:32318: checking blkid/blkid.h usability
configure:32335: gcc -c -g -O2 conftest.c >&5
configure:32342: $? = 0
configure:32356: result: yes
configure:32360: checking blkid/blkid.h presence
configure:32375: gcc -E conftest.c
configure:32382: $? = 0
configure:32396: result: yes
configure:32424: checking for blkid/blkid.h
configure:32431: result: yes
configure:32472: checking libudev.h usability
configure:32489: gcc -c -g -O2 conftest.c >&5
conftest.c:64:21: fatal error: libudev.h: No such file or directory
compilation terminated.
configure:32496: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libudev.h>
configure:32510: result: no
configure:32514: checking libudev.h presence
configure:32529: gcc -E conftest.c
conftest.c:31:21: fatal error: libudev.h: No such file or directory
compilation terminated.
configure:32536: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
| #include <libudev.h>
configure:32550: result: no
configure:32578: checking for libudev.h
configure:32585: result: no
configure:32608: checking for library containing udev_device_get_is_initialized
configure:32649: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
/tmp/cc5Uxuy8.o: In function `main':
/home/mayli/filer/zfs/zfs-0.7.9/conftest.c:42: undefined reference to `udev_device_get_is_initialized'
collect2: error: ld returned 1 exit status
configure:32656: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char udev_device_get_is_initialized ();
| int
| main ()
| {
| return udev_device_get_is_initialized ();
| ;
| return 0;
| }
configure:32649: gcc -o conftest -g -O2 conftest.c -ludev -luuid -lz >&5
/usr/bin/ld: cannot find -ludev
collect2: error: ld returned 1 exit status
configure:32656: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char udev_device_get_is_initialized ();
| int
| main ()
| {
| return udev_device_get_is_initialized ();
| ;
| return 0;
| }
configure:32687: result: no
configure:32703: checking for -Wframe-larger-than=<size> support
configure:32730: gcc -c -g -O2 -Wframe-larger-than=1024 conftest.c >&5
configure:32737: $? = 0
configure:32744: result: yes
configure:32776: checking libaio.h usability
configure:32793: gcc -c -g -O2 conftest.c >&5
conftest.c:64:20: fatal error: libaio.h: No such file or directory
compilation terminated.
configure:32800: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libaio.h>
configure:32814: result: no
configure:32818: checking libaio.h presence
configure:32833: gcc -E conftest.c
conftest.c:31:20: fatal error: libaio.h: No such file or directory
compilation terminated.
configure:32840: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| /* end confdefs.h. */
| #include <libaio.h>
configure:32854: result: no
configure:32882: checking for libaio.h
configure:32889: result: no
configure:32919: checking makedev() is declared in sys/sysmacros.h
configure:32947: gcc -c -g -O2 conftest.c >&5
configure:32954: $? = 0
configure:32960: result: yes
configure:32981: checking makedev() is declared in sys/mkdev.h
configure:33009: gcc -c -g -O2 conftest.c >&5
conftest.c:33:25: fatal error: sys/mkdev.h: No such file or directory
compilation terminated.
configure:33016: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| /* end confdefs.h. */
|
| #include <sys/mkdev.h>
|
| int
| main ()
| {
|
| int k;
| k = makedev(0,0);
|
| ;
| return 0;
| }
configure:33035: result: no
configure:33043: checking for -Wno-format-truncation support
configure:33070: gcc -c -g -O2 -Wno-format-truncation conftest.c >&5
configure:33077: $? = 0
configure:33084: result: yes
configure:33115: checking for mlockall
configure:33171: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
configure:33178: $? = 0
configure:33200: result: yes
configure:33229: checking kernel source directory
configure:33276: result: /home/mayli/filer/kernel/4.4.52/
configure:33293: checking kernel build directory
configure:33322: result: /home/mayli/filer/kernel/4.4.52/
configure:33325: checking kernel source version
configure:33384: result: 4.4.52-armada-17.06.2-gcaa3a4f
configure:33397: checking kernel file name for module symbols
configure:33435: result: Module.symvers
configure:33479: checking spl source directory
configure:33540: result: ../spl-0.7.9
configure:33563: checking spl build directory
configure:33606: result: ../spl-0.7.9
configure:33629: checking spl source version
configure:33658: result: 0.7.9-1
configure:33669: checking spl file name for module symbols
configure:33713: result: Module.symvers
configure:33840: checking whether modules can be built
configure:33874: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:33877: $? = 0
configure:33879: test -s build/conftest.o
configure:33882: $? = 0
configure:33885: result: yes
configure:33917: checking for compile-time stack validation (objtool)
configure:33958: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:66:25: fatal error: asm/frame.h: No such file or directory
compilation terminated.
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:33961: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| /* end confdefs.h. */
|
|
| #undef __ASSEMBLY__
| #include <asm/frame.h>
|
| int
| main (void)
| {
|
| #if !defined(FRAME_BEGIN)
| CTASSERT(1);
| #endif
|
| ;
| return 0;
| }
|
configure:33981: result: no
configure:34031: gcc -o conftest -g -O2 conftest.c -luuid -lz >&5
In file included from conftest.c:35:0:
/home/mayli/filer/kernel/4.4.52//include/linux/license.h: In function 'license_is_gpl_compatible':
/home/mayli/filer/kernel/4.4.52//include/linux/license.h:6:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
return (strcmp(license, "GPL") == 0
^
configure:34035: $? = 0
configure:34041: ./conftest
configure:34045: $? = 1
configure: program exited with status 1
configure: failed program was:
|
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| /* end confdefs.h. */
|
| #include "/home/mayli/filer/kernel/4.4.52//include/linux/license.h"
|
| int
| main ()
| {
|
| return !license_is_gpl_compatible("CDDL");
|
| ;
| return 0;
| }
|
configure:34073: checking whether kernel was built with 16K or larger stacks
configure:34113: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34116: $? = 0
configure:34118: test -s build/conftest.o
configure:34121: $? = 0
configure:34124: result: yes
configure:34149: checking whether kernel was built with CONFIG_DEBUG_LOCK_ALLOC
configure:34189: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:74:4: error: #error CONFIG_DEBUG_LOCK_ALLOC not #defined
#error CONFIG_DEBUG_LOCK_ALLOC not #defined
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:34192: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| /* end confdefs.h. */
|
|
| #include <linux/module.h>
|
| int
| main (void)
| {
|
| #ifndef CONFIG_DEBUG_LOCK_ALLOC
| #error CONFIG_DEBUG_LOCK_ALLOC not #defined
| #endif
|
| ;
| return 0;
| }
|
configure:34295: result: no
configure:34313: checking whether DECLARE_EVENT_CLASS() is available
configure:34389: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -I$(src) M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34392: $? = 0
configure:34394: test -s build/conftest.o
configure:34397: $? = 0
configure:34400: result: yes
configure:34425: checking whether current->bio_tail exists
configure:34463: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:75:10: error: 'struct task_struct' has no member named 'bio_tail'
current->bio_tail = (struct bio **) NULL;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:34466: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| /* end confdefs.h. */
|
|
| #include <linux/sched.h>
|
| int
| main (void)
| {
|
| current->bio_tail = (struct bio **) NULL;
|
| ;
| return 0;
| }
|
configure:34486: result: no
configure:34488: checking whether current->bio_list exists
configure:34526: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34529: $? = 0
configure:34531: test -s build/conftest.o
configure:34534: $? = 0
configure:34537: result: yes
configure:34572: checking whether super_block->s_user_ns exists
configure:34612: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:79:8: error: 'struct super_block' has no member named 's_user_ns'
super.s_user_ns = (struct user_namespace *)NULL;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:34615: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/user_namespace.h>
|
| int
| main (void)
| {
|
| struct super_block super;
| super.s_user_ns = (struct user_namespace *)NULL;
|
| ;
| return 0;
| }
|
configure:34635: result: no
configure:34647: checking whether submit_bio() wants 1 arg
configure:34687: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:79:23: error: passing argument 1 of 'submit_bio' makes integer from pointer without a cast [-Werror=int-conversion]
blk_qc = submit_bio(bio);
^
In file included from include/linux/highmem.h:4:0,
from include/linux/bio.h:23,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:71:
include/linux/fs.h:2656:17: note: expected 'int' but argument is of type 'struct bio *'
extern blk_qc_t submit_bio(int, struct bio *);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:79:12: error: too few arguments to function 'submit_bio'
blk_qc = submit_bio(bio);
^
In file included from include/linux/highmem.h:4:0,
from include/linux/bio.h:23,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:71:
include/linux/fs.h:2656:17: note: declared here
extern blk_qc_t submit_bio(int, struct bio *);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:34690: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| blk_qc_t blk_qc;
| struct bio *bio = NULL;
| blk_qc = submit_bio(bio);
|
| ;
| return 0;
| }
|
configure:34710: result: no
configure:34722: checking block device operation prototypes
configure:34776: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34779: $? = 0
configure:34781: test -s build/conftest.o
configure:34784: $? = 0
configure:34787: result: struct block_device
configure:34812: checking whether block_device_operations.release is void
configure:34861: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34864: $? = 0
configure:34866: test -s build/conftest.o
configure:34869: $? = 0
configure:34872: result: void
configure:34896: checking whether kernel defines fmode_t
configure:34934: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:34937: $? = 0
configure:34939: test -s build/conftest.o
configure:34942: $? = 0
configure:34945: result: yes
configure:34969: checking whether blkdev_get() wants 3 args
configure:35008: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35011: $? = 0
configure:35013: test -s build/conftest.o
configure:35016: $? = 0
configure:35019: result: yes
configure:35042: checking whether blkdev_get_by_path() is available
configure:35081: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35084: $? = 0
configure:35086: test -s build/conftest.o
configure:35089: $? = 0
configure:35142: result: yes
configure:35154: checking whether open_bdev_exclusive() is available
configure:35193: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:87:3: error: implicit declaration of function 'open_bdev_exclusive' [-Werror=implicit-function-declaration]
open_bdev_exclusive(NULL, 0, NULL);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:35196: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| open_bdev_exclusive(NULL, 0, NULL);
|
| ;
| return 0;
| }
|
configure:35217: result: no
configure:35266: checking whether lookup_bdev() wants 1 arg
configure:35305: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35308: $? = 0
configure:35310: test -s build/conftest.o
configure:35313: $? = 0
configure:35588: result: yes
configure:35601: checking whether invalidate_bdev() wants 1 arg
configure:35640: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35643: $? = 0
configure:35645: test -s build/conftest.o
configure:35648: $? = 0
configure:35651: result: yes
configure:35675: checking whether bdev_logical_block_size() is available
configure:35716: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35719: $? = 0
configure:35721: test -s build/conftest.o
configure:35724: $? = 0
configure:35727: result: yes
configure:35752: checking whether bdev_physical_block_size() is available
configure:35793: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35796: $? = 0
configure:35798: test -s build/conftest.o
configure:35801: $? = 0
configure:35804: result: yes
configure:35829: checking whether bio has bi_iter
configure:35868: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:35871: $? = 0
configure:35873: test -s build/conftest.o
configure:35876: $? = 0
configure:35879: result: yes
configure:35903: checking whether BIO_RW_FAILFAST_* are defined
configure:35944: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:98:18: error: 'BIO_RW_FAILFAST_DEV' undeclared (first use in this function)
flags = ((1 << BIO_RW_FAILFAST_DEV) |
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:98:18: note: each undeclared identifier is reported only once for each function it appears in
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:11: error: 'BIO_RW_FAILFAST_TRANSPORT' undeclared (first use in this function)
(1 << BIO_RW_FAILFAST_TRANSPORT) |
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:100:11: error: 'BIO_RW_FAILFAST_DRIVER' undeclared (first use in this function)
(1 << BIO_RW_FAILFAST_DRIVER));
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:35947: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| int flags __attribute__ ((unused));
| flags = ((1 << BIO_RW_FAILFAST_DEV) |
| (1 << BIO_RW_FAILFAST_TRANSPORT) |
| (1 << BIO_RW_FAILFAST_DRIVER));
|
| ;
| return 0;
| }
|
configure:35967: result: no
configure:35979: checking whether bio_set_dev() exists
configure:36020: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:100:3: error: implicit declaration of function 'bio_set_dev' [-Werror=implicit-function-declaration]
bio_set_dev(bio, bdev);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36023: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| struct block_device *bdev = NULL;
| struct bio *bio = NULL;
| bio_set_dev(bio, bdev);
|
| ;
| return 0;
| }
|
configure:36043: result: no
configure:36055: checking whether REQ_FAILFAST_MASK is defined
configure:36094: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:36097: $? = 0
configure:36099: test -s build/conftest.o
configure:36102: $? = 0
configure:36105: result: yes
configure:36129: checking whether REQ_OP_DISCARD is defined
configure:36167: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: error: 'REQ_OP_DISCARD' undeclared (first use in this function)
int op __attribute__ ((unused)) = REQ_OP_DISCARD;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36170: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* end confdefs.h. */
|
|
| #include <linux/blk_types.h>
|
| int
| main (void)
| {
|
| int op __attribute__ ((unused)) = REQ_OP_DISCARD;
|
| ;
| return 0;
| }
|
configure:36190: result: no
configure:36202: checking whether REQ_OP_SECURE_ERASE is defined
configure:36240: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: error: 'REQ_OP_SECURE_ERASE' undeclared (first use in this function)
int op __attribute__ ((unused)) = REQ_OP_SECURE_ERASE;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36243: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* end confdefs.h. */
|
|
| #include <linux/blk_types.h>
|
| int
| main (void)
| {
|
| int op __attribute__ ((unused)) = REQ_OP_SECURE_ERASE;
|
| ;
| return 0;
| }
|
configure:36263: result: no
configure:36275: checking whether REQ_OP_FLUSH is defined
configure:36313: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: error: 'REQ_OP_FLUSH' undeclared (first use in this function)
int op __attribute__ ((unused)) = REQ_OP_FLUSH;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:99:37: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36316: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* end confdefs.h. */
|
|
| #include <linux/blk_types.h>
|
| int
| main (void)
| {
|
| int op __attribute__ ((unused)) = REQ_OP_FLUSH;
|
| ;
| return 0;
| }
|
configure:36336: result: no
configure:36348: checking whether bio->bi_opf is defined
configure:36387: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:100:6: error: 'struct bio' has no member named 'bi_opf'
bio.bi_opf = 0;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36390: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| struct bio bio __attribute__ ((unused));
| bio.bi_opf = 0;
|
| ;
| return 0;
| }
|
configure:36410: result: no
configure:36422: checking whether bio_end_io_t wants 1 arg
configure:36463: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:36466: $? = 0
configure:36468: test -s build/conftest.o
configure:36471: $? = 0
configure:36474: result: yes
configure:36498: checking whether bio->bi_status exists
configure:36539: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:3: error: unknown type name 'blk_status_t'
blk_status_t status __attribute__ ((unused)) = BLK_STS_OK;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:50: error: 'BLK_STS_OK' undeclared (first use in this function)
blk_status_t status __attribute__ ((unused)) = BLK_STS_OK;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:50: note: each undeclared identifier is reported only once for each function it appears in
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:104:6: error: 'struct bio' has no member named 'bi_status'
bio.bi_status = status;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36542: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| struct bio bio __attribute__ ((unused));
| blk_status_t status __attribute__ ((unused)) = BLK_STS_OK;
|
| bio.bi_status = status;
|
| ;
| return 0;
| }
|
configure:36562: result: no
configure:36574: checking whether BIO_RW_BARRIER is defined
configure:36613: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:11: error: 'BIO_RW_BARRIER' undeclared (first use in this function)
flags = BIO_RW_BARRIER;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:11: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36616: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| int flags __attribute__ ((unused));
| flags = BIO_RW_BARRIER;
|
| ;
| return 0;
| }
|
configure:36636: result: no
configure:36648: checking whether BIO_RW_DISCARD is defined
configure:36687: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:11: error: 'BIO_RW_DISCARD' undeclared (first use in this function)
flags = BIO_RW_DISCARD;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:102:11: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36690: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| int flags __attribute__ ((unused));
| flags = BIO_RW_DISCARD;
|
| ;
| return 0;
| }
|
configure:36710: result: no
configure:36722: checking whether blk_queue bdi is dynamic
configure:36762: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:103:22: error: incompatible types when assigning to type 'struct backing_dev_info' from type 'struct backing_dev_info *'
q.backing_dev_info = &bdi;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36765: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/blkdev.h>
|
| int
| main (void)
| {
|
| struct request_queue q;
| struct backing_dev_info bdi;
| q.backing_dev_info = &bdi;
|
| ;
| return 0;
| }
|
configure:36785: result: no
configure:36797: checking whether blk_queue_flag_clear() exists
configure:36837: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:103:3: error: implicit declaration of function 'blk_queue_flag_clear' [-Werror=implicit-function-declaration]
blk_queue_flag_clear(0, q);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36840: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/kernel.h>
| #include <linux/blkdev.h>
|
| int
| main (void)
| {
|
| struct request_queue *q = NULL;
| blk_queue_flag_clear(0, q);
|
| ;
| return 0;
| }
|
configure:36861: result: no
configure:36873: checking whether blk_queue_flag_set() exists
configure:36913: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:103:3: error: implicit declaration of function 'blk_queue_flag_set' [-Werror=implicit-function-declaration]
blk_queue_flag_set(0, q);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:36916: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| /* end confdefs.h. */
|
|
| #include <linux/kernel.h>
| #include <linux/blkdev.h>
|
| int
| main (void)
| {
|
| struct request_queue *q = NULL;
| blk_queue_flag_set(0, q);
|
| ;
| return 0;
| }
|
configure:36936: result: no
configure:36948: checking whether blk_queue_flush() is available
configure:36989: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:36992: $? = 0
configure:36994: test -s build/conftest.o
configure:36997: $? = 0
configure:37000: result: yes
configure:37008: checking whether blk_queue_flush() is GPL-only
configure:37050: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
FATAL: modpost: GPL-incompatible module conftest.ko uses GPL-only symbol 'blk_queue_flush'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
configure:37053: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| /* end confdefs.h. */
|
|
| #include <linux/module.h>
| #include <linux/blkdev.h>
|
| MODULE_LICENSE("CDDL");
|
| int
| main (void)
| {
|
| struct request_queue *q = NULL;
| (void) blk_queue_flush(q, REQ_FLUSH);
|
| ;
| return 0;
| }
|
configure:37068: result: yes
configure:37099: checking whether blk_queue_write_cache() exists
configure:37140: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:108:3: error: implicit declaration of function 'blk_queue_write_cache' [-Werror=implicit-function-declaration]
blk_queue_write_cache(q, true, true);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:37143: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| /* end confdefs.h. */
|
|
| #include <linux/kernel.h>
| #include <linux/blkdev.h>
|
|
| int
| main (void)
| {
|
| struct request_queue *q = NULL;
| blk_queue_write_cache(q, true, true);
|
| ;
| return 0;
| }
|
configure:37240: result: no
configure:37254: checking whether blk_queue_max_hw_sectors() is available
configure:37295: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37298: $? = 0
configure:37300: test -s build/conftest.o
configure:37303: $? = 0
configure:37306: result: yes
configure:37331: checking whether blk_queue_max_segments() is available
configure:37372: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37375: $? = 0
configure:37377: test -s build/conftest.o
configure:37380: $? = 0
configure:37383: result: yes
configure:37408: checking whether the BIO_RW_UNPLUG enum is available
configure:37450: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:111:8: error: 'BIO_RW_UNPLUG' undeclared (first use in this function)
rw = BIO_RW_UNPLUG;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:111:8: note: each undeclared identifier is reported only once for each function it appears in
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:111:3: error: 'rw' has an incomplete type
rw = BIO_RW_UNPLUG;
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:37453: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| /* end confdefs.h. */
|
|
| #include <linux/blkdev.h>
|
| int
| main (void)
| {
|
| extern enum bio_rw_flags rw;
|
| rw = BIO_RW_UNPLUG;
|
| ;
| return 0;
| }
|
configure:37473: result: no
configure:37486: checking whether struct blk_plug is available
configure:37529: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37532: $? = 0
configure:37534: test -s build/conftest.o
configure:37537: $? = 0
configure:37540: result: yes
configure:37564: checking whether get_disk_and_module() is available
configure:37604: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:112:10: error: implicit declaration of function 'get_disk_and_module' [-Werror=implicit-function-declaration]
(void) get_disk_and_module(disk);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:37607: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| /* end confdefs.h. */
|
|
| #include <linux/genhd.h>
|
| int
| main (void)
| {
|
| struct gendisk *disk = NULL;
| (void) get_disk_and_module(disk);
|
| ;
| return 0;
| }
|
configure:37628: result: no
configure:37678: checking whether get_disk_ro() is available
configure:37719: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37722: $? = 0
configure:37724: test -s build/conftest.o
configure:37727: $? = 0
configure:37730: result: yes
configure:37754: checking whether get_gendisk() is available
configure:37793: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37796: $? = 0
configure:37798: test -s build/conftest.o
configure:37801: $? = 0
configure:37854: result: yes
configure:37867: checking whether bio_set_op_attrs is available
configure:37907: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:117:3: error: implicit declaration of function 'bio_set_op_attrs' [-Werror=implicit-function-declaration]
bio_set_op_attrs(bio, 0, 0);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:37910: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| int
| main (void)
| {
|
| struct bio *bio __attribute__ ((unused)) = NULL;
|
| bio_set_op_attrs(bio, 0, 0);
|
| ;
| return 0;
| }
|
configure:37930: result: no
configure:37942: checking whether generic_readlink is global
configure:37982: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:37985: $? = 0
configure:37987: test -s build/conftest.o
configure:37990: $? = 0
configure:37993: result: yes
configure:38017: checking whether ql->discard_granularity is available
configure:38057: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:38060: $? = 0
configure:38062: test -s build/conftest.o
configure:38065: $? = 0
configure:38068: result: yes
configure:38092: checking whether super_block uses const struct xattr_handler
configure:38144: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:38147: $? = 0
configure:38149: test -s build/conftest.o
configure:38152: $? = 0
configure:38155: result: yes
configure:38179: checking whether xattr_handler has name
configure:38221: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:119:4: error: unknown field 'name' specified in initializer
.name = XATTR_NAME_POSIX_ACL_ACCESS,
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:38224: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| /* end confdefs.h. */
|
|
| #include <linux/xattr.h>
|
| static const struct xattr_handler
| xops __attribute__ ((unused)) = {
| .name = XATTR_NAME_POSIX_ACL_ACCESS,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:38244: result: no
configure:38256: checking whether xattr_handler->get() wants both dentry and inode
configure:38301: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:122:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get = get,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:122:11: note: (near initialization for 'xops.get')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:38304: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| /* end confdefs.h. */
|
|
| #include <linux/xattr.h>
|
| int get(const struct xattr_handler *handler,
| struct dentry *dentry, struct inode *inode,
| const char *name, void *buffer, size_t size) { return 0; }
| static const struct xattr_handler
| xops __attribute__ ((unused)) = {
| .get = get,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:38324: result: no
configure:38326: checking whether xattr_handler->get() wants xattr_handler
configure:38371: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:38374: $? = 0
configure:38376: test -s build/conftest.o
configure:38379: $? = 0
configure:38382: result: yes
configure:38570: checking whether xattr_handler->set() wants both dentry and inode
configure:38617: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:126:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.set = set,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:126:11: note: (near initialization for 'xops.set')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:38620: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| /* end confdefs.h. */
|
|
| #include <linux/xattr.h>
|
| int set(const struct xattr_handler *handler,
| struct dentry *dentry, struct inode *inode,
| const char *name, const void *buffer,
| size_t size, int flags)
| { return 0; }
| static const struct xattr_handler
| xops __attribute__ ((unused)) = {
| .set = set,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:38640: result: no
configure:38642: checking whether xattr_handler->set() wants xattr_handler
configure:38688: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:38691: $? = 0
configure:38693: test -s build/conftest.o
configure:38696: $? = 0
configure:38699: result: yes
configure:38888: checking whether xattr_handler->list() wants simple
configure:38931: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:124:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.list = list,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:124:12: note: (near initialization for 'xops.list')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:38934: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| /* end confdefs.h. */
|
|
| #include <linux/xattr.h>
|
| bool list(struct dentry *dentry) { return 0; }
| static const struct xattr_handler
| xops __attribute__ ((unused)) = {
| .list = list,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:38954: result: no
configure:38956: checking whether xattr_handler->list() wants xattr_handler
configure:39001: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:39004: $? = 0
configure:39006: test -s build/conftest.o
configure:39009: $? = 0
configure:39012: result: yes
configure:39202: checking whether inode_owner_or_capable() exists
configure:39241: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:39244: $? = 0
configure:39246: test -s build/conftest.o
configure:39249: $? = 0
configure:39252: result: yes
configure:39352: checking whether posix_acl_from_xattr() needs user_ns
configure:39392: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
WARNING: "posix_acl_from_xattr" [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.ko] undefined!
configure:39395: $? = 0
configure:39397: test -s build/conftest.o
configure:39400: $? = 0
configure:39403: result: yes
configure:39427: checking whether posix_acl_release() is available
configure:39468: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
WARNING: "posix_acl_alloc" [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.ko] undefined!
configure:39471: $? = 0
configure:39473: test -s build/conftest.o
configure:39476: $? = 0
configure:39479: result: yes
configure:39487: checking whether posix_acl_release() is GPL-only
configure:39531: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
FATAL: modpost: GPL-incompatible module conftest.ko uses GPL-only symbol 'kfree_call_rcu'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
configure:39534: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| /* end confdefs.h. */
|
|
| #include <linux/module.h>
| #include <linux/cred.h>
| #include <linux/fs.h>
| #include <linux/posix_acl.h>
|
| MODULE_LICENSE("CDDL");
|
| int
| main (void)
| {
|
| struct posix_acl* tmp = posix_acl_alloc(1, 0);
| posix_acl_release(tmp);
|
| ;
| return 0;
| }
|
configure:39549: result: yes
configure:39581: checking whether set_cached_acl() is usable
configure:39627: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:142:3: error: implicit declaration of function 'set_cached_acl' [-Werror=implicit-function-declaration]
set_cached_acl(ip, ACL_TYPE_ACCESS, acl);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:143:3: error: implicit declaration of function 'forget_cached_acl' [-Werror=implicit-function-declaration]
forget_cached_acl(ip, ACL_TYPE_ACCESS);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:39630: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| /* end confdefs.h. */
|
|
| #include <linux/module.h>
| #include <linux/cred.h>
| #include <linux/fs.h>
| #include <linux/posix_acl.h>
|
| MODULE_LICENSE("CDDL");
|
| int
| main (void)
| {
|
| struct inode *ip = NULL;
| struct posix_acl *acl = posix_acl_alloc(1, 0);
| set_cached_acl(ip, ACL_TYPE_ACCESS, acl);
| forget_cached_acl(ip, ACL_TYPE_ACCESS);
|
| ;
| return 0;
| }
|
configure:39650: result: no
configure:39662: checking whether posix_acl_chmod exists
configure:39701: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:136:3: error: too many arguments to function 'posix_acl_chmod'
posix_acl_chmod(NULL, 0, 0)
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:130:0:
include/linux/posix_acl.h:116:19: note: declared here
static inline int posix_acl_chmod(struct inode *inode, umode_t mode)
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:39704: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/posix_acl.h>
|
| int
| main (void)
| {
|
| posix_acl_chmod(NULL, 0, 0)
|
| ;
| return 0;
| }
|
configure:39724: result: no
configure:39735: checking whether __posix_acl_chmod exists
configure:39774: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
WARNING: "__posix_acl_chmod" [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.ko] undefined!
configure:39777: $? = 0
configure:39779: test -s build/conftest.o
configure:39782: $? = 0
configure:39785: result: yes
configure:39809: checking whether posix_acl_equiv_mode() wants umode_t
configure:39849: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
WARNING: "posix_acl_equiv_mode" [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.ko] undefined!
configure:39852: $? = 0
configure:39854: test -s build/conftest.o
configure:39857: $? = 0
configure:39860: result: yes
configure:39884: checking whether posix_acl_valid() wants user namespace
configure:39927: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:144:27: error: passing argument 1 of 'posix_acl_valid' from incompatible pointer type [-Werror=incompatible-pointer-types]
error = posix_acl_valid(user_ns, acl);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:134:0:
include/linux/posix_acl.h:84:12: note: expected 'const struct posix_acl *' but argument is of type 'struct user_namespace *'
extern int posix_acl_valid(const struct posix_acl *);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:144:11: error: too many arguments to function 'posix_acl_valid'
error = posix_acl_valid(user_ns, acl);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:134:0:
include/linux/posix_acl.h:84:12: note: declared here
extern int posix_acl_valid(const struct posix_acl *);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:39930: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/posix_acl.h>
|
| int
| main (void)
| {
|
| struct user_namespace *user_ns = NULL;
| const struct posix_acl *acl = NULL;
| int error;
|
| error = posix_acl_valid(user_ns, acl);
|
| ;
| return 0;
| }
|
configure:39950: result: no
configure:39962: checking whether iops->permission() exists
configure:40006: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40009: $? = 0
configure:40011: test -s build/conftest.o
configure:40014: $? = 0
configure:40017: result: yes
configure:40041: checking whether iops->permission() wants nameidata
configure:40087: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:143:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.permission = permission_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:143:18: note: (near initialization for 'iops.permission')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40090: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/sched.h>
|
| int permission_fn(struct inode *inode, int mask,
| struct nameidata *nd) { return 0; }
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .permission = permission_fn,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:40115: result: no
configure:40127: checking whether iops->check_acl() exists
configure:40171: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:141:4: error: unknown field 'check_acl' specified in initializer
.check_acl = check_acl_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:141:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.check_acl = check_acl_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:141:17: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40174: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int check_acl_fn(struct inode *inode, int mask) { return 0; }
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .check_acl = check_acl_fn,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:40194: result: no
configure:40206: checking whether iops->check_acl() wants flags
configure:40251: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:142:4: error: unknown field 'check_acl' specified in initializer
.check_acl = check_acl_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:142:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.check_acl = check_acl_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:142:17: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40254: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int check_acl_fn(struct inode *inode, int mask,
| unsigned int flags) { return 0; }
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .check_acl = check_acl_fn,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:40279: result: no
configure:40291: checking whether iops->get_acl() exists
configure:40336: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40339: $? = 0
configure:40341: test -s build/conftest.o
configure:40344: $? = 0
configure:40347: result: yes
configure:40371: checking whether iops->set_acl() exists
configure:40416: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40419: $? = 0
configure:40421: test -s build/conftest.o
configure:40424: $? = 0
configure:40427: result: yes
configure:40452: checking whether iops->getattr() takes a path
configure:40499: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:148:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.getattr = test_getattr,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:148:15: note: (near initialization for 'iops.getattr')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40502: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int test_getattr(
| const struct path *p, struct kstat *k,
| u32 request_mask, unsigned int query_flags)
| { return 0; }
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .getattr = test_getattr,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:40522: result: no
configure:40534: checking whether iops->getattr() takes a vfsmount
configure:40581: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40584: $? = 0
configure:40586: test -s build/conftest.o
configure:40589: $? = 0
configure:40592: result: yes
configure:40617: checking whether inode_set_flags() exists
configure:40656: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40659: $? = 0
configure:40661: test -s build/conftest.o
configure:40664: $? = 0
configure:40667: result: yes
configure:40691: checking whether inode_set_iversion() exists
configure:40730: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:143:30: fatal error: linux/iversion.h: No such file or directory
compilation terminated.
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40733: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| /* end confdefs.h. */
|
|
| #include <linux/iversion.h>
|
| int
| main (void)
| {
|
| struct inode inode;
| inode_set_iversion(&inode, 1);
|
| ;
| return 0;
| }
|
configure:40753: result: no
configure:40765: checking whether uncached_acl_sentinel() exists
configure:40803: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:149:45: error: implicit declaration of function 'uncached_acl_sentinel' [-Werror=implicit-function-declaration]
void *sentinel __attribute__ ((unused)) = uncached_acl_sentinel(NULL);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:149:45: error: initialization makes pointer from integer without a cast [-Werror=int-conversion]
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:40806: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| void *sentinel __attribute__ ((unused)) = uncached_acl_sentinel(NULL);
|
| ;
| return 0;
| }
|
configure:40826: result: no
configure:40838: checking whether sops->show_options() wants dentry
configure:40881: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40884: $? = 0
configure:40886: test -s build/conftest.o
configure:40889: $? = 0
configure:40892: result: yes
configure:40916: checking whether file_inode() is available
configure:40955: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:40958: $? = 0
configure:40960: test -s build/conftest.o
configure:40963: $? = 0
configure:40966: result: yes
configure:40990: checking whether file_dentry() is available
configure:41029: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41032: $? = 0
configure:41034: test -s build/conftest.o
configure:41037: $? = 0
configure:41040: result: yes
configure:41064: checking whether fops->fsync() wants
configure:41110: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:156:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fsync = test_fsync,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:156:13: note: (near initialization for 'fops.fsync')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41113: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int test_fsync(struct file *f, struct dentry *dentry, int x)
| { return 0; }
|
| static const struct file_operations
| fops __attribute__ ((unused)) = {
| .fsync = test_fsync,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41185: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:155:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fsync = test_fsync,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:155:13: note: (near initialization for 'fops.fsync')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41188: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int test_fsync(struct file *f, int x) { return 0; }
|
| static const struct file_operations
| fops __attribute__ ((unused)) = {
| .fsync = test_fsync,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41261: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41264: $? = 0
configure:41266: test -s build/conftest.o
configure:41269: $? = 0
configure:41272: result: range
configure:41295: checking whether sops->evict_inode() exists
configure:41336: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41339: $? = 0
configure:41341: test -s build/conftest.o
configure:41344: $? = 0
configure:41347: result: yes
configure:41371: checking whether sops->dirty_inode() wants flags
configure:41415: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41418: $? = 0
configure:41420: test -s build/conftest.o
configure:41423: $? = 0
configure:41426: result: yes
configure:41450: checking whether sops->nr_cached_objects() exists
configure:41494: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:161:25: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.nr_cached_objects = nr_cached_objects,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:161:25: note: (near initialization for 'sops.nr_cached_objects')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41497: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int nr_cached_objects(struct super_block *sb) { return 0; }
|
| static const struct super_operations
| sops __attribute__ ((unused)) = {
| .nr_cached_objects = nr_cached_objects,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41517: result: no
configure:41529: checking whether sops->free_cached_objects() exists
configure:41574: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:162:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.free_cached_objects = free_cached_objects,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:162:27: note: (near initialization for 'sops.free_cached_objects')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41577: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| void free_cached_objects(struct super_block *sb, int x)
| { return; }
|
| static const struct super_operations
| sops __attribute__ ((unused)) = {
| .free_cached_objects = free_cached_objects,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41597: result: no
configure:41610: checking whether fops->fallocate() exists
configure:41655: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41658: $? = 0
configure:41660: test -s build/conftest.o
configure:41663: $? = 0
configure:41666: result: yes
configure:41690: checking whether iops->fallocate() exists
configure:41735: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:164:4: error: unknown field 'fallocate' specified in initializer
.fallocate = test_fallocate,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:164:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fallocate = test_fallocate,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:164:17: note: (near initialization for 'fops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41738: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| long test_fallocate(struct inode *inode, int mode,
| loff_t offset, loff_t len) { return 0; }
|
| static const struct inode_operations
| fops __attribute__ ((unused)) = {
| .fallocate = test_fallocate,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41758: result: no
configure:41771: checking whether fops->aio_fsync() exists
configure:41813: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41816: $? = 0
configure:41818: test -s build/conftest.o
configure:41821: $? = 0
configure:41824: result: yes
configure:41848: checking whether iops->create()/mkdir()/mknod() take umode_t
configure:41893: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:41896: $? = 0
configure:41898: test -s build/conftest.o
configure:41901: $? = 0
configure:41904: result: yes
configure:41928: checking whether iops->lookup() passes nameidata
configure:41975: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:170:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.lookup = inode_lookup,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:170:14: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:41978: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/sched.h>
|
| struct dentry *inode_lookup(struct inode *inode,
| struct dentry *dentry, struct nameidata *nidata)
| { return NULL; }
|
| static const struct inode_operations iops
| __attribute__ ((unused)) = {
| .lookup = inode_lookup,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:41998: result: no
configure:42010: checking whether iops->create() passes nameidata
configure:42061: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:174:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.create = inode_create,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:174:15: note: (near initialization for 'iops.create')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:42064: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| #include <linux/sched.h>
|
| #ifdef HAVE_MKDIR_UMODE_T
| int inode_create(struct inode *inode ,struct dentry *dentry,
| umode_t umode, struct nameidata *nidata) { return 0; }
| #else
| int inode_create(struct inode *inode,struct dentry *dentry,
| int umode, struct nameidata * nidata) { return 0; }
| #endif
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .create = inode_create,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:42084: result: no
configure:42096: checking whether iops->get_link() passes delayed
configure:42139: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:163:14: error: 'struct delayed_call' declared inside parameter list [-Werror]
struct delayed_call *done) { return "symlink"; }
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:163:14: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:4: error: unknown field 'get_link' specified in initializer
.get_link = get_link,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_link = get_link,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:16: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:42142: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| const char *get_link(struct dentry *de, struct inode *ip,
| struct delayed_call *done) { return "symlink"; }
| static struct inode_operations
| iops __attribute__ ((unused)) = {
| .get_link = get_link,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:42162: result: no
configure:42164: checking whether iops->get_link() passes cookie
configure:42207: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:5: error: unknown field 'get_link' specified in initializer
.get_link = get_link,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_link = get_link,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:166:17: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:42210: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| const char *get_link(struct dentry *de, struct
| inode *ip, void **cookie) { return "symlink"; }
| static struct inode_operations
| iops __attribute__ ((unused)) = {
| .get_link = get_link,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:42230: result: no
configure:42233: checking whether iops->follow_link() passes cookie
configure:42276: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42279: $? = 0
configure:42281: test -s build/conftest.o
configure:42284: $? = 0
configure:42287: result: yes
configure:42442: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:164:4: error: #error "Expecting get_link() delayed done"
#error "Expecting get_link() delayed done"
^
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:42445: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| /* end confdefs.h. */
|
|
| #if !defined(HAVE_GET_LINK_DELAYED)
| #error "Expecting get_link() delayed done"
| #endif
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:42463: checking whether iops->put_link() passes cookie
configure:42506: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42509: $? = 0
configure:42511: test -s build/conftest.o
configure:42514: $? = 0
configure:42517: result: yes
configure:42626: checking whether i_op->tmpfile() exists
configure:42669: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42672: $? = 0
configure:42674: test -s build/conftest.o
configure:42677: $? = 0
configure:42680: result: yes
configure:42704: checking whether iops->truncate_range() exists
configure:42746: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:171:4: error: unknown field 'truncate_range' specified in initializer
.truncate_range = truncate_range,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:171:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.truncate_range = truncate_range,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:171:22: note: (near initialization for 'iops.lookup')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:42749: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| void truncate_range(struct inode *inode, loff_t start,
| loff_t end) { return; }
| static struct inode_operations iops __attribute__ ((unused)) = {
| .truncate_range = truncate_range,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:42769: result: no
configure:42781: checking whether dops->d_automount() exists
configure:42822: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42825: $? = 0
configure:42827: test -s build/conftest.o
configure:42830: $? = 0
configure:42833: result: yes
configure:42857: checking whether eops->encode_fh() wants inode
configure:42899: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42902: $? = 0
configure:42904: test -s build/conftest.o
configure:42907: $? = 0
configure:42910: result: yes
configure:42934: checking whether eops->commit_metadata() exists
configure:42975: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:42978: $? = 0
configure:42980: test -s build/conftest.o
configure:42983: $? = 0
configure:42986: result: yes
configure:43009: checking whether clear_inode() is available
configure:43048: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43051: $? = 0
configure:43053: test -s build/conftest.o
configure:43056: $? = 0
configure:43109: result: yes
configure:43121: checking whether setattr_prepare() is available
configure:43164: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:185:11: error: implicit declaration of function 'setattr_prepare' [-Werror=implicit-function-declaration]
error = setattr_prepare(dentry, attr);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:43167: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| struct dentry *dentry = NULL;
| struct iattr *attr = NULL;
| int error;
|
| error = setattr_prepare(dentry, attr);
|
| ;
| return 0;
| }
|
configure:43188: result: no
configure:43237: checking whether insert_inode_locked() is available
configure:43276: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43279: $? = 0
configure:43281: test -s build/conftest.o
configure:43284: $? = 0
configure:43337: result: yes
configure:43349: checking whether d_make_root() is available
configure:43388: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43391: $? = 0
configure:43393: test -s build/conftest.o
configure:43396: $? = 0
configure:43449: result: yes
configure:43461: checking whether d_obtain_alias() is available
configure:43500: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43503: $? = 0
configure:43505: test -s build/conftest.o
configure:43508: $? = 0
configure:43561: result: yes
configure:43573: checking whether d_prune_aliases() is available
configure:43613: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43616: $? = 0
configure:43618: test -s build/conftest.o
configure:43621: $? = 0
configure:43674: result: yes
configure:43686: checking whether d_set_d_op() is available
configure:43725: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43728: $? = 0
configure:43730: test -s build/conftest.o
configure:43733: $? = 0
configure:43786: result: yes
configure:43799: checking whether dops->d_revalidate() takes struct nameidata
configure:43845: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:193:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.d_revalidate = revalidate,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:193:20: note: (near initialization for 'dops.d_revalidate')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:43848: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| /* end confdefs.h. */
|
|
| #include <linux/dcache.h>
| #include <linux/sched.h>
|
| int revalidate (struct dentry *dentry,
| struct nameidata *nidata) { return 0; }
|
| static const struct dentry_operations
| dops __attribute__ ((unused)) = {
| .d_revalidate = revalidate,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:43868: result: no
configure:43880: checking whether dentry uses const struct dentry_operations
configure:43924: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:43927: $? = 0
configure:43929: test -s build/conftest.o
configure:43932: $? = 0
configure:43935: result: yes
configure:43958: checking whether truncate_setsize() is available
configure:43997: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44000: $? = 0
configure:44002: test -s build/conftest.o
configure:44005: $? = 0
configure:44058: result: yes
configure:44071: checking whether security_inode_init_security wants 6 args
configure:44116: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:202:46: error: passing argument 4 of 'security_inode_init_security' from incompatible pointer type [-Werror=incompatible-pointer-types]
security_inode_init_security(ip, dip, str, &name, &value, &len);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:189:0:
include/linux/security.h:240:5: note: expected 'initxattrs {aka int (*)(struct inode *, const struct xattr *, void *)}' but argument is of type 'char **'
int security_inode_init_security(struct inode *inode, struct inode *dir,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:202:3: error: too many arguments to function 'security_inode_init_security'
security_inode_init_security(ip, dip, str, &name, &value, &len);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:189:0:
include/linux/security.h:240:5: note: declared here
int security_inode_init_security(struct inode *inode, struct inode *dir,
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:44119: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| /* end confdefs.h. */
|
|
| #include <linux/security.h>
|
| int
| main (void)
| {
|
| struct inode *ip __attribute__ ((unused)) = NULL;
| struct inode *dip __attribute__ ((unused)) = NULL;
| const struct qstr *str __attribute__ ((unused)) = NULL;
| char *name __attribute__ ((unused)) = NULL;
| void *value __attribute__ ((unused)) = NULL;
| size_t len __attribute__ ((unused)) = 0;
|
| security_inode_init_security(ip, dip, str, &name, &value, &len);
|
| ;
| return 0;
| }
|
configure:44139: result: no
configure:44151: checking whether security_inode_init_security wants callback
configure:44194: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44197: $? = 0
configure:44199: test -s build/conftest.o
configure:44202: $? = 0
configure:44205: result: yes
configure:44229: checking whether fst->mount() exists
configure:44277: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44280: $? = 0
configure:44282: test -s build/conftest.o
configure:44285: $? = 0
configure:44288: result: yes
configure:44312: checking whether super_block has s_shrink
configure:44359: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:200:4: error: unknown field 'shrink' specified in initializer
.s_shrink.shrink = shrink,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:200:23: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.s_shrink.shrink = shrink,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:200:23: note: (near initialization for 'sb.s_shrink.count_objects')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:44362: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int shrink(struct shrinker *s, struct shrink_control *sc)
| { return 0; }
|
| static const struct super_block
| sb __attribute__ ((unused)) = {
| .s_shrink.shrink = shrink,
| .s_shrink.seeks = DEFAULT_SEEKS,
| .s_shrink.batch = 0,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:44383: result: no
configure:44395: checking whether shrink_control has nid
configure:44435: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44438: $? = 0
configure:44440: test -s build/conftest.o
configure:44443: $? = 0
configure:44446: result: yes
configure:44470: checking whether super_block has s_instances list_head
configure:44510: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:203:18: error: passing argument 1 of 'INIT_LIST_HEAD' from incompatible pointer type [-Werror=incompatible-pointer-types]
INIT_LIST_HEAD(&sb.s_instances);
^
In file included from include/linux/wait.h:6:0,
from include/linux/fs.h:5,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:195:
include/linux/list.h:25:20: note: expected 'struct list_head *' but argument is of type 'struct hlist_node *'
static inline void INIT_LIST_HEAD(struct list_head *list)
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:44513: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| struct super_block sb __attribute__ ((unused));
|
| INIT_LIST_HEAD(&sb.s_instances);
|
| ;
| return 0;
| }
|
configure:44533: result: no
configure:44544: checking whether super_block has s_d_op
configure:44583: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44586: $? = 0
configure:44588: test -s build/conftest.o
configure:44591: $? = 0
configure:44594: result: yes
configure:44618: checking whether super_setup_bdi_name() exists
configure:44661: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:207:7: error: implicit declaration of function 'super_setup_bdi_name' [-Werror=implicit-function-declaration]
super_setup_bdi_name(&sb, "%.28s-%ld", name, atomic_long_inc_return(&zfs_bdi_seq));
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:44664: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| struct super_block sb;
|
| int
| main (void)
| {
|
| char *name = "bdi";
| atomic_long_t zfs_bdi_seq;
| int error __attribute__((unused)) =
| super_setup_bdi_name(&sb, "%.28s-%ld", name, atomic_long_inc_return(&zfs_bdi_seq));
|
| ;
| return 0;
| }
|
configure:44685: result: no
configure:44687: checking whether bdi_setup_and_register() wants 2 args
configure:44729: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:44732: $? = 0
configure:44734: test -s build/conftest.o
configure:44737: $? = 0
configure:45020: result: yes
configure:45423: checking whether set_nlink() is available
configure:45463: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:45466: $? = 0
configure:45468: test -s build/conftest.o
configure:45471: $? = 0
configure:45474: result: yes
configure:45498: checking whether elevator_change() is available
configure:45542: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 -Wno-unused-but-set-variable M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:45545: $? = 0
configure:45547: test -s build/conftest.o
configure:45550: $? = 0
configure:45553: result: yes
configure:45577: checking whether sget() wants 5 args
configure:45620: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:45623: $? = 0
configure:45625: test -s build/conftest.o
configure:45628: $? = 0
configure:45631: result: yes
configure:45654: checking whether lseek_execute() is available
configure:45698: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:216:3: error: implicit declaration of function 'lseek_execute' [-Werror=implicit-function-declaration]
lseek_execute(fp, ip, offset, maxsize);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:45701: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| struct file *fp __attribute__ ((unused)) = NULL;
| struct inode *ip __attribute__ ((unused)) = NULL;
| loff_t offset __attribute__ ((unused)) = 0;
| loff_t maxsize __attribute__ ((unused)) = 0;
|
| lseek_execute(fp, ip, offset, maxsize);
|
| ;
| return 0;
| }
|
configure:45722: result: no
configure:45772: checking whether fops->iterate_shared() is available
configure:45816: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:211:4: error: unknown field 'iterate_shared' specified in initializer
.iterate_shared = iterate,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:211:23: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.iterate_shared = iterate,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:211:23: note: (near initialization for 'fops.owner')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:45819: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| int iterate(struct file *filp, struct dir_context * context)
| { return 0; }
|
| static const struct file_operations fops
| __attribute__ ((unused)) = {
| .iterate_shared = iterate,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:45839: result: no
configure:45842: checking whether fops->iterate() is available
configure:45890: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:45893: $? = 0
configure:45895: test -s build/conftest.o
configure:45898: $? = 0
configure:45901: result: yes
configure:46011: checking whether fops->read/write_iter() are available
configure:46059: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46062: $? = 0
configure:46064: test -s build/conftest.o
configure:46067: $? = 0
configure:46070: result: yes
configure:46078: checking whether new_sync_read/write() are available
configure:46124: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:222:10: error: implicit declaration of function 'new_sync_read' [-Werror=implicit-function-declaration]
ret = new_sync_read(filp, rbuf, len, &ppos);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:10: error: implicit declaration of function 'new_sync_write' [-Werror=implicit-function-declaration]
ret = new_sync_write(filp, wbuf, len, &ppos);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:46127: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| ssize_t ret __attribute__ ((unused));
| struct file *filp = NULL;
| char __user *rbuf = NULL;
| const char __user *wbuf = NULL;
| size_t len = 0;
| loff_t ppos;
|
| ret = new_sync_read(filp, rbuf, len, &ppos);
| ret = new_sync_write(filp, wbuf, len, &ppos);
|
| ;
| return 0;
| }
|
configure:46147: result: no
configure:46174: checking whether generic_write_checks() takes kiocb
configure:46215: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46218: $? = 0
configure:46220: test -s build/conftest.o
configure:46223: $? = 0
configure:46226: result: yes
configure:46250: checking whether kmap_atomic wants 1 args
configure:46289: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46292: $? = 0
configure:46294: test -s build/conftest.o
configure:46297: $? = 0
configure:46300: result: yes
configure:46324: checking whether follow_down_one() is available
configure:46363: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46366: $? = 0
configure:46368: test -s build/conftest.o
configure:46371: $? = 0
configure:46374: result: yes
configure:46398: checking whether make_request_fn() returns int
configure:46441: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:226:32: error: passing argument 2 of 'blk_queue_make_request' from incompatible pointer type [-Werror=incompatible-pointer-types]
blk_queue_make_request(NULL, &make_request);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:215:0:
include/linux/blkdev.h:962:13: note: expected 'blk_qc_t (*)(struct request_queue *, struct bio *) {aka unsigned int (*)(struct request_queue *, struct bio *)}' but argument is of type 'int (*)(struct request_queue *, struct bio *)'
extern void blk_queue_make_request(struct request_queue *, make_request_fn *);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:46444: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| /* end confdefs.h. */
|
|
| #include <linux/blkdev.h>
|
| int make_request(struct request_queue *q, struct bio *bio)
| {
| return (0);
| }
|
| int
| main (void)
| {
|
| blk_queue_make_request(NULL, &make_request);
|
| ;
| return 0;
| }
|
configure:46469: result: no
configure:46471: checking whether make_request_fn() returns void
configure:46514: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:226:33: error: passing argument 2 of 'blk_queue_make_request' from incompatible pointer type [-Werror=incompatible-pointer-types]
blk_queue_make_request(NULL, &make_request);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:215:0:
include/linux/blkdev.h:962:13: note: expected 'blk_qc_t (*)(struct request_queue *, struct bio *) {aka unsigned int (*)(struct request_queue *, struct bio *)}' but argument is of type 'void (*)(struct request_queue *, struct bio *)'
extern void blk_queue_make_request(struct request_queue *, make_request_fn *);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:46517: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| /* end confdefs.h. */
|
|
| #include <linux/blkdev.h>
|
| void make_request(struct request_queue *q, struct bio *bio)
| {
| return;
| }
|
| int
| main (void)
| {
|
| blk_queue_make_request(NULL, &make_request);
|
| ;
| return 0;
| }
|
configure:46537: result: no
configure:46539: checking whether make_request_fn() returns blk_qc_t
configure:46582: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46585: $? = 0
configure:46587: test -s build/conftest.o
configure:46590: $? = 0
configure:46593: result: yes
configure:46641: checking whether 3 arg generic IO accounting symbols are available
configure:46686: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46689: $? = 0
configure:46691: test -s build/conftest.o
configure:46694: $? = 0
configure:46747: result: yes
configure:46760: checking whether 4 arg generic IO accounting symbols are available
configure:46805: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:224:44: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
unsigned long, struct hd_struct *) = &generic_start_io_acct;
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:226:44: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
struct hd_struct *, unsigned long) = &generic_end_io_acct;
^
In file included from ./include/uapi/linux/posix_types.h:4:0,
from include/uapi/linux/types.h:13,
from include/linux/compiler.h:199,
from include/linux/linkage.h:4,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
include/linux/stddef.h:7:14: error: passing argument 1 of 'generic_start_io_acct' makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:232:25: note: in expansion of macro 'NULL'
generic_start_io_acct(NULL, 0, 0, NULL);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:0:
include/linux/bio.h:497:6: note: expected 'int' but argument is of type 'void *'
void generic_start_io_acct(int rw, unsigned long sectors,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:232:3: error: too many arguments to function 'generic_start_io_acct'
generic_start_io_acct(NULL, 0, 0, NULL);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:0:
include/linux/bio.h:497:6: note: declared here
void generic_start_io_acct(int rw, unsigned long sectors,
^
In file included from ./include/uapi/linux/posix_types.h:4:0,
from include/uapi/linux/types.h:13,
from include/linux/compiler.h:199,
from include/linux/linkage.h:4,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:
include/linux/stddef.h:7:14: error: passing argument 1 of 'generic_end_io_acct' makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:233:23: note: in expansion of macro 'NULL'
generic_end_io_acct(NULL, 0, NULL, 0);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:0:
include/linux/bio.h:499:6: note: expected 'int' but argument is of type 'void *'
void generic_end_io_acct(int rw, struct hd_struct *part,
^
In file included from ./include/uapi/linux/posix_types.h:4:0,
from include/uapi/linux/types.h:13,
from include/linux/compiler.h:199,
from include/linux/linkage.h:4,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:
include/linux/stddef.h:7:14: error: passing argument 3 of 'generic_end_io_acct' makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:233:32: note: in expansion of macro 'NULL'
generic_end_io_acct(NULL, 0, NULL, 0);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:0:
include/linux/bio.h:499:6: note: expected 'long unsigned int' but argument is of type 'void *'
void generic_end_io_acct(int rw, struct hd_struct *part,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:233:3: error: too many arguments to function 'generic_end_io_acct'
generic_end_io_acct(NULL, 0, NULL, 0);
^
In file included from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:221:0:
include/linux/bio.h:499:6: note: declared here
void generic_end_io_acct(int rw, struct hd_struct *part,
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:46808: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| /* end confdefs.h. */
|
|
| #include <linux/bio.h>
|
| void (*generic_start_io_acct_f)(struct request_queue *, int,
| unsigned long, struct hd_struct *) = &generic_start_io_acct;
| void (*generic_end_io_acct_f)(struct request_queue *, int,
| struct hd_struct *, unsigned long) = &generic_end_io_acct;
|
| int
| main (void)
| {
|
| generic_start_io_acct(NULL, 0, 0, NULL);
| generic_end_io_acct(NULL, 0, NULL, 0);
|
| ;
| return 0;
| }
|
configure:46829: result: no
configure:46879: checking whether asm/fpu/api.h exists
configure:46918: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:222:27: fatal error: asm/fpu/api.h: No such file or directory
compilation terminated.
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:46921: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| /* end confdefs.h. */
|
|
| #include <linux/kernel.h>
| #include <asm/fpu/api.h>
|
| int
| main (void)
| {
|
| __kernel_fpu_begin();
|
| ;
| return 0;
| }
|
configure:46941: result: no
configure:46953: checking whether i_(uid|gid)_(read|write) exist
configure:46992: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:46995: $? = 0
configure:46997: test -s build/conftest.o
configure:47000: $? = 0
configure:47003: result: yes
configure:47027: checking whether module_param_call() is hardened
configure:47077: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/thread_info.h:11:0,
from include/asm-generic/preempt.h:4,
from arch/arm64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/module.h:10,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/bug.h:33:55: note: in definition of macro 'BUILD_BUG_ON_ZERO'
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
In file included from include/linux/list.h:8:0,
from include/linux/module.h:9,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:24: error: passing argument 1 of '__check_old_set_param' from incompatible pointer type [-Werror=incompatible-pointer-types]
module_param_call(p, param_set, param_get, NULL, 0644);
^
include/linux/kernel.h:834:4: note: in definition of macro 'VERIFY_OCTAL_PERMISSIONS'
(perms))
^
include/linux/moduleparam.h:231:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, \
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:236:3: note: in expansion of macro 'module_param_call'
module_param_call(p, param_set, param_get, NULL, 0644);
^
In file included from include/linux/module.h:18:0,
from /home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:223:
include/linux/moduleparam.h:237:1: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)'
__check_old_set_param(int (*oldset)(const char *, struct kernel_param *))
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47080: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| /* end confdefs.h. */
|
|
| #include <linux/module.h>
| #include <linux/moduleparam.h>
|
| int param_get(char *b, const struct kernel_param *kp)
| {
| return (0);
| }
|
| int param_set(const char *b, const struct kernel_param *kp)
| {
| return (0);
| }
|
| module_param_call(p, param_set, param_get, NULL, 0644);
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:47100: result: no
configure:47112: checking whether iops->rename() wants flags
configure:47157: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:230:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.rename = rename_fn,
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:230:14: note: (near initialization for 'iops.rename')
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47160: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
| int rename_fn(struct inode *sip, struct dentry *sdp,
| struct inode *tip, struct dentry *tdp,
| unsigned int flags) { return 0; }
|
| static const struct inode_operations
| iops __attribute__ ((unused)) = {
| .rename = rename_fn,
| };
|
| int
| main (void)
| {
|
|
| ;
| return 0;
| }
|
configure:47180: result: no
configure:47192: checking whether generic_setxattr() exists
configure:47235: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:47238: $? = 0
configure:47240: test -s build/conftest.o
configure:47243: $? = 0
configure:47246: result: yes
configure:47269: checking whether current_time() exists
configure:47311: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:234:9: error: implicit declaration of function 'current_time' [-Werror=implicit-function-declaration]
now = current_time(&ip);
^
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:234:7: error: incompatible types when assigning to type 'struct timespec' from type 'int'
now = current_time(&ip);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47314: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* end confdefs.h. */
|
|
| #include <linux/fs.h>
|
| int
| main (void)
| {
|
| struct inode ip;
| struct timespec now __attribute__ ((unused));
|
| now = current_time(&ip);
|
| ;
| return 0;
| }
|
configure:47335: result: no
configure:47386: checking whether global_node_page_state() exists
configure:47425: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:232:10: error: implicit declaration of function 'global_node_page_state' [-Werror=implicit-function-declaration]
(void) global_node_page_state(0);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47428: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* end confdefs.h. */
|
|
| #include <linux/mm.h>
| #include <linux/vmstat.h>
|
| int
| main (void)
| {
|
| (void) global_node_page_state(0);
|
| ;
| return 0;
| }
|
configure:47448: result: no
configure:47460: checking whether global_zone_page_state() exists
configure:47499: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c: In function 'main':
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:232:10: error: implicit declaration of function 'global_zone_page_state' [-Werror=implicit-function-declaration]
(void) global_zone_page_state(0);
^
cc1: all warnings being treated as errors
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47502: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| /* end confdefs.h. */
|
|
| #include <linux/mm.h>
| #include <linux/vmstat.h>
|
| int
| main (void)
| {
|
| (void) global_zone_page_state(0);
|
| ;
| return 0;
| }
|
configure:47522: result: no
configure:47535: checking whether enum node_stat_item contains NR_FILE_PAGES
configure:47538: ./scripts/enum-extract.pl node_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_FILE_PAGES
configure:47541: $? = 1
configure:47555: result: no
configure:47562: checking whether enum node_stat_item contains NR_INACTIVE_ANON
configure:47565: ./scripts/enum-extract.pl node_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_INACTIVE_ANON
configure:47568: $? = 1
configure:47582: result: no
configure:47589: checking whether enum node_stat_item contains NR_INACTIVE_FILE
configure:47592: ./scripts/enum-extract.pl node_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_INACTIVE_FILE
configure:47595: $? = 1
configure:47609: result: no
configure:47616: checking whether enum node_stat_item contains NR_SLAB_RECLAIMABLE
configure:47619: ./scripts/enum-extract.pl node_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_SLAB_RECLAIMABLE
configure:47622: $? = 1
configure:47636: result: no
configure:47644: checking whether enum zone_stat_item contains NR_FILE_PAGES
configure:47647: ./scripts/enum-extract.pl zone_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_FILE_PAGES
configure:47650: $? = 0
configure:47653: result: yes
configure:47671: checking whether enum zone_stat_item contains NR_INACTIVE_ANON
configure:47674: ./scripts/enum-extract.pl zone_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_INACTIVE_ANON
configure:47677: $? = 0
configure:47680: result: yes
configure:47698: checking whether enum zone_stat_item contains NR_INACTIVE_FILE
configure:47701: ./scripts/enum-extract.pl zone_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_INACTIVE_FILE
configure:47704: $? = 0
configure:47707: result: yes
configure:47725: checking whether enum zone_stat_item contains NR_SLAB_RECLAIMABLE
configure:47728: ./scripts/enum-extract.pl zone_stat_item /home/mayli/filer/kernel/4.4.52//include/linux/mmzone.h | egrep -qx NR_SLAB_RECLAIMABLE
configure:47731: $? = 0
configure:47734: result: yes
configure:47753: checking global_page_state enums are sane
configure:47933: result: yes
configure:47938: checking whether posix_acl has refcount_t
configure:47979: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.c:234:30: fatal error: linux/refcount.h: No such file or directory
compilation terminated.
make[1]: *** [/home/mayli/filer/zfs/zfs-0.7.9/build/conftest.o] Error 1
make: *** [_module_/home/mayli/filer/zfs/zfs-0.7.9/build] Error 2
configure:47982: $? = 2
configure: failed program was:
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_SLAB_RECLAIMABLE 1
| /* confdefs.h. */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.7.9"
| #define PACKAGE_STRING "zfs 0.7.9"
| #define PACKAGE_BUGREPORT ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.7.9"
| #define ZFS_META_RELEASE "1"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.7.9-1"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.7.9"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ZLIB 1
| #define HAVE_LIBUUID 1
| #define HAVE_LIBBLKID 1
| #define HAVE_MAKEDEV_IN_SYSMACROS 1
| #define HAVE_MLOCKALL 1
| #define HAVE_LARGE_STACKS 1
| #define HAVE_DECLARE_EVENT_CLASS 1
| #define HAVE_CURRENT_BIO_LIST 1
| #define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
| #define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
| #define HAVE_FMODE_T 1
| #define HAVE_3ARG_BLKDEV_GET 1
| #define HAVE_BLKDEV_GET_BY_PATH 1
| #define HAVE_1ARG_LOOKUP_BDEV 1
| #define HAVE_1ARG_INVALIDATE_BDEV 1
| #define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
| #define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
| #define HAVE_BIO_BVEC_ITER 1
| #define HAVE_REQ_FAILFAST_MASK 1
| #define HAVE_1ARG_BIO_END_IO_T 1
| #define HAVE_BLK_QUEUE_FLUSH 1
| #define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
| #define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
| #define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
| #define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
| #define HAVE_GET_DISK_RO 1
| #define HAVE_GET_GENDISK 1
| #define HAVE_GENERIC_READLINK 1
| #define HAVE_DISCARD_GRANULARITY 1
| #define HAVE_CONST_XATTR_HANDLER 1
| #define HAVE_XATTR_GET_HANDLER 1
| #define HAVE_XATTR_SET_HANDLER 1
| #define HAVE_XATTR_LIST_HANDLER 1
| #define HAVE_INODE_OWNER_OR_CAPABLE 1
| #define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
| #define HAVE_POSIX_ACL_RELEASE 1
| #define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
| #define HAVE___POSIX_ACL_CHMOD 1
| #define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
| #define HAVE_PERMISSION 1
| #define HAVE_GET_ACL 1
| #define HAVE_SET_ACL 1
| #define HAVE_VFSMOUNT_IOPS_GETATTR 1
| #define HAVE_INODE_SET_FLAGS 1
| #define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
| #define HAVE_FILE_INODE 1
| #define HAVE_FILE_DENTRY 1
| #define HAVE_FSYNC_RANGE 1
| #define HAVE_EVICT_INODE 1
| #define HAVE_DIRTY_INODE_WITH_FLAGS 1
| #define HAVE_FILE_FALLOCATE 1
| #define HAVE_FILE_AIO_FSYNC 1
| #define HAVE_MKDIR_UMODE_T 1
| #define HAVE_FOLLOW_LINK_COOKIE 1
| #define HAVE_PUT_LINK_COOKIE 1
| #define HAVE_TMPFILE 1
| #define HAVE_AUTOMOUNT 1
| #define HAVE_ENCODE_FH_WITH_INODE 1
| #define HAVE_COMMIT_METADATA 1
| #define HAVE_CLEAR_INODE 1
| #define HAVE_INSERT_INODE_LOCKED 1
| #define HAVE_D_MAKE_ROOT 1
| #define HAVE_D_OBTAIN_ALIAS 1
| #define HAVE_D_PRUNE_ALIASES 1
| #define HAVE_D_SET_D_OP 1
| #define HAVE_CONST_DENTRY_OPERATIONS 1
| #define HAVE_TRUNCATE_SETSIZE 1
| #define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
| #define HAVE_FST_MOUNT 1
| #define SHRINK_CONTROL_HAS_NID 1
| #define HAVE_S_D_OP 1
| #define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
| #define HAVE_SET_NLINK 1
| #define HAVE_ELEVATOR_CHANGE 1
| #define HAVE_5ARG_SGET 1
| #define HAVE_VFS_ITERATE 1
| #define HAVE_VFS_RW_ITERATE 1
| #define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
| #define HAVE_1ARG_KMAP_ATOMIC 1
| #define HAVE_FOLLOW_DOWN_ONE 1
| #define MAKE_REQUEST_FN_RET blk_qc_t
| #define HAVE_MAKE_REQUEST_FN_RET_QC 1
| #define HAVE_GENERIC_IO_ACCT_3ARG 1
| #define HAVE_KUID_HELPERS 1
| #define HAVE_GENERIC_SETXATTR 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
| #define ZFS_ENUM_ZONE_STAT_ITEM_NR_SLAB_RECLAIMABLE 1
| /* end confdefs.h. */
|
|
| #include <linux/backing-dev.h>
| #include <linux/refcount.h>
| #include <linux/posix_acl.h>
|
| int
| main (void)
| {
|
| struct posix_acl acl;
| refcount_t *r __attribute__ ((unused)) = &acl.a_refcount;
|
| ;
| return 0;
| }
|
configure:48002: result: no
configure:48015: checking whether ns_capable exists
configure:48053: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:48056: $? = 0
configure:48058: test -s build/conftest.o
configure:48061: $? = 0
configure:48064: result: yes
configure:48088: checking whether cred_t->user_ns exists
configure:48127: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:48130: $? = 0
configure:48132: test -s build/conftest.o
configure:48135: $? = 0
configure:48138: result: yes
configure:48162: checking whether kuid_has_mapping/kgid_has_mapping exist
configure:48201: cp conftest.c conftest.h build && make modules -C /home/mayli/filer/kernel/4.4.52/ EXTRA_CFLAGS=-Werror -Wframe-larger-than=1024 M=/home/mayli/filer/zfs/zfs-0.7.9/build
configure:48204: $? = 0
configure:48206: test -s build/conftest.o
configure:48209: $? = 0
configure:48212: result: yes
configure:48310: checking whether assertion support will be enabled
configure:48347: result: no
configure:48351: checking whether debuginfo support will be forced
configure:48384: result: no
configure:48593: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by zfs config.status 0.7.9, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on potato
config.status:1558: creating Makefile
config.status:1558: creating udev/Makefile
config.status:1558: creating udev/rules.d/Makefile
config.status:1558: creating etc/Makefile
config.status:1558: creating etc/init.d/Makefile
config.status:1558: creating etc/zfs/Makefile
config.status:1558: creating etc/systemd/Makefile
config.status:1558: creating etc/systemd/system/Makefile
config.status:1558: creating etc/sudoers.d/Makefile
config.status:1558: creating etc/modules-load.d/Makefile
config.status:1558: creating man/Makefile
config.status:1558: creating man/man1/Makefile
config.status:1558: creating man/man5/Makefile
config.status:1558: creating man/man8/Makefile
config.status:1558: creating lib/Makefile
config.status:1558: creating lib/libspl/Makefile
config.status:1558: creating lib/libspl/asm-generic/Makefile
config.status:1558: creating lib/libspl/asm-i386/Makefile
config.status:1558: creating lib/libspl/asm-x86_64/Makefile
config.status:1558: creating lib/libspl/include/Makefile
config.status:1558: creating lib/libspl/include/ia32/Makefile
config.status:1558: creating lib/libspl/include/ia32/sys/Makefile
config.status:1558: creating lib/libspl/include/rpc/Makefile
config.status:1558: creating lib/libspl/include/sys/Makefile
config.status:1558: creating lib/libspl/include/sys/dktp/Makefile
config.status:1558: creating lib/libspl/include/util/Makefile
config.status:1558: creating lib/libavl/Makefile
config.status:1558: creating lib/libefi/Makefile
config.status:1558: creating lib/libicp/Makefile
config.status:1558: creating lib/libnvpair/Makefile
config.status:1558: creating lib/libunicode/Makefile
config.status:1558: creating lib/libuutil/Makefile
config.status:1558: creating lib/libzpool/Makefile
config.status:1558: creating lib/libzfs/libzfs.pc
config.status:1558: creating lib/libzfs/libzfs_core.pc
config.status:1558: creating lib/libzfs/Makefile
config.status:1558: creating lib/libzfs_core/Makefile
config.status:1558: creating lib/libshare/Makefile
config.status:1558: creating cmd/Makefile
config.status:1558: creating cmd/zdb/Makefile
config.status:1558: creating cmd/zhack/Makefile
config.status:1558: creating cmd/zfs/Makefile
config.status:1558: creating cmd/zinject/Makefile
config.status:1558: creating cmd/zpool/Makefile
config.status:1558: creating cmd/zstreamdump/Makefile
config.status:1558: creating cmd/ztest/Makefile
config.status:1558: creating cmd/zpios/Makefile
config.status:1558: creating cmd/mount_zfs/Makefile
config.status:1558: creating cmd/fsck_zfs/Makefile
config.status:1558: creating cmd/zvol_id/Makefile
config.status:1558: creating cmd/vdev_id/Makefile
config.status:1558: creating cmd/arcstat/Makefile
config.status:1558: creating cmd/dbufstat/Makefile
config.status:1558: creating cmd/arc_summary/Makefile
config.status:1558: creating cmd/zed/Makefile
config.status:1558: creating cmd/raidz_test/Makefile
config.status:1558: creating cmd/zgenhostid/Makefile
config.status:1558: creating contrib/Makefile
config.status:1558: creating contrib/bash_completion.d/Makefile
config.status:1558: creating contrib/dracut/Makefile
config.status:1558: creating contrib/dracut/02zfsexpandknowledge/Makefile
config.status:1558: creating contrib/dracut/90zfs/Makefile
config.status:1558: creating contrib/initramfs/Makefile
config.status:1558: creating module/Makefile
config.status:1558: creating module/avl/Makefile
config.status:1558: creating module/nvpair/Makefile
config.status:1558: creating module/unicode/Makefile
config.status:1558: creating module/zcommon/Makefile
config.status:1558: creating module/zfs/Makefile
config.status:1558: creating module/zpios/Makefile
config.status:1558: creating module/icp/Makefile
config.status:1558: creating include/Makefile
config.status:1558: creating include/linux/Makefile
config.status:1558: creating include/sys/Makefile
config.status:1558: creating include/sys/fs/Makefile
config.status:1558: creating include/sys/fm/Makefile
config.status:1558: creating include/sys/fm/fs/Makefile
config.status:1558: creating include/sys/crypto/Makefile
config.status:1558: creating include/sys/sysevent/Makefile
config.status:1558: creating scripts/Makefile
config.status:1558: creating scripts/zpios-profile/Makefile
config.status:1558: creating scripts/zpios-test/Makefile
config.status:1558: creating scripts/zpool-config/Makefile
config.status:1558: creating scripts/common.sh
config.status:1558: creating tests/Makefile
config.status:1558: creating tests/test-runner/Makefile
config.status:1558: creating tests/test-runner/cmd/Makefile
config.status:1558: creating tests/test-runner/include/Makefile
config.status:1558: creating tests/test-runner/man/Makefile
config.status:1558: creating tests/runfiles/Makefile
config.status:1558: creating tests/zfs-tests/Makefile
config.status:1558: creating tests/zfs-tests/callbacks/Makefile
config.status:1558: creating tests/zfs-tests/cmd/Makefile
config.status:1558: creating tests/zfs-tests/cmd/chg_usr_exec/Makefile
config.status:1558: creating tests/zfs-tests/cmd/user_ns_exec/Makefile
config.status:1558: creating tests/zfs-tests/cmd/devname2devid/Makefile
config.status:1558: creating tests/zfs-tests/cmd/dir_rd_update/Makefile
config.status:1558: creating tests/zfs-tests/cmd/file_check/Makefile
config.status:1558: creating tests/zfs-tests/cmd/file_trunc/Makefile
config.status:1558: creating tests/zfs-tests/cmd/file_write/Makefile
config.status:1558: creating tests/zfs-tests/cmd/largest_file/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mkbusy/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mkfile/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mkfiles/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mktree/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mmap_exec/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mmap_libaio/Makefile
config.status:1558: creating tests/zfs-tests/cmd/mmapwrite/Makefile
config.status:1558: creating tests/zfs-tests/cmd/randfree_file/Makefile
config.status:1558: creating tests/zfs-tests/cmd/readmmap/Makefile
config.status:1558: creating tests/zfs-tests/cmd/rename_dir/Makefile
config.status:1558: creating tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
config.status:1558: creating tests/zfs-tests/cmd/threadsappend/Makefile
config.status:1558: creating tests/zfs-tests/cmd/xattrtest/Makefile
config.status:1558: creating tests/zfs-tests/include/Makefile
config.status:1558: creating tests/zfs-tests/include/default.cfg
config.status:1558: creating tests/zfs-tests/tests/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/acl/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/acl/posix/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/atime/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/bootfs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cache/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cachefile/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/casenorm/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/checksum/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/chattr/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/clean_mirror/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_user/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_user/misc/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/compression/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/ctime/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/delegate/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/devices/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/events/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/exec/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/fault/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/features/async_destroy/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/features/large_dnode/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/features/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/grow_pool/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/grow_replicas/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/history/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/inheritance/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/inuse/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/large_files/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/largest_pool/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/link_count/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/libzfs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/migration/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/mmap/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/mmp/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/mount/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/mv_files/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/nestedfs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/no_space/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/nopwrite/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/online_offline/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/pool_names/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/poolversion/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/privilege/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/quota/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/raidz/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/redundancy/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/refquota/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/refreserv/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/rename_dirs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/replacement/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/reservation/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/rootpool/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/rsend/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/scrub_mirror/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/slog/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/snapshot/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/snapused/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/sparse/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/threadsappend/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/tmpfile/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/truncate/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/user_namespace/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/userquota/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/upgrade/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/vdev_zaps/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/write_dirs/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/xattr/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/zvol/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
config.status:1558: creating tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
config.status:1558: creating tests/zfs-tests/tests/perf/Makefile
config.status:1558: creating tests/zfs-tests/tests/perf/fio/Makefile
config.status:1558: creating tests/zfs-tests/tests/perf/regression/Makefile
config.status:1558: creating tests/zfs-tests/tests/perf/scripts/Makefile
config.status:1558: creating tests/zfs-tests/tests/stress/Makefile
config.status:1558: creating rpm/Makefile
config.status:1558: creating rpm/redhat/Makefile
config.status:1558: creating rpm/redhat/zfs.spec
config.status:1558: creating rpm/redhat/zfs-kmod.spec
config.status:1558: creating rpm/redhat/zfs-dkms.spec
config.status:1558: creating rpm/generic/Makefile
config.status:1558: creating rpm/generic/zfs.spec
config.status:1558: creating rpm/generic/zfs-kmod.spec
config.status:1558: creating rpm/generic/zfs-dkms.spec
config.status:1558: creating zfs-script-config.sh
config.status:1558: creating zfs.release
config.status:1558: creating zfs_config.h
config.status:1832: executing depfiles commands
config.status:1832: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm
ac_cv_func_mlockall=yes
ac_cv_header_blkid_blkid_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libaio_h=no
ac_cv_header_libudev_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_uuid_uuid_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=arm-unknown-none
ac_cv_lib_tirpc_xdrmem_create=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DUMPBIN='link -dump -symbols'
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_compress2=-lz
ac_cv_search_crc32='none required'
ac_cv_search_udev_device_get_is_initialized=no
ac_cv_search_uncompress='none required'
ac_cv_search_uuid_generate=-luuid
ac_cv_search_uuid_is_null='none required'
ac_cv_search_xdrmem_create='none required'
ac_cv_target=arm-unknown-none
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=unknown
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe=
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl=
lt_cv_sys_max_cmd_len=1572864
## ----------------- ##
## Output variables. ##
## ----------------- ##
@echo "Need to reconfigure with --enable-code-coverage"
@echo "Need to reconfigure with --enable-code-coverage"
$(CODE_COVERAGE_IGNORE_PATTERN);
$(CODE_COVERAGE_OUTPUT_FILE);
#
#
# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
# (Default: $(top_builddir))
# (Default: empty)
# Multiple directories may be specified, separated by whitespace.
# by lcov for code coverage. (Default:
# collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
# genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
# instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
# instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
# instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
# instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
# instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
# lcov instance. (Default: empty)
# reports to be created. (Default:
# set to 0 to disable it and leave empty to stay with the default.
# - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
# - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
# - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
# - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
# - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
# - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
# - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
# - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
# - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
# - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
# - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
# $(PACKAGE_VERSION). In order to add the current git hash to the title,
# Capture code coverage data
# Code coverage
# Hook rule executed before code-coverage-capture, overridable by the user
# Optional variables
# Optional:
# The generated report will be titled using the $(PACKAGE_NAME) and
# Use recursive makes in order to ignore errors during check
# sanitizes the test-name: replaces with underscores: dashes and dots
# use the git-version-gen script, available online.
$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
'
--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
ACLOCAL='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run aclocal-1.11'
ALIEN='alien'
ALIEN_VERSION=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AR='ar'
AUTOCONF='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCAS='gcc'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-g -O2'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CODE_COVERAGE_BRANCH_COVERAGE ?=
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_CPPFLAGS=''
CODE_COVERAGE_CXXFLAGS=''
CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
CODE_COVERAGE_ENABLED='no'
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE='#'
CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
CODE_COVERAGE_IGNORE_PATTERN ?=
CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_LIBS=''
CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
CODE_COVERAGE_RULES='
CONFIG_KERNEL_FALSE='#'
CONFIG_KERNEL_TRUE=''
CONFIG_QAT_FALSE=''
CONFIG_QAT_TRUE='#'
CONFIG_USER_FALSE='#'
CONFIG_USER_TRUE=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_CFLAGS='-DNDEBUG'
DEBUG_STACKFLAGS=''
DEBUG_ZFS='_without_debug'
DEFAULT_INITCONF_DIR='/etc/default'
DEFAULT_INIT_DIR='${prefix}/etc/init.d'
DEFAULT_INIT_SCRIPT='lsb'
DEFAULT_PACKAGE='deb'
DEFINE_INITRAMFS='--define "_initramfs 1"'
DEFINE_SYSTEMD='--with systemd --define "_unitdir $(systemdunitdir)" --define "_presetdir $(systemdpresetdir)"'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DPKG='dpkg'
DPKGBUILD='dpkg-buildpackage'
DPKGBUILD_VERSION='1.18.4.'
DPKG_VERSION='1.18.4'
DSYMUTIL=''
DUMPBIN='link -dump -symbols'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
FRAME_LARGER_THAN='-Wframe-larger-than=1024'
GCOV=''
GENHTML=''
GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
GITIGNOREFILES ?=
GREP='/bin/grep'
HAVE_ALIEN='no'
HAVE_DPKG='yes'
HAVE_DPKGBUILD='yes'
HAVE_RPM='no'
HAVE_RPMBUILD='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KERNELCPPFLAGS=' -std=gnu99 -Wno-declaration-after-statement -Wno-unused-but-set-variable -Wno-bool-compare -DHAVE_SPL -D_KERNEL -DTEXT_DOMAIN=\"zfs-linux-kernel\" -DNDEBUG '
KERNELMAKE_PARAMS=''
LCOV=''
LD='/usr/bin/ld'
LDFLAGS=''
LIBAIO=''
LIBBLKID='-lblkid'
LIBOBJS=''
LIBS='-luuid -lz '
LIBTIRPC=''
LIBTIRPC_CFLAGS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBUDEV=''
LIBUUID='-luuid'
LINUX='/home/mayli/filer/kernel/4.4.52/'
LINUX_OBJ='/home/mayli/filer/kernel/4.4.52/'
LINUX_SYMBOLS='Module.symvers'
LINUX_VERSION='4.4.52-armada-17.06.2-gcaa3a4f'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MULTIARCH_LIBDIR='lib/x86_64-linux-gnu'
NM='link -dump -symbols'
NMEDIT=''
NO_BOOL_COMPARE='-Wno-bool-compare'
NO_FORMAT_TRUNCATION='-Wno-format-truncation'
NO_UNUSED_BUT_SET_VARIABLE='-Wno-unused-but-set-variable'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='zfs'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='zfs'
PACKAGE_STRING='zfs 0.7.9'
PACKAGE_TARNAME='zfs'
PACKAGE_VERSION='0.7.9'
PATH_SEPARATOR=':'
QAT_OBJ=''
QAT_SRC=''
QAT_SYMBOLS=''
RANLIB='ranlib'
RELEASE='1'
RM='rm -f'
RPM='rpm'
RPMBUILD='rpmbuild'
RPMBUILD_VERSION=''
RPM_DEFINE_COMMON='--define "$(DEBUG_ZFS) 1"'
RPM_DEFINE_DKMS=''
RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)" --define "require_spldir $(SPL)" --define "require_splobj $(SPL_OBJ)" --define "ksrc $(LINUX)" --define "kobj $(LINUX_OBJ)" --define "_wrong_version_format_terminate_build 0"'
RPM_DEFINE_UTIL=' --define "_initconfdir $(DEFAULT_INITCONF_DIR)" $(DEFINE_INITRAMFS) $(DEFINE_SYSTEMD) --define "_lib $(MULTIARCH_LIBDIR)"'
RPM_SPEC_DIR='rpm/generic'
RPM_VERSION=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SPL='../spl-0.7.9'
SPL_OBJ='../spl-0.7.9'
SPL_SYMBOLS='Module.symvers'
SPL_VERSION='0.7.9-1'
SRPM_DEFINE_COMMON='--define "build_src_rpm 1"'
SRPM_DEFINE_DKMS=''
SRPM_DEFINE_KMOD=''
SRPM_DEFINE_UTIL=''
STRIP='strip'
TARGET_ASM_DIR='asm-generic'
TARGET_ASM_GENERIC_FALSE='#'
TARGET_ASM_GENERIC_TRUE=''
TARGET_ASM_I386_FALSE=''
TARGET_ASM_I386_TRUE='#'
TARGET_ASM_X86_64_FALSE=''
TARGET_ASM_X86_64_TRUE='#'
VENDOR='ubuntu'
VERSION='0.7.9'
WANT_DEVNAME2DEVID_FALSE=''
WANT_DEVNAME2DEVID_TRUE='#'
WANT_MMAP_LIBAIO_FALSE=''
WANT_MMAP_LIBAIO_TRUE='#'
ZFS_CONFIG='all'
ZFS_INIT_SYSTEMD='systemd'
ZFS_INIT_SYSV='init.d'
ZFS_META_ALIAS='zfs-0.7.9-1'
ZFS_META_AUTHOR='OpenZFS on Linux'
ZFS_META_DATA=''
ZFS_META_LICENSE='CDDL'
ZFS_META_LT_AGE=''
ZFS_META_LT_CURRENT=''
ZFS_META_LT_REVISION=''
ZFS_META_NAME='zfs'
ZFS_META_RELEASE='1'
ZFS_META_VERSION='0.7.9'
ZFS_MODULE_LOAD='modules-load.d'
ZLIB='-lz'
ZONENAME='echo global'
ac_ct_CC='gcc'
ac_ct_DUMPBIN='link -dump -symbols'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
check-code-coverage:
code-coverage-capture-hook:
code-coverage-capture: code-coverage-capture-hook
code_coverage_quiet = $(code_coverage_quiet_$(V))
code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
code_coverage_quiet_0 = --quiet
code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\
code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dracutdir='/usr/lib/dracut'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='arm-unknown-none'
host_alias='arm'
host_cpu='arm'
host_os='none'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/mayli/filer/zfs/zfs-0.7.9/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
modulesloaddir='/usr/lib/modules-load.d'
mounthelperdir='/sbin'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s&^&arm-&'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
systemdpresetdir='/usr/lib/systemd/system-preset'
systemdunitdir='/usr/lib/systemd/system'
target='arm-unknown-none'
target_alias='arm'
target_cpu='arm'
target_os='none'
target_vendor='unknown'
udevdir='/lib/udev'
udevruledir='/lib/udev/rules.d'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "zfs"
#define PACKAGE_TARNAME "zfs"
#define PACKAGE_VERSION "0.7.9"
#define PACKAGE_STRING "zfs 0.7.9"
#define PACKAGE_BUGREPORT ""
#define ZFS_META_NAME "zfs"
#define ZFS_META_VERSION "0.7.9"
#define ZFS_META_RELEASE "1"
#define ZFS_META_LICENSE "CDDL"
#define ZFS_META_ALIAS "zfs-0.7.9-1"
#define ZFS_META_AUTHOR "OpenZFS on Linux"
#define PACKAGE "zfs"
#define VERSION "0.7.9"
#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 HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_ZLIB 1
#define HAVE_LIBUUID 1
#define HAVE_LIBBLKID 1
#define HAVE_MAKEDEV_IN_SYSMACROS 1
#define HAVE_MLOCKALL 1
#define HAVE_LARGE_STACKS 1
#define HAVE_DECLARE_EVENT_CLASS 1
#define HAVE_CURRENT_BIO_LIST 1
#define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
#define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
#define HAVE_FMODE_T 1
#define HAVE_3ARG_BLKDEV_GET 1
#define HAVE_BLKDEV_GET_BY_PATH 1
#define HAVE_1ARG_LOOKUP_BDEV 1
#define HAVE_1ARG_INVALIDATE_BDEV 1
#define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
#define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
#define HAVE_BIO_BVEC_ITER 1
#define HAVE_REQ_FAILFAST_MASK 1
#define HAVE_1ARG_BIO_END_IO_T 1
#define HAVE_BLK_QUEUE_FLUSH 1
#define HAVE_BLK_QUEUE_FLUSH_GPL_ONLY 1
#define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
#define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
#define HAVE_BLK_QUEUE_HAVE_BLK_PLUG 1
#define HAVE_GET_DISK_RO 1
#define HAVE_GET_GENDISK 1
#define HAVE_GENERIC_READLINK 1
#define HAVE_DISCARD_GRANULARITY 1
#define HAVE_CONST_XATTR_HANDLER 1
#define HAVE_XATTR_GET_HANDLER 1
#define HAVE_XATTR_SET_HANDLER 1
#define HAVE_XATTR_LIST_HANDLER 1
#define HAVE_INODE_OWNER_OR_CAPABLE 1
#define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
#define HAVE_POSIX_ACL_RELEASE 1
#define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
#define HAVE___POSIX_ACL_CHMOD 1
#define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
#define HAVE_PERMISSION 1
#define HAVE_GET_ACL 1
#define HAVE_SET_ACL 1
#define HAVE_VFSMOUNT_IOPS_GETATTR 1
#define HAVE_INODE_SET_FLAGS 1
#define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
#define HAVE_FILE_INODE 1
#define HAVE_FILE_DENTRY 1
#define HAVE_FSYNC_RANGE 1
#define HAVE_EVICT_INODE 1
#define HAVE_DIRTY_INODE_WITH_FLAGS 1
#define HAVE_FILE_FALLOCATE 1
#define HAVE_FILE_AIO_FSYNC 1
#define HAVE_MKDIR_UMODE_T 1
#define HAVE_FOLLOW_LINK_COOKIE 1
#define HAVE_PUT_LINK_COOKIE 1
#define HAVE_TMPFILE 1
#define HAVE_AUTOMOUNT 1
#define HAVE_ENCODE_FH_WITH_INODE 1
#define HAVE_COMMIT_METADATA 1
#define HAVE_CLEAR_INODE 1
#define HAVE_INSERT_INODE_LOCKED 1
#define HAVE_D_MAKE_ROOT 1
#define HAVE_D_OBTAIN_ALIAS 1
#define HAVE_D_PRUNE_ALIASES 1
#define HAVE_D_SET_D_OP 1
#define HAVE_CONST_DENTRY_OPERATIONS 1
#define HAVE_TRUNCATE_SETSIZE 1
#define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
#define HAVE_FST_MOUNT 1
#define SHRINK_CONTROL_HAS_NID 1
#define HAVE_S_D_OP 1
#define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
#define HAVE_SET_NLINK 1
#define HAVE_ELEVATOR_CHANGE 1
#define HAVE_5ARG_SGET 1
#define HAVE_VFS_ITERATE 1
#define HAVE_VFS_RW_ITERATE 1
#define HAVE_GENERIC_WRITE_CHECKS_KIOCB 1
#define HAVE_1ARG_KMAP_ATOMIC 1
#define HAVE_FOLLOW_DOWN_ONE 1
#define MAKE_REQUEST_FN_RET blk_qc_t
#define HAVE_MAKE_REQUEST_FN_RET_QC 1
#define HAVE_GENERIC_IO_ACCT_3ARG 1
#define HAVE_KUID_HELPERS 1
#define HAVE_GENERIC_SETXATTR 1
#define ZFS_ENUM_ZONE_STAT_ITEM_NR_FILE_PAGES 1
#define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_ANON 1
#define ZFS_ENUM_ZONE_STAT_ITEM_NR_INACTIVE_FILE 1
#define ZFS_ENUM_ZONE_STAT_ITEM_NR_SLAB_RECLAIMABLE 1
#define HAVE_NS_CAPABLE 1
#define HAVE_CRED_USER_NS 1
#define HAVE_KUID_HAS_MAPPING 1
configure: exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment