新手入门
- 积分
- 4
- 金钱
- 4
- 注册时间
- 2020-9-29
- 在线时间
- 0 小时
|
1金钱
导入的是潘多拉的第一个例程,就是红灯一闪一闪那个。用RT studio构建的时候,提示如下错误。
arm-none-eabi-gcc "D:/RT-ThreadStudio/workspace/IoT_Board-master/IoT_Board-master/rt-thread/components/drivers/src/workqueue.c"
arm-none-eabi-gcc "D:/RT-ThreadStudio/workspace/IoT_Board-master/IoT_Board-master/examples/01_basic_led_blink/applications/main.c"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -ffunction-sections -fdata-sections -Wall -g -gdwarf-2 -Xlinker --gc-sections -Wl,-Map,"rtthread.map" -Xlinker --cref -o "rtthread.elf" ./minilibc/ctype.o ./minilibc/math.o ./minilibc/qsort.o ./minilibc/rand.o ./minilibc/stdlib.o ./minilibc/string.o ./minilibc/time.o ./finsh/cmd.o ./finsh/msh.o ./finsh/msh_cmd.o ./finsh/msh_file.o ./finsh/shell.o ./finsh/symbol.o ./cpu/backtrace.o ./cpu/context_gcc.o ./cpu/cpuport.o ./cpu/div0.o ./cpu/showmem.o ./STM32L4xx_HAL_Driver/startup_stm32l475xx.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_cortex.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_dma.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_flash.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_flash_ex.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_gpio.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_pwr.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_pwr_ex.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_rcc.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_rcc_ex.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_tim.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_tim_ex.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_uart.o ./STM32L4xx_HAL_Driver/stm32l4xx_hal_uart_ex.o ./STM32L4xx_HAL_Driver/system_stm32l4xx.o ./Kernel/clock.o ./Kernel/components.o ./Kernel/cpu.o ./Kernel/device.o ./Kernel/idle.o ./Kernel/ipc.o ./Kernel/irq.o ./Kernel/kservice.o ./Kernel/mem.o ./Kernel/memheap.o ./Kernel/mempool.o ./Kernel/object.o ./Kernel/scheduler.o ./Kernel/signal.o ./Kernel/thread.o ./Kernel/timer.o ./Drivers/board.o ./Drivers/drv_clock.o ./Drivers/drv_gpio.o ./Drivers/drv_usart.o ./DeviceDrivers/completion.o ./DeviceDrivers/dataqueue.o ./DeviceDrivers/pin.o ./DeviceDrivers/pipe.o ./DeviceDrivers/ringblk_buf.o ./DeviceDrivers/ringbuffer.o ./DeviceDrivers/serial.o ./DeviceDrivers/waitqueue.o ./DeviceDrivers/workqueue.o ./Applications/main.o
d:/rt-threadstudio/repo/extract/toolchain_support_packages/arm/gnu_tools_for_arm_embedded_processors/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7e-m/fpu\libg.a(lib_a-exit.o): In function `exit':
exit.c.text.exit+0x16): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:52: rtthread.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
你们是怎么解决的?
|
|