Re: Kernel Oops within Linux Fedore Core 5
From: Uladzislau Rezki
Date: Sun Apr 13 2008 - 05:40:30 EST
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/