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
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies