LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 04-17-2007, 04:56 AM   #1
Rostfrei
Member
 
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


Hello!

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

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

Code:
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?

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

Rep: Reputation: Disabled
see in the follow thread.
http://www.linuxquestions.org/questi...le-4175442868/
 
  


Reply


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 11:06 PM.

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