LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   undefined reference to `__this_module' when trying to link module to kernel (https://www.linuxquestions.org/questions/linux-general-1/undefined-reference-to-%60__this_module-when-trying-to-link-module-to-kernel-546693/)

Rostfrei 04-17-2007 03:56 AM

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,

Blaider 04-02-2014 02:43 AM

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


All times are GMT -5. The time now is 11:54 AM.