首页 新闻 会员 周边 捐助

请那一位高手帮我指点一下,以下问不知是那里出了问题?大部份是外扩整型变量出问题,不知道怎样解决,谢谢

0
[已关闭问题]

Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "F02x_Init_Device.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "Function.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "F02x_Control.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "Main.c" DB OE BR
.

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "F02x_DACs_SineCosine.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "F02x_FLASH.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Invoking project defined compiler.
C:\Keil\C51\BIN\c51.exe "F02x_ADC0_Mux.c" DB OE BR
..

C51 COMPILER V7.09 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2004

C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
Link in progress...
C:\Keil\C51\BIN\BL51.EXE @"F:\工程项目\PCB ATE\cyglink.txt"
.

BL51 BANKED LINKER/LOCATER V5.03 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002
"F:\工程项目\PCB ATE\F02x_Init_Device.obj",
"F:\工程项目\PCB ATE\Function.obj",
"F:\工程项目\PCB ATE\F02x_Control.obj",
"F:\工程项目\PCB ATE\Main.obj",
"F:\工程项目\PCB ATE\F02x_DACs_SineCosine.obj",
"F:\工程项目\PCB ATE\F02x_FLASH.obj",
"F:\工程项目\PCB ATE\F02x_ADC0_Mux.obj"  TO "F:\工程项目\PCB ATE\Serial" RS(256) PL(68) PW(78)

*** ERROR L103: EXTERNAL ATTRIBUT DO NOT MATCH PUBLIC
    SYMBOL:  THL0
    MODULE:  F:\工程项目\PCB ATE\F02x_Control.obj (F02X_CONTROL)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  IMPEDANCECURRENT
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDTXMV
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASETXMV
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDRXMV
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASERXMV
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  IMPEDANCEVOLTAGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  PHASE_ADD
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDFASTCHARGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  WASTAGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASECHARGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  TIMERON
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDTXDBM
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASETXDBM
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDRXDBM
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASERXDBM
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  FREQUENCY
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDTXCURRENT
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASETXCURRENT
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  AUDIOFREOUENCY
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  AMPLITUDE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDTXLEVEL
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASETXLEVEL
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  TIMEROFF
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  CREEPAGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDSTANDARDCURRENT
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  BASESTANDARDCURRENT
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L103: EXTERNAL ATTRIBUT DO NOT MATCH PUBLIC
    SYMBOL:  THL1
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L103: EXTERNAL ATTRIBUT DO NOT MATCH PUBLIC
    SYMBOL:  THL0
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  HANDSTANDARDCHARGE
    MODULE:  F:\工程项目\PCB ATE\Main.obj (MAIN)

*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  FREQUENCY
    MODULE:  F:\工程项目\PCB ATE\F02x_DACs_SineCosine.obj (F02X_DACS_SINECOSINE)

>>
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  AMPLITUDE
    MODULE:  F:\工程项目\PCB ATE\F02x_DACs_SineCosine.obj (F02X_DACS_SINECOSINE)

>>
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL:  PHASE_ADD
    MODULE:  F:\工程项目\PCB ATE\F02x_DACs_SineCosine.obj (F02X_DACS_SINECOSINE)

>>
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_MULTIBYTETOHEX?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_DECIMALISTTOASCII?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_ASCIITODECIMALIST?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_SURPLUS?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_VALUE_QUOTIENT?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_DELAYUS?FUNCTION

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?HAND_FAST_CHARGE?F02X_CONTROL

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?HAND_TX_CURRENT?F02X_CONTROL

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_INSTRUMENT_NUMBER?F02X_CONTROL

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_FLASH_WIRTE_DATA?MAIN

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?TESTHAND?MAIN

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?TESTBASE?MAIN

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?CO?MAIN

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
    SYMBOL:  THL0
    MODULE:  F:\工程项目\PCB ATE\F02x_Init_Device.obj (F02X_INIT_DEVICE)
    ADDRESS: 0FC0H

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
    SYMBOL:  THL0
    MODULE:  F:\工程项目\PCB ATE\F02x_Init_Device.obj (F02X_INIT_DEVICE)
    ADDRESS: 0FC6H

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
    SYMBOL:  THL1
    MODULE:  F:\工程项目\PCB ATE\F02x_Init_Device.obj (F02X_INIT_DEVICE)
    ADDRESS: 1035H

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL
    SYMBOL:  THL1
    MODULE:  F:\工程项目\PCB ATE\F02x_Init_Device.obj (F02X_INIT_DEVICE)
    ADDRESS: 103BH

Program Size: data=98.4 xdata=198 code=4195
LINK/LOCATE RUN COMPLETE.  13 WARNING(S),  37 ERROR(S)

geqiang的主页 geqiang | 初学一级 | 园豆:200
提问于:2009-02-25 09:56
< >
分享
所有回答(1)
0

这不写的很清楚吗,104行重复定义

RXWL | 园豆:194 (初学一级) | 2017-12-27 09:43
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册