{"id":2477,"date":"2019-05-23T00:58:38","date_gmt":"2019-05-23T00:58:38","guid":{"rendered":""},"modified":"2019-05-23T08:58:53","modified_gmt":"2019-05-23T00:58:53","slug":"51%e5%8d%95%e7%89%87%e6%9c%ba%e5%86%85%e9%83%a8%e5%af%84%e5%ad%98%e5%99%a8%e7%9a%84%e5%8a%9f%e8%83%bd%e7%94%a8%e6%b3%95%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2477","title":{"rendered":"51\u5355\u7247\u673a\u5185\u90e8\u5bc4\u5b58\u5668\u7684\u529f\u80fd\u7528\u6cd5\u89e3\u6790"},"content":{"rendered":"

\n\t1. Warning 280\uff1a’i’\uff1aunreferencedLOCal variable<\/p>\n

\n\t\u8bf4\u660e\u5c40\u90e8\u53d8\u91cfi \u5728\u51fd\u6570\u4e2d\u672a\u4f5c\u4efb\u4f55\u7684\u5b58\u53d6\u64cd\u4f5c\uff0c\u89e3\u51b3\u65b9\u6cd5\u6d88\u9664\u51fd\u6570\u4e2di \u53d8\u91cf\u7684\u5ba3\u544a<\/p>\n

\n\t <\/div>\n

\n\t2 Warning 206\uff1a’MusIC3’\uff1ami<\/u>ssing functi<\/u>on-prototype<\/p>\n

\n\t\u8bf4\u660eMusic3\uff08 \uff09\u51fd\u6570\u672a\u4f5c\u5ba3\u544a\u6216\u672a\u4f5c\u5916\u90e8\u5ba3\u544a\u6240\u4ee5\u65e0\u6cd5\u7ed9\u5176\u4ed6\u51fd\u6570\u8c03\u7528<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u5c06\u53d9\u8ff0void Music3\uff08void\uff09\u5199\u5728\u7a0b\u5e8f\u7684\u6700\u524d\u7aef\u4f5c\u5ba3\u544a\u5982\u679c\u662f\u5176\u4ed6\u6587\u4ef6\u7684\u51fd\u6570\u5219\u8981\u5199\u6210exte<\/u>rn void Music3\uff08void\uff09\uff0c\u5373\u4f5c\u5916\u90e8\u5ba3\u544a<\/p>\n

\n\t\"51\u5355\u7247\u673a\u5185\u90e8\u5bc4\u5b58\u5668\u7684\u529f\u80fd\u7528\u6cd5\u89e3\u6790<\/p>\n

\n\t3 Compling \uff1aC:8051MANN.C<\/p>\n

\n\tError:318:CAN<\/u>’t open file ‘beep.h’<\/p>\n

\n\t\u8bf4\u660e\u5728\u7f16\u8bd1C:8051MANN.C \u7a0b\u5e8f\u8fc7\u7a0b\u4e2d\u7531\u4e8emai<\/u>n.c \u7528\u4e86\u6307\u4ee4#include “beep.h”\uff0c\u4f46\u5374\u627e\u4e0d\u5230\u6240\u81f4\u89e3\u51b3\u65b9\u6cd5\u7f16\u5199\u4e00\u4e2abeep.h \u7684\u5305\u542b\u6863\u5e76\u5b58\u5165\u5230c:8051 \u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d<\/p>\n

\n\t4 Compling:C\uff1a8051LED.C<\/p>\n

\n\tError 237\uff1a’LedOn’\uff1afuncTIon already has a body<\/p>\n

\n\t\u8bf4\u660eLedOn\uff08 \uff09\u51fd\u6570\u540d\u79f0\u91cd\u590d\u5b9a\u4e49\u5373\u6709\u4e24\u4e2a\u4ee5\u4e0a\u4e00\u6837\u7684\u51fd\u6570\u540d\u79f0<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u4fee\u6b63\u5176\u4e2d\u7684\u4e00\u4e2a\u51fd\u6570\u540d\u79f0\u4f7f\u5f97\u51fd\u6570\u540d\u79f0\u90fd\u662f\u72ec\u7acb\u7684<\/p>\n

\n\t5 ***WARNING 16:UNCALLED SEGMENT\uff0cIGNORED FOR OVERLAY PROCESS<\/p>\n

\n\tSEGMENT\uff1a \uff1fPR\uff1f_DELAYX1MS\uff1fDELAY<\/p>\n

\n\t\u8bf4\u660eDelayX1ms\uff08 \uff09\u51fd\u6570\u672a\u88ab\u5176\u5b83\u51fd\u6570\u8c03\u7528\u4e5f\u4f1a\u5360\u7528\u7a0b\u5e8f\u8bb0\u5fc6\u4f53\u7a7a\u95f4\uff0c\u89e3\u51b3\u65b9\u6cd5\u53bb\u6389DelayX1ms\uff08 \uff09\u51fd\u6570\u6216\u5229\u7528\u6761\u4ef6\u7f16\u8bd1#if …\u3002.#endif\uff0c\u53ef\u4fdd\u7559\u8be5\u51fd\u6570\u5e76\u4e0d\u7f16\u8bd1<\/p>\n

\n\t6 ***WARNING 6 \uff1aXDATA SPACE MEMORY OVERLAP<\/p>\n

\n\tFROM<\/u> \uff1a 0025H<\/p>\n

\n\tTO\uff1a 0025H<\/p>\n

\n\t\u8bf4\u660e\u5916\u90e8\u8d44\u6599ROM \u76840025H \u91cd\u590d\u5b9a\u4e49\u5730\u5740<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u5916\u90e8\u8d44\u6599ROM \u7684\u5b9a\u4e49\u5982\u4e0bPdata unsigned char XFR_ADC<\/u> _at_0x25 \u5176\u4e2dXFR_ADC \u53d8\u91cf\u7684\u540d\u79f0\u4e3a0x25\uff0c\u8bf7\u68c0\u67e5\u662f\u5426\u6709\u5176\u5b83\u7684\u53d8\u91cf\u540d\u79f0\u4e5f\u662f\u5b9a\u4e49\u57280x25 \u5904\u5e76\u4fee\u6b63\u5b83<\/p>\n

\n\t7 WARNING 206\uff1a’DelayX1ms’\uff1a missing funcTIon-prototype<\/p>\n

\n\tC:8051INPUT.C<\/p>\n

\n\tError 267 \uff1a’DelayX1ms ‘\uff1arequires ANSI-style prototype C:8051INPUT.C<\/p>\n

\n\t\u8bf4\u660e\u7a0b\u5e8f\u4e2d\u6709\u8c03\u7528DelayX1ms \u51fd\u6570\u4f46\u8be5\u51fd\u6570\u6ca1\u5b9a\u4e49\u5373\u672a\u7f16\u5199\u7a0b\u5e8f\u5185\u5bb9\u6216\u51fd\u6570\u5df2\u5b9a\u4e49\u4f46\u672a\u4f5c\u5ba3\u544a<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u7f16\u5199DelayX1ms \u7684\u5185\u5bb9\u7f16\u5199\u5b8c\u540e\u4e5f\u8981\u4f5c\u5ba3\u544a\u6216\u4f5c\u5916\u90e8\u5ba3\u544a\u53ef\u5728delay.h \u7684\u5305\u542b\u6863\u5ba3\u544a\u6210\u5916\u90e8\u4ee5\u4fbf\u5176\u5b83\u51fd\u6570\u8c03\u7528<\/p>\n

\n\t8 ***WARNING 1:UNRESOLVED EXTERNAL SYMBOL<\/p>\n

\n\tSYMBOL:MUSIC3<\/p>\n

\n\tMODULE:C\uff1a8051MUSIC.OBJ\uff08MUSIC\uff09<\/p>\n

\n\t***WARNING 2:REFERENCE MADE TO UNRESOLVED EXTERNAL<\/p>\n

\n\tSYMBOL:MUSIC3<\/p>\n

\n\tMODULE:C\uff1a8051MUSIC.OBJ\uff08MUSIC\uff09<\/p>\n

\n\tADDRESS:0018H<\/p>\n

\n\t\u8bf4\u660e\u7a0b\u5e8f\u4e2d\u6709\u8c03\u7528MUSIC \u51fd\u6570\u4f46\u672a\u5c06\u8be5\u51fd\u6570\u7684\u542b\u6269\u6863C \u52a0\u5165\u5230\u5de5\u7a0b\u6863Prj \u4f5c\u7f16\u8bd1\u548c\u8fde\u63a5<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u8bbeMUSIC3 \u51fd\u6570\u5728MUSIC C \u91cc\u5c06MUSIC C \u6dfb\u52a0\u5230\u5de5\u7a0b\u6587\u4ef6\u4e2d\u53bb<\/p>\n

\n\t9 ***ERROR 107:ADDESS SPACE OVERFLOW<\/p>\n

\n\tSPACE\uff1a DATA<\/p>\n

\n\tSEGMENT\uff1a _DATA_GOUP_<\/p>\n

\n\tLENGTH\uff1a 0018H<\/p>\n

\n\t***ERROR 118\uff1a REFERENCE MADE TO ERRONEOUS EXTERNAL<\/p>\n

\n\tSYMBOL\uff1a VOLUME<\/p>\n

\n\tMODULE\uff1a C:8051OSDM.OBJ \uff08OSDM\uff09<\/p>\n

\n\tADDRESS\uff1a 4036H<\/p>\n

\n\t\u8bf4\u660edata \u5b58\u50a8\u7a7a\u95f4\u7684\u5730\u5740\u8303\u56f4\u4e3a0~0x7f\uff0c\u5f53\u516c\u7528\u53d8\u91cf\u6570\u76ee\u548c\u51fd\u6570\u91cc\u7684\u5c40\u90e8\u53d8\u91cf\u5982\u679c\u5b58<\/p>\n

\n\t\u50a8\u6a21\u5f0f\u8bbe\u4e3aSMALL \u5219\u5c40\u90e8\u53d8\u91cf\u5148\u4f7f\u7528\u5de5\u4f5c\u5bc4\u5b58\u5668<\/u>R2~R7 \u4f5c\u6682\u5b58\u5f53\u5b58\u50a8\u5668\u4e0d\u591f\u7528\u65f6\u5219\u4f1a<\/p>\n

\n\t\u4ee5data \u578b\u522b\u7684\u7a7a\u95f4\u4f5c\u6682\u5b58\u7684\u4e2a\u6570\u8d85\u8fc70x7f \u65f6\u5c31\u4f1a\u51fa\u73b0\u5730\u5740\u4e0d\u591f\u7684\u73b0\u8c61<\/p>\n

\n\t\u89e3\u51b3\u65b9\u6cd5\u5c06\u4ee5data \u578b\u522b\u5b9a\u4e49\u7684\u516c\u5171\u53d8\u91cf\u4fee\u6539\u4e3aidata \u578b\u522b\u7684\u5b9a\u4e49<\/p>\n

\n\t\u8bf4\u660e\u5982\u5bf9\u7f16\u8bd1\u51fa\u9519\u611f\u5174\u8da3\u7684\u7f51\u53cb\u80fd\u5426\u628a\u4f60\u4eec\u5e38\u9047\u5230\u7684\u9519\u8bef\u4fe1\u606f\u6536\u96c6\u8d77\u6765\u5e76\u63d0\u51fa\u6700\u7ec8\u7684<\/p>\n

\n\t\u89e3\u51b3\u529e\u6cd5\u52a0\u4ee5\u5f52\u7eb3\u4ee5\u671f\u5171\u4eab<\/p>\n

\n\t10 ***ERROR L104\uff1a MULTIPLE PUBLIC DEFINITIONS<\/p>\n

\n\t\u662f104\u53f7\u9519\u8bef\uff0c\u4f60\u5934\u6587\u4ef6\u91cc\u7684\u53d8\u91cf\u5b9a\u4e49\u88ab\u591a\u6b21\u8c03\u7528\uff0c\u76f8\u5f53\u4e8e\u591a\u6b21\u5b9a\u4e49\u4e86\u3002\uff08\u6ce8\u610f\u5934\u6587\u4ef6\u91cc\u4e0e\u4e3b\u51fd\u6570\u95f4\u5bb9\u6613\u540c\u65f6\u8c03\u7528\u76f8\u540c\u7684\u53d8\u91cf\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"

1. Warning 280\uff1ai\uff1aunreferencedLOCal variable \u8bf4\u660e\u5c40\u90e8\u53d8\u91cfi \u5728\u51fd\u6570\u4e2d\u672a\u4f5c\u4efb\u4f55\u7684\u5b58\u53d6\u64cd\u4f5c\uff0c\u89e3\u51b3\u65b9\u6cd5\u6d88\u9664\u51fd\u6570\u4e2di \u53d8\u91cf\u7684\u5ba3\u544a 2 Warning 206\uff1aMusIC3\uff1a mi ssing func ti on-prototype \u8bf4\u660eMusic3\uff08 \uff09\u51fd\u6570\u672a\u4f5c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2477"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2477"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2477\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2477"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}