This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Msp430F5438A Error[e27]: 关于redefined错误的疑问

Other Parts Discussed in Thread: MSP430F5438

求助:用MSP430F5438,工程文件中有9个.c文件,单个文件compile可以通过,但是对工程进行build的时候,一直有如下报错:

Error[e27]: Entry "temp" in module Main ( D:\线路\IAR\TEST-V4\Debug\Obj\Main.r43 ) redefined in module SMS ( D:\线路\IAR\TEST-V4\Debug\Obj\SMS.r43 )

主要问题是Main.c和SMS.c这两个文件里面都没有temp这个变量,如果对SMS.c取消build,Main就会和其他的.c跳出同样的错误,请教高手问题出在哪儿?该如何解决?PS:Main.c定义的变量比较多,但是没有temp。