- 论坛徽章:
- 0
|
zhenfeng@zhenfeng-laptop:~/project/dcj-mpc8321/kernel/Module/dcj-v1$ make
make -C ~/project/dcj-mpc8321/kernel/linux-2.6.20 M=/home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1 modules CROSS_COMPILE=powerpc-e300c2-linux-
make[1]: Entering directory `/home/zhenfeng/project/dcj-mpc8321/kernel/linux-2.6.20'
CC [M] /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/iec61850sv.o
/home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/iec61850sv.c: In function 'CalcVirtVal_pCh':
/home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/iec61850sv.c:569: warning: 'pt' is used uninitialized in this function
CC [M] /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/IP_COM_STC.o
CC [M] /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/com_stc_stm101.o
make[2]: Circular /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/dcj-v1.o <- /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/dcj-v1.o dependency dropped.
LD [M] /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/dcj-v1.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/dcj-v1.mod.o
LD [M] /home/zhenfeng/project/dcj-mpc8321/kernel/Module/dcj-v1/dcj-v1.ko
make[1]: Leaving directory `/home/zhenfeng/project/dcj-mpc8321/kernel/linux-2.6.20'
cp -f dcj-v1.ko /nfs
上面是我编译内核模块的编译信息。红色部分错误原因是什么?对我的模块运行有什么影响?
现在模块编译可以通过,但运行时什么信息都没有,连加载模块前的打印信息都没有,是否与上述错误有关? |
|