Skip to content

Compilation issues #1

@ltlovegz

Description

@ltlovegz

Hi, during my actual compilation attempt, I encountered an error during the final compilation process. The error content is as follows:

[ 98%] Building C object CMakeFiles/Micro-XRCE-DDS-Client-MCU.dir/USB_DEVICE/App/usbd_desc.c.obj
[100%] Linking C executable Micro-XRCE-DDS-Client-MCU.elf
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: CMakeFiles/Micro-XRCE-DDS-Client-MCU.dir/Middlewares/Third_Party/FreeRTOS/Source/tasks.c.obj: in function prvInitialiseNewTask': /home/ling/desktop/dds/dds_client/Micro-XRCE-DDS-Client-MCU/Middlewares/Third_Party/FreeRTOS/Source/tasks.c:919: undefined reference to __sf'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Micro-XRCE-DDS-Client-MCU.dir/build.make:962:Micro-XRCE-DDS-Client-MCU.elf] error 1
make[1]: *** [CMakeFiles/Makefile2:111:CMakeFiles/Micro-XRCE-DDS-Client-MCU.dir/all] error 2
make: *** [Makefile:91:all] error 2

I hope you can help guide me when you have time. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions