Help answer threads with 0 replies.
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, 03: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, 02: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 01:22 AM
kernel module __divdi3 undefined dubcat Programming 1 03-30-2006 03:23 PM
How to link to reference linux timer calls? Undefined --bad_delay for udelay() pat_and_cami Programming 1 02-19-2006 06:30 PM
undefined reference to `cfb_fillrect' and more when compiling kernel KR-data Linux - Software 0 09-03-2005 01:56 PM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 07:43 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:00 AM.

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
Open Source Consulting | Domain Registration