Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
Lustre 2.5.0
-
None
-
Mellanox driver version: MLNX_OFED_LINUX-2.0-3.0.0-rhel6.4
OS: CentOS-6.4
-
3
-
11826
Description
While buiding lustre with 2.5 patched kernel getting the following error. Used the configure arguments as "/configure -with-linux=/usr/src/kernels/2.6.32-358.18.1.el6_lustre.x86_64 --with-o2ib=/usr/src/ofa_kernel/default". The same build goes through with out "-with-o2ib". Please help me to sort out this issue.
In file included from include/trace/ftrace.h:440,
from include/trace/define_trace.h:73,
from /root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:904,
from /root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/super.c:56:
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_free_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:18: error: implicit declaration of function 'register_trace_ldiskfs_free_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_free_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:18: error: implicit declaration of function 'unregister_trace_ldiskfs_free_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_request_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:47: error: implicit declaration of function 'register_trace_ldiskfs_request_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_request_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:47: error: implicit declaration of function 'unregister_trace_ldiskfs_request_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_allocate_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:69: error: implicit declaration of function 'register_trace_ldiskfs_allocate_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_allocate_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:69: error: implicit declaration of function 'unregister_trace_ldiskfs_allocate_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_write_begin':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:121: error: implicit declaration of function 'register_trace_ldiskfs_write_begin'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_write_begin':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:121: error: implicit declaration of function 'unregister_trace_ldiskfs_write_begin'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_da_write_begin':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:129: error: implicit declaration of function 'register_trace_ldiskfs_da_write_begin'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_da_write_begin':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:129: error: implicit declaration of function 'unregister_trace_ldiskfs_da_write_begin'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_ordered_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:164: error: implicit declaration of function 'register_trace_ldiskfs_ordered_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_ordered_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:164: error: implicit declaration of function 'unregister_trace_ldiskfs_ordered_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_writeback_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:172: error: implicit declaration of function 'register_trace_ldiskfs_writeback_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_writeback_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:172: error: implicit declaration of function 'unregister_trace_ldiskfs_writeback_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_journalled_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:180: error: implicit declaration of function 'register_trace_ldiskfs_journalled_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_journalled_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:180: error: implicit declaration of function 'unregister_trace_ldiskfs_journalled_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_da_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:188: error: implicit declaration of function 'register_trace_ldiskfs_da_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_da_write_end':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:188: error: implicit declaration of function 'unregister_trace_ldiskfs_da_write_end'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_writepage':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:196: error: implicit declaration of function 'register_trace_ldiskfs_writepage'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_writepage':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:196: error: implicit declaration of function 'unregister_trace_ldiskfs_writepage'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_enable_ldiskfs_da_writepages':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:219: error: implicit declaration of function 'register_trace_ldiskfs_da_writepages'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function 'ftrace_profile_disable_ldiskfs_da_writepages':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:219: error: implicit declaration of function 'unregister_trace_ldiskfs_da_writepages'