[求助] PIC编译出错

wjcsir   2012-3-8 17:09 楼主

Executing: "C:\Program Files\HI-TECH Software\PICC\std\9.60\bin\picc.exe" -C -E"kz_bpq.cce" "kz_bpq.c" -O"kz_bpq.obj" -Zg9 -O -ASMLIST -Q -MPLAB -16F877A
Advisory[1207]   : some of the command line options you are using are now obsolete
Advisory[1208]   : use --help option or refer to the user manual for option details
Warning[361] F:\Kz_bianpinqi\kz_bpq.c 44 : function declared implicit int
Warning[361] F:\Kz_bianpinqi\kz_bpq.c 125 : function declared implicit int
Warning[349] F:\Kz_bianpinqi\kz_bpq.c 333 : non-prototyped function declaration for ""
Warning[349] F:\Kz_bianpinqi\kz_bpq.c 333 : non-prototyped function declaration for "TMR1_OVR_ISR"
Warning[349] F:\Kz_bianpinqi\kz_bpq.c 347 : non-prototyped function declaration for ""
Warning[349] F:\Kz_bianpinqi\kz_bpq.c 347 : non-prototyped function declaration for "TMR0_OVR_ISR"
Error[845] F:\Kz_bianpinqi\kz_bpq.c 394 : symbol "int_func" defined more than once
Error[845] F:\Kz_bianpinqi\kz_bpq.c 379 : symbol "saved_w" defined more than once
Error[845] F:\Kz_bianpinqi\kz_bpq.c 387 : symbol "int_restore" defined more than once
Error[845] F:\Kz_bianpinqi\kz_bpq.c 396 : symbol "int_entry" defined more than once
Error[845] F:\Kz_bianpinqi\kz_bpq.c 402 : symbol "saved_status" defined more than once
Error[845] F:\Kz_bianpinqi\kz_bpq.c 425 : symbol "saved_pclath" defined more than once
Halting build on first failure as requested.
BUILD FAILED: Thu Mar 08 16:10:43 2012

 

编译出错 不知道什么原因 有知道的回复一下 谢谢

回复评论 (5)

这不是有警告提示吗?
点赞  2012-3-9 13:45
把文件上传上来看看
点赞  2012-3-11 13:45
看提示貌似是你定义的那些符号多次定义吧
点赞  2012-4-6 22:15

回复 4楼 liaofang 的帖子

应该是某个函数整个书写由问题,比如没有分号什么的
点赞  2012-4-10 12:33

回复 楼主 wjcsir 的帖子

我写了个定时器1的中断程序,也是这个错误,头疼。求指教!!!!
点赞  2012-7-9 18:24
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复