[LU-2685] configure:9749 fails implicit declaration of function ‘sk_sleep’ Created: 25/Jan/13 Updated: 25/Jan/13 Resolved: 25/Jan/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Keith Mannthey (Inactive) | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL6.3 Build environment |
||
| Severity: | 3 |
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Keith Mannthey (Inactive) [ 25/Jan/13 ] |
|
Never mind it seem this is how the default check for a feature works in this file . |
| Comment by Keith Mannthey (Inactive) [ 25/Jan/13 ] |
|
Just learning the build a bit better. |