<br><br><div class="gmail_quote">On Tue, Sep 13, 2011 at 6:06 AM, kashish bhatia <span dir="ltr"><<a href="mailto:koolest77@gmail.com">koolest77@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all, <br>I am trying to port a kernel module from 2.6.23 kernel to 2.6.32 kernel.<br><br>While inserting the module , it shows an error : <br><br>insmod : error inserting 'module.ko' : -1 Unknown symbol in module<br>
<br>I checked in /var/log/messages for the unknown symbol and it shows,<br><br>module : no symbol version for function_name<br><br>Can anybody explain what is this error and how to resolve this error ?<br><font color="#888888"><br>
<br clear="all">
<br>-- <br><span style="color: rgb(51, 51, 51);">Thanks & Regards,</span><br>Kashish Bhatia<br><br>
</font><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div>Are you building it out of tree?<br><font color="#888888"><br></font>Your module is trying to use an exported symbol, perhaps it is a symbol
exported from another module, for cases like this modprobe works
better than insmod. Try modprobe and it should works.<br clear="all"><br>-- <br>Jorgyano Bruno de Oliveira Vieira<br>cell: +55 (41) 8890 6774<br> <br>