请问2.6中模块如何编译
我按照linux设备驱动程序中写了个hello.c,然后在makefile里写了obj-m:=hello.o.接着make -C /usr/src/linux-2.6.10 M='pwd' hello.o.提示make: Entering directory `/usr/src/linux-2.6.10'
make: *** No rule to make target `hello.o'. Stop.
make: Leaving directory `/usr/src/linux-2.6.10'
请大家帮忙 同问
有个网站有类似的,但我没实验成功
http://dirac.org/linux/writing/lkmpg/2.4/chinese/lkmpg_chs/
页:
[1]