http://ftp.yars.free.net/pub/software/unix/platforms/linux/kernel/drivers/ip_wccp-for2.6.0.c > > echo 'obj-m := ip_wccp-for2.6.0.o' > Makefile > make -C /usr/src/linux SUBDIRS=$PWD O=$PWD V=1 modules > > Arkadiusz Mi¶kiewicz CS at FoE, Wroclaw University of Technology > arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux
that's it. if fire-up module compile after kernel build like that: - this is modules section in /usr/src/linux-2.6.3/.config # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y - this is Arkadiusz's hint fo makefile compose: cd dir-with-ip-wccp-for2.60.o ; echo 'obj-m := ip_wccp-for2.6.0.o' > Makefile make -C /usr/src/linux-2.6.3 SUBDIRS=$PWD modules -- V=1 in Arkadiusz's hint is for verbose output. note: module must be compiled with kernel that we want to use with. e.g 2.6.x tanx a lot to everybody. oo and read in /usr/src/linux-2.6.x/Documentation/kbuild before google searches ;-) it helps very very ;)). -- Konstantin Kostadinov ------------------------------------------------------------ Public PGP : http://www.fadata.bg/pgp/konstantinpgp.asc ----------------------------------------------------------- The lunatic, the lover, and the poet, Are of imagination all compact... -- Wm. Shakespeare, "A Midsummer Night's Dream" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]