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

configure:9749 fails implicit declaration of function ‘sk_sleep’

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.4.0
    • None
    • RHEL6.3 Build environment
    • 3
    • 6273

    Description

      While review a build I noticed the following in config.log:

      configure:9716: result: no
      configure:9724: checking if kernel has sk_sleep
      configure:9749: cp conftest.c build && make -d modules  CC=gcc -f /home/build/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/.config LINUXINCLUDE= -I/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/arch/x86/include -I/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/arch/x86/include/generated -I/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/include -I/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/include -I/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster/include2 -include include/linux/autoconf.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.lustremaster EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/home/build/lustre-release/libcfs/include -I/home/build/lustre-release/lnet/include -I/home/build/lustre-release/lustre/include  M=/home/build/lustre-release/build
      /home/build/lustre-release/build/conftest.c: In function ‘main’:
      /home/build/lustre-release/build/conftest.c:62: error: implicit declaration of function ‘sk_sleep’
      make[1]: *** [/home/build/lustre-release/build/conftest.o] Error 1
      make: *** [_module_/home/build/lustre-release/build] Error 2
      configure:9752: $? = 2
      configure: failed program was:
      | /* confdefs.h.  */
      | #define PACKAGE_NAME "Lustre"
      | #define PACKAGE_TARNAME "lustre"
      

      It seem there is a check for sk_sleep but later it cannont build with it.

      I looked at the HUGE "configure" file but was scared away for now. Just filing an LU to track the build issue.

      Attachments

        Activity

          People

            wc-triage WC Triage
            keith Keith Mannthey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: