Module compilation?
Hello all,
I just made a tiny module (which is a small hack of the MIRROR module)
and I don't
know how to compile it properly. The Netfilter hacking documentation does not refer to this and
the Makefile refers to a main Makefile but I can't figure out which one. That's why I'm asking your help here.
Is there any templates of Makefile for testing modules on their own?
Cheers.
Quoted 8 lines · UnderLord
Hello all,
I just made a tiny module (which is a small hack of the MIRROR module)
and I don't
know how to compile it properly. The Netfilter hacking documentation does not refer to this and
theMakefilerefers to a mainMakefilebut I can't figure out which one. That's why I'm asking your help here.
See the gcc line when you compile kernel modules for your kernel. Then copy the options and call gcc manually for compiling your module.
Regards
Henrik