PINE64

Full Version: CONFIG_IP_NF_NAT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Need module? Do I need to recompile myself or is it easier than that?
No one?
(08-15-2017, 07:59 PM)nebbors Wrote: [ -> ]Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?
(08-16-2017, 05:15 PM)MarkHaysHarris777 Wrote: [ -> ]
(08-15-2017, 07:59 PM)nebbors Wrote: [ -> ]Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?

good point. kernel module required for a docker compile.
(08-16-2017, 06:55 PM)nebbors Wrote: [ -> ]
(08-16-2017, 05:15 PM)MarkHaysHarris777 Wrote: [ -> ]
(08-15-2017, 07:59 PM)nebbors Wrote: [ -> ]Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?

good point. kernel module required for a docker compile.


You will need the kernel header files for sure;  if the module (name?) support has already been added to the kernel you can compile the module source and then put the module blahblah.so in the /lib directory, and then insmod it;  however,  if the module support is NOT in the kernel yet , you will also need to recompile the kernel ( a pain in the arse but doable ) and then decide whether to statically link it, or insmod it.  

Some of this depends on your skill set too...