winnie 发表于 2009-3-28 14:24:57

编译出错

Deleting intermediary files... done.
Executing: C:\HT-PIC\BIN\PICC.EXE -Q -MPLAB -C -Eyjb1.cce -16F876A YJB1.C -Oyjb1.obj
Warning YJB1.C 352 : implicit conversion of float to integer
Warning YJB1.C 174 : degenerate unsigned comparison
Executing: C:\HT-PIC\BIN\PICC.EXE -Q -MPLAB -Eyjb1.lde -16F876A E:\XIANGM\YJB1.OBJ -Oyjb1.cof -Oyjb1.cof
Error   : function _delay appears in multiple call graphs: rooted at _service and _main
Error   : Can't find 0xC words for psect temp in segment COMBANK
Error   : Can't find 0x3 words (0x3 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x3 words (0x3 withtotal) for psect xtemp in segment BANK0
Error   : Can't find 0x2 words (0x2 withtotal) for psect code_ptr in segment BANK0
Error   : Can't find 0x2 words (0x2 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave_0 in segment COMBANK
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
Error   : Can't find 0x1 words (0x1 withtotal) for psect intsave in segment BANK0
BUILD FAILED: Tue May 25 11:27:17 2004

winnie 发表于 2009-3-28 14:25:04

在你的一些变量前加关键字 bank1 bank2
页: [1]
查看完整版本: 编译出错