是不是这块配置有问题了。现在问题全变成变量重定义了。
clnk -l"C:\Program Files\COSMIC\CXSTM8\Lib" -o Debug\project.sm8 -mDebug\project.map Debug\project.lkf
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _STFlag multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _STNum multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _RadioPreviw_6second multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _Radiostation_count_Preview multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _SeekCondition_FM_USN multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _FM2 multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _n multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _Radio_Previewcount multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _SeekCondition_Ifcount multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _RADIO_weaksingnal multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _high_frq multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _low_frq multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _SeekCondition_FM_WAM multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _FMVocLevel multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _SeekCondition_AM_Level multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:33 Debug\adc.o: symbol _SeekCondition_FM_Level multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:34 Debug\aud_main.o: symbol _STFlag multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:34 Debug\aud_main.o: symbol _STNum multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:34 Debug\aud_main.o: symbol _RadioPreviw_6second multiply defined (Debug\acc.o)
#error clnk Debug\project.lkf:34 Debug\aud_main.o: symbol _Radiostation_count_Preview multiply defined (Debug\acc.o)