From mboxrd@z Thu Jan 1 00:00:00 1970 From: freeman.zhang1992@gmail.com (Freeman Zhang) Date: Mon, 13 Mar 2017 12:19:58 +0800 Subject: cannot insmod sculld in ldd3 In-Reply-To: <20170312190304.GA10105@kroah.com> References: <20170312190304.GA10105@kroah.com> Message-ID: <00355f0a-57da-e530-2ada-94b5eb9faeff@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi Greg, On 3/13/17 3:03 AM, Greg KH wrote: > > 'depmod' handles all of this when you install a kernel and its modules. > Thanks for that information, now I take 'depmod' seriously and stop making up inelegant methods. I studied the 'kmod', both its behaviors and codes, and got plenty of ideas about module symbol stuff. However, I am still wondering why copy Module.symvers file works too, at building time? > 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 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/20170313/e8a4cf98/attachment-0001.bin