[LU-4326] Lustre 2.5.0 build failed Created: 29/Nov/13  Updated: 02/Dec/13  Resolved: 02/Dec/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Chakravarthy Nagarajan (Inactive) Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Mellanox driver version: MLNX_OFED_LINUX-2.0-3.0.0-rhel6.4
OS: CentOS-6.4


Severity: 3
Rank (Obsolete): 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'



 Comments   
Comment by Minh Diep [ 29/Nov/13 ]

Please see LU-4266

Comment by Chakravarthy Nagarajan (Inactive) [ 02/Dec/13 ]

Thanks for the suggestion and it worked.

Comment by Peter Jones [ 02/Dec/13 ]

duplicate go LU-4266

Generated at Sat Feb 10 01:41:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.