[SWLUG] Kernel Module compilation

David Evans david at clyne.co.uk
Fri Feb 22 12:10:49 UTC 2002


Is it possible to compile kernel modules individually ?

I have ip_masql_h323.c.
As I understand I copy this to
/usr/src/linux/ipv4/net

modify the Makefile in that directory to have
M_OBJS += ip_masq_h323.o

cd /usr/src/linux

make modules
make modules install

It all takes a bit of a while, and I was wondering whether or not there is a
quick and easy way of doing this along th e lines of :-

kgcc -o ip_masq_h323.o ip_masq_h323

and then insmod the ip_masq_h323.o file ?

The purpose of the exerise is to get gnomemeeting and netmeeting behind an
ipchains firewall to masquerade properly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: David Elir Evans.vcf
Type: text/x-vcard
Size: 453 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20020222/00f1731c/attachment.vcf>


More information about the Swlug mailing list