Compiling on rcl.ece.iastate.edu

From Cpre584
Revision as of 22:59, 21 April 2009 by 127.0.0.1 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Make Command:
make -C /usr/src/kernels/2.6.26.8-57.fc8-i686 M=`pwd` modules


Makefile

obj-m := hello.o

Load Module

sudo insmod filename.ko

unLoad Module

sudo rmmod filename

See printouts

dmesg | tail