- 论坛徽章:
- 0
|
[yangww_cs@localhost driver]$ make
make -C /lib/modules/2.6.9-67.ELsmp/build M=/mnt/hgfs/Linux/driver modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-67.EL-smp-i686'
make[2]: Warning: File `/mnt/hgfs/Linux/driver/hello.c' has modification time 1e+03 s in the future
CC [M] /mnt/hgfs/Linux/driver/hello.o
make[2]: 警告:检测到时钟错误。您的创建可能是不完整的。
Building modules, stage 2.
MODPOST
LD [M] /mnt/hgfs/Linux/driver/hello.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.EL-smp-i686'
[yangww_cs@localhost driver]$ ls
hello.c hello.ko hello.mod.c hello.mod.o hello.o Makefile
[yangww_cs@localhost driver]$ |
|