pocopico / rp-ext

GNU General Public License v2.0
529 stars 363 forks source link

How to compile modules ? #178

Open yuratux opened 1 year ago

yuratux commented 1 year ago

Could somebody provide manual - "How to compile modules for dsm 7.1" ? I tried compile modules as described here: https://github.com/retsamedoc/synok3s , but linux-4.4.x.txz too old: v4.4.59 vs v4.4.180, as a result - i can compile new modules but they are nor loadable (even after editing version manually in kernel sources)

jim3ma commented 1 year ago

You can have a look at https://github.com/jim3ma/synology-igc#build-in-synology-develop-environment First you need mark the module obj-m =... in Makefile, like: https://github.com/jim3ma/synology-igc/blob/main/Makefile#L8