Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
5566
Description
When cross building against 2.6.18 kernel, I always got following errors. It is because after commit 76bf16d1, HAVE_PROCFS_USERS and HAVE_PROCFS_DELETED can both be true on old kernels with backported code. As the old jira entry (LU-1484) is closed, open a new one to fix this.
make[3]: Entering directory `/home/bergwolf/src/redhat/linux-2.6.18-308.20.1.el5.i686'
WARNING: Symbol version dump /home/bergwolf/src/redhat/linux-2.6.18-308.20.1.el5.i686/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/bergwolf/src/lustre-release/libcfs/libcfs/linux/linux-tracefile.o
In file included from /home/bergwolf/src/lustre-release/libcfs/include/libcfs/libcfs.h:322,
from /home/bergwolf/src/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:38:
/home/bergwolf/src/lustre-release/libcfs/include/libcfs/params_tree.h:107:2: error: #error proc_dir_entry->deleted is conflicted with proc_dir_entry->pde_users
make[6]: *** [/home/bergwolf/src/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 1
make[5]: *** [/home/bergwolf/src/lustre-release/libcfs/libcfs] Error 2
make[4]: *** [/home/bergwolf/src/lustre-release/libcfs] Error 2
make[3]: *** [_module_/home/bergwolf/src/lustre-release] Error 2