Re: error : no symbol version for "function"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Sep 13, 2011 at 4:24 AM, Jorgyano Bruno <jorgyano@xxxxxxxxx> wrote:
>
>
> On Tue, Sep 13, 2011 at 6:06 AM, kashish bhatia <koolest77@xxxxxxxxx> wrote:
>>
>> Hi all,
>> I am trying to port a kernel module from 2.6.23 kernel to 2.6.32 kernel.
>>
>> While inserting the module , it shows an error :
>>
>> insmod : error inserting 'module.ko'  : -1 Unknown symbol in module
>>
>> I checked in /var/log/messages for the unknown symbol and it shows,
>>
>> module : no symbol version for function_name
>>
>> Can anybody explain what is this error and how to resolve this error ?
>>
>>
>>
>> --
>> Thanks & Regards,
>> Kashish Bhatia
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies@xxxxxxxxxxxxxxxxx
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
> Are you building it out of tree?
>
> 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.

The other reason that it might appear to be missing a symbol is
because the symbol is exported as a GPL symbol, and you're missing the

MODULE_LICENSE( "GPL" );

in your module.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux