Compiling on rcl.ece.iastate.edu

From Cpre584
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