Hi Gaurav,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm trying to insert a module into the kernel (2.6.35.5). There are no<br>
errors during the "make" phase. There are only warnings regarding two<br>
symbols :<br>
WARNING: "__udivdi3"<br>
[/media/Study/project_work/splitting_merging/radc_try1/radc1.ko]<br>
undefined!<br>
WARNING: "__umoddi3"<br>
[/media/Study/project_work/splitting_merging/radc_try1/radc1.ko]<br>
undefined!<br>
<br></blockquote><div>The symbol __udivdi3 & __umoddi3 are compiler generated functions calls for specific <br>Arithmetic function in your code (In this case its division). The definitions of that function <br>(for the specific ARCH your are building for) would be in the respective libraries (libgcc). <br>
<br>In your case, verify where you are (a) using the right cross compilers & (b) right cross-compiling libraries to link.<br>Compile & Link without errors, and you should be able to insert the module properly.<br>
<br>And one more thing, the libraries used for linking as well as libraries used during run time should be same <br>to ensure ABI (Application binary interface) compatibility between them.<br>ABI defines the standard for procedure call.<br>
<br>Regards,<br>Subbu<br></div></div><br>