Hi,
thanks for your fast reply.
Yes, kernel-devel is installed:
[root@localhost ~]# rpm --query kernel-devel
kernel-devel-2.6.25-8.fc9.i686
[root@localhost ~]# uname --all
Linux localhost.localdomain 2.6.25-8.fc9.i686 #1 SMP Wed Apr 23 03:56:19
EDT 2008 i686 i686 i386 GNU/Linux
[root@localhost ~]#
cu romal
Jarod Wilson schrieb:
On Wednesday 30 April 2008 11:28:15 am Robert M. Albrecht wrote:
> Hi Sam,
>
> I have a problem in compiling a kernel module
> (outside the kernel) in F9 (rawhide). Perhaps someone could enlighten me.
>
> [root@localhost toshiba_acpi]# ll
> insgesamt 24
> -rw-r--r-- 1 root root 145 29. Apr 17:49 Makefile
> -rw-r--r-- 1 root root 19774 28. Apr 21:46 toshiba_acpi.c
>
> [root@localhost toshiba_acpi]# make
> make: F?r das Ziel ?default? ist nichts zu tun.
>
> [root@localhost toshiba_acpi]# cat Makefile
> obj-m := toshiba_acpi.o
>
> KDIR := /lib/modules/$(shell uname -r)/build
> PWD := $(shell pwd)
>
> default:
> $(MAKE) -C $(KDIR) M=$(PWD) modules
>
> [root@localhost toshiba_acpi]#
>
> Nothing happens. Has the Makefile to be changed for F9 or do I make a
> stupid mistake ?
The Makefile looks correct at a glance... Do you kernel-devel installed? If
not, build will be a dangling symlink...