STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!./Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.o: In function `SystemInit':
E:\workspace\GCCTEST\Debug/../Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c:213: multiple definition of `SystemInit'
./User/system_stm32f10x.o:E:\workspace\GCCTEST\Debug/../User/system_stm32f10x.c:213: first defined here
./Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.o: In function `SystemCoreClockUpdate':
E:\workspace\GCCTEST\Debug/../Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.c:307: multiple definition of `SystemCoreClockUpdate'
./User/system_stm32f10x.o:E:\workspace\GCCTEST\Debug/../User/system_stm32f10x.c:307: first defined here
c:/users/kevin li/mentorgraphics/sourcery_codebench_lite_for_arm_eabi/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-init.o): In function `__libc_init_array':
init.c:(.text+0x3c): undefined reference to `_init'
collect2.exe: error: ld returned 1 exit status
cs-make: *** Error 1
09:38:43 Build Finished (took 10s.198ms)
RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
看调试输出信息是重复定义了,找找看哪定义了RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
我用MDK5.1可以编译, 你看看你的设置是否出错了, 看看哪重复定义了RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
没有用过GCC+ Eclipse 编译工具,看看是不是你的路径没有定义好RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
你重复添加同一个文件了吧RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
我看也是路径不对RE:STM32F103 采用GCC+ Eclipse 编译工具,编译ST官方的IOToggle 程序报以下错误,求解!
是编译问题,重新编译下
页:
[1]