cannot insmod sculld in ldd3
Freeman Zhang
freeman.zhang1992 at gmail.com
Sun Mar 12 04:55:05 EDT 2017
Hi
On 3/11/17 12:49 AM, Ali Aminian wrote:
> i checked dmsg and it says:
> [12073.858764] sculld: no symbol version for unregister_ldd_driver
> [12073.858767] sculld: Unknown symbol unregister_ldd_driver (err -22)
> [12073.858780] sculld: no symbol version for register_ldd_device
> [12073.858781] sculld: Unknown symbol register_ldd_device (err -22)
> [12073.858789] sculld: no symbol version for unregister_ldd_device
> [12073.858790] sculld: Unknown symbol unregister_ldd_device (err -22)
> [12073.858794] sculld: no symbol version for register_ldd_driver
> [12073.858795] sculld: Unknown symbol register_ldd_driver (err -22)
>
> these functions are defined in lddbus and i have insmod lddbus.
Based on your description, you built two modules: lddbus and sculld.
sculld used the symbols exported in lddbus -- am I right? In this case,
you might want sculld to know these symbols via copying Module.symvers
file generated by the compilation of lddbus to sculld code directory
before building sculld. To make it clear:
step 1. build lddbus, generate `*.ko` and `Module.symvers`
step 2. copy `Module.symvers` located in lddbus directory
to sculld directory
step 3. build sculld
Just a mixture of guess and experiences... hope it can help!
All the best!
Freeman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170312/98541462/attachment.bin
More information about the Kernelnewbies
mailing list