Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-17-2007, 04:56 AM   #1
Registered: Aug 2005
Location: Slovenia
Distribution: Fedora, Ubuntu
Posts: 69

Rep: Reputation: 15
undefined reference to `__this_module' when trying to link module to kernel


On our embedded device I have a jitter buffer module jb.o. I don't have any code for it just compiled binary jb.o. It works ok and it can be insmoded and used without the problem. Now I want it to become part of the kernel and not insmoded anymore. I tried to link it to the kernel by adding

obj-y := jb.o
to the make file. Now I get error like

arch/mips/infineon/incaip/jb/jb.a: In function `ifx_jb_get_status_proc': 
src/ifx_jb_algorithm.c:(.text+0x18e4): undefined reference to `__this_module' 
src/ifx_jb_algorithm.c:(.text+0x18e8): undefined reference to `__this_module' 
src/ifx_jb_algorithm.c:(.text+0x191c): undefined reference to `__this_module' 
src/ifx_jb_algorithm.c:(.text+0x1920): undefined reference to `__this_module' 
src/ifx_jb_algorithm.c:(.text+0x192c): undefined reference to `__this_module'
What is the cause of this? I have other modules also, which I compiled into the kernel without the problem. What is `__this_module' actually?

Old 04-02-2014, 03:43 AM   #2
LQ Newbie
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
see in the follow thread.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined errno reference while compiling loadable module kesher Linux - Software 3 04-10-2006 02:22 AM
kernel module __divdi3 undefined dubcat Programming 1 03-30-2006 04:23 PM
How to link to reference linux timer calls? Undefined --bad_delay for udelay() pat_and_cami Programming 1 02-19-2006 07:30 PM
undefined reference to `cfb_fillrect' and more when compiling kernel KR-data Linux - Software 0 09-03-2005 02:56 PM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 08:43 PM

All times are GMT -5. The time now is 04:19 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