Messages in this thread | | | Date | Sun, 13 Apr 2008 12:40:20 +0300 | From | "Uladzislau Rezki" <> | Subject | Re: Kernel Oops within Linux Fedore Core 5 |
| |
> > Hi, > > normally (read: 99% of the cases) this happens when your Makefile is buggy. > Are you sure your Makefile is correct? Also, are you sure you're compiling > against the right kernel headers ? > > Greetings, > > Arjan van de Ven > Yes I'm shure that makefile is right, and I'm compiling with right linux-headers. Bellow you can see Makefile which I use:
obj-m := sb_show.o
KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd)
default: $(MAKE) -C $(KDIR) M=$(PWD) modules
clean: rm -rf sb_show.ko .sb_show.ko.cmd .sb_show.mod.o.cmd .sb_show.o.cmd .tmp_versions
-- Uladzislau Rezki
| |