|
发表于 2003-7-31 15:01:20
|
显示全部楼层
补充小猪的,kernel log 打印的 "No module found in object".
编译是这样的
gcc -Wp,-MD,drivers/test/.test.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=test -DKBUILD_MODNAME=test -c -o drivers/test/test.o drivers/test/test.c |
|