Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-858

Support for Linux kernel 3.1 (Fedora 16)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • Fedora 16, kernel version 3.1.1-1.fc16.x86_64
    • 5772

    Description

      After pulling the latest master via git, running the autogen.sh, and trying './configure --with-linux=/usr/src/kernels/3.1.1-1.fc16.x86_64', it fails to configure due to module building issues.

      checking for Linux sources... /usr/src/kernels/3.1.1-1.fc16.x86_64
      checking for /usr/src/kernels/3.1.1-1.fc16.x86_64... yes
      checking for Linux objects dir... /usr/src/kernels/3.1.1-1.fc16.x86_64
      checking for /boot/kernel.h... no
      checking for /var/adm/running-kernel.h... no
      checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/.config... yes
      checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/autoconf.h... yes
      checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/version.h... yes
      checking if you are running user mode linux for x86_64... no (asm-um missing)
      checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/namei.h... yes
      checking if you are using Linux 2.6... yes
      checking for external module build support... configure: error: unknown; check config.log for details
      

      config.log

      configure:5966: cp conftest.c build && make -d _module_/tmp/lustre-release/build LUSTRE_KERNEL_TEST=conftest.i  CC=gcc -f /tmp/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/kernels/3.1.1-1.fc16.x86_64/.config LINUXINCLUDE= -I/usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include2 -include include/linux/autoconf.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/kernels/3.1.1-1.fc16.x86_64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/tmp/lustre-release/libcfs/include -I/tmp/lustre-release/lnet/include -I/tmp/lustre-release/lustre/include  M=/tmp/lustre-release/build
      make[1]: Warning: File `/tmp/lustre-release/build/conftest.c' has modification time 12 s in the future
      In file included from /usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/bitops.h:449:0,
                       from /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/bitops.h:22,
                       from /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/kernel.h:17,
                       from /tmp/lustre-release/build/conftest.c:27:
      /usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight64':
      /usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/arch_hweight.h:53:367: error: expected ':' or ')' before 'POPCNT64'
      

      Attachments

        Activity

          People

            ys Yang Sheng
            robertk@rgmadvisors.com Robert Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: