This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug kprobes/2312] New: Built failure when CONFIG_MODULES disabled


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]