public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled
@ 2006-02-09 17:45 anil dot s dot keshavamurthy at intel dot com
  2006-02-09 18:23 ` [Bug kprobes/2312] " jkenisto at us dot ibm dot com
  0 siblings, 1 reply; 2+ messages in thread
From: anil dot s dot keshavamurthy at intel dot com @ 2006-02-09 17:45 UTC (permalink / raw)
  To: systemtap

[....]
  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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug kprobes/2312] Built failure when CONFIG_MODULES disabled
  2006-02-09 17:45 [Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled anil dot s dot keshavamurthy at intel dot com
@ 2006-02-09 18:23 ` jkenisto at us dot ibm dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jkenisto at us dot ibm dot com @ 2006-02-09 18:23 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |anil dot s dot keshavamurthy
                   |redhat dot com              |at intel dot com
             Status|NEW                         |ASSIGNED


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-09 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 17:45 [Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled anil dot s dot keshavamurthy at intel dot com
2006-02-09 18:23 ` [Bug kprobes/2312] " jkenisto at us dot ibm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).