LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 02: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:18 AM.

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