This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled
- From: "anil dot s dot keshavamurthy at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Feb 2006 17:45:27 -0000
- Subject: [Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled
- Reply-to: sourceware-bugzilla at sourceware dot org
[....]
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o(.kprobes.text+0xa3): In function `get_insn_slot':
: undefined reference to `module_alloc'
kernel/built-in.o(.kprobes.text+0x1f3): In function `free_insn_slot':
: undefined reference to `module_free'
----------------------------------------
module_alloc() and module_free() functions are only compiled in when
CONFIG_MODULES are enabled. So if CONFIG_MODULES are disabled we get the above
compile error while building the kernel.
Solution: Since Kprobes is of no use if CONFIG_MODULES are disabled, so
make CONFIG_KPROBES depends on CONFIG_MODULES and we will not have above
compile problem.
--
Summary: Built failure when CONFIG_MODULES disabled
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: kprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: anil dot s dot keshavamurthy at intel dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2312
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.