Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-05-2012, 09:04 AM   #1
LQ Newbie
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
unknown symbol register_kprobe

I am trying to compile and insert this kprobe example(from RedHat Website) in my F17 kernel:

and this makefile:

but when I try to insert module into kernel, I see this error message: Error: could not insert module ./gooran_module.ko: Unknown symbol in module. dmesg says:

[ 3533.204708] gooran_module: Unknown symbol register_kprobe (err 0) [ 3533.204750] gooran_module: Unknown symbol unregister_kprobe (err 0)

Can anyone help me?

Last edited by AmirGooran; 11-05-2012 at 09:31 AM.
Old 04-26-2014, 10:42 AM   #2
LQ Newbie
Registered: Apr 2014
Posts: 28

Rep: Reputation: 1
Well in the link the includes are missing. Did you include the following?
#include <linux/modules.h>
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/ptrace.h>
* Hope this is still relevant to you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help icmp destination unknown port unknown gbwien Linux - Networking 39 09-02-2011 09:46 AM
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 migabriel.84 Linux - Server 1 11-25-2009 04:36 PM
Unknown Netbios Packets to Unknown Network fukawi2 Linux - Networking 2 09-17-2007 07:41 PM
UART : Unknown iceman911 Linux - Hardware 1 06-23-2005 11:14 PM
unknown device speedyhot Linux - General 1 03-05-2004 02:39 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration