标题: 文件<mc9s12dg128.h>为什么在编译的时候老出现许多错误? [打印本页] 作者: rong 时间: 2008-6-21 16:38 标题: 文件<mc9s12dg128.h>为什么在编译的时候老出现许多错误? <> </P><P> </P><P>每次编译的时候都出现下面的错误提示,不知道是程序问题还是codewarrior问题?</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A256_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A512_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A64_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12C32_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx128_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx256_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx512_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx64_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E128_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12H128_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A128_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12H256_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A256_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A512_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A64_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12C32_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx128_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx256_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx512_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx64_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E128_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12H128_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A128_FLAT.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12H256_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A256_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A512_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A64_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12C32_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx128_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx256_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx512_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12Dx64_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E128_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12H128_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12A128_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E64_RAM.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E64_BANKED.prm'<BR>in project</P><P>Ignoring prm file 'C:\Program Files\Freescale\Codewarrior for HC12 V4.6\Stationery\HCS12\HCS12_Stationery\Support_Files\parameter\_MC9S12E64_FLAT.prm'<BR>in project</P><P>Link Error : L1818: Symbol 30 - Regs duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 31 - Page duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 32 - Crg duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Tim0 has different size in per_A256_L91N.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>Link Error : L1818: Symbol 33 - Tim0 duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Atd0 has different size in per_A256_L91N.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>Link Error : L1818: Symbol 34 - Atd0 duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Pwm has different size in per_A256_L91N.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>Link Error : L1818: Symbol 35 - Pwm duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 36 - Sci0 duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 37 - Sci1 duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 38 - Spi0 duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 39 - Iic duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 42 - Flash duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 43 - Eeprom duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Pim has different size in per_A256_L91N.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>Link Error : L1818: Symbol 45 - Pim duplicated in per_A256_L91N.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1301: Cannot open file D:\wangdengrong\xinjianshiyan\xinjianshiyan_Data\Archive_Target\ObjectCode\per_A256_L91N.c.o</P><P><BR>Link Error : L1818: Symbol 30 - Regs duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 31 - Page duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 32 - Crg duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Tim0 has different size in per_A512_L00M.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>Link Error : L1818: Symbol 33 - Tim0 duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Atd0 has different size in per_A512_L00M.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>Link Error : L1818: Symbol 34 - Atd0 duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Pwm has different size in per_A512_L00M.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>Link Error : L1818: Symbol 35 - Pwm duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 36 - Sci0 duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 37 - Sci1 duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 38 - Spi0 duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 39 - Iic duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 40 - Spi1 duplicated in per_A512_L00M.c.o and per_A256_L91N.c.o</P><P><BR>Link Error : L1818: Symbol 41 - Spi2 duplicated in per_A512_L00M.c.o and per_A256_L91N.c.o</P><P><BR>Link Error : L1818: Symbol 42 - Flash duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 43 - Eeprom duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 44 - Atd1 duplicated in per_A512_L00M.c.o and per_A256_L91N.c.o</P><P><BR>L1827: Symbol Pim has different size in per_A512_L00M.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>Link Error : L1818: Symbol 45 - Pim duplicated in per_A512_L00M.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1301: Cannot open file D:\wangdengrong\xinjianshiyan\xinjianshiyan_Data\Archive_Target\ObjectCode\per_A512_L00M.c.o</P><P><BR>Link Error : L1818: Symbol 28 - Regs duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 29 - Page duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 30 - Crg duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Tim0 has different size in per_A64_L86D.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>Link Error : L1818: Symbol 31 - Tim0 duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Atd0 has different size in per_A64_L86D.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>Link Error : L1818: Symbol 32 - Atd0 duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Pwm has different size in per_A64_L86D.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>Link Error : L1818: Symbol 33 - Pwm duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 34 - Sci0 duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 35 - Sci1 duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 36 - Spi0 duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 37 - Iic duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 38 - Flash duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 39 - Eeprom duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 40 - Atd1 duplicated in per_A64_L86D.c.o and per_A256_L91N.c.o</P><P><BR>L1827: Symbol Pim has different size in per_A64_L86D.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>Link Error : L1818: Symbol 41 - Pim duplicated in per_A64_L86D.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1301: Cannot open file D:\wangdengrong\xinjianshiyan\xinjianshiyan_Data\Archive_Target\ObjectCode\per_A64_L86D.c.o</P><P><BR>Link Error : L1818: Symbol 25 - Regs duplicated in per_C32_L45J.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 26 - Page duplicated in per_C32_L45J.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 27 - Crg duplicated in per_C32_L45J.c.o and per_H256_K78X.c.o</P><P><BR>Link Error : L1818: Symbol 28 - Tim0 duplicated in per_C32_L45J.c.o and per_H256_K78X.c.o</P><P><BR>L1827: Symbol Atd0 has different size in per_C32_L45J.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L2: Message overflow, skipping ERROR messages</P><P><BR>L1827: Symbol Pim has different size in per_C32_L45J.c.o (64 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_DP256_K79X.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_DP256_K79X.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_DP256_K79X.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_DP256_K79X.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_Dx128_L40K.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_Dx128_L40K.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_Dx128_L40K.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_Dx128_L40K.c.o (64 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_Dx256_L91N.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_Dx256_L91N.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_Dx256_L91N.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_Dx256_L91N.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_Dx512_L00M.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_Dx512_L00M.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_Dx512_L00M.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_Dx512_L00M.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_Dx64_L86D.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_Dx64_L86D.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_Dx64_L86D.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_Dx64_L86D.c.o (48 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_E128_L15P.c.o (64 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Tim0 has different size in per_A128_L40K.c.o (64 bytes) and per_H256_K78X.c.o (47 bytes)</P><P><BR>L1827: Symbol Atd0 has different size in per_A128_L40K.c.o (32 bytes) and per_H256_K78X.c.o (48 bytes)</P><P><BR>L1827: Symbol Pwm has different size in per_A128_L40K.c.o (40 bytes) and per_H256_K78X.c.o (31 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_A128_L40K.c.o (64 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>L1827: Symbol Pim has different size in per_E64_L15P.c.o (64 bytes) and per_H256_K78X.c.o (80 bytes)</P><P><BR>Link Error : Link failed</P><P> </P>作者: rong 时间: 2008-6-21 17:44 标题: Re:文件<mc9s12dg128.h>为什么在编译的时候老出现许多错误? 我用的是codewarrior V4.6 在新建工程时 在NEW Project中没有legacy也没有simulator 不知道选哪一个,我选了MC9S12_ALL ,是不是这里错了,该选哪一个工程?作者: rong 时间: 2008-6-22 00:35 标题: Re:文件<mc9s12dg128.h>为什么在编译的时候老出现许多错误? <><FONT face=宋体 color=#ff0000 size=6>我终于调好了,是在新建工程是选择路径是选错了 要设置成DG128才可以,新手上路不容易啊!满有成就感的。</FONT></P>作者: zsy7758758 时间: 2008-7-7 03:19
提示: 作者被禁止或删除 内容自动屏蔽作者: October 时间: 2009-9-15 15:26
是啊,新手上路不容易~