You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm not able to build the example code for toolchain verification. Can you take a look? I'm on macos.
arm-none-eabi-gcc main.c -W -Wall -Wextra -Werror -Wundef -Wshadow -Wdouble-promotion -Wformat-truncation -fno-common -Wconversion -g3 -Os -ffunction-sections -fdata-sections -I. -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L/opt/homebrew/opt/python@3.8/lib -o firmware.elf
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-exit.o): in function exit': exit.c:(.text.exit+0x14): undefined reference to _exit'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /var/folders/j7/g10_rgn9119cdn3xz6ffp4l00000gn/T//cca2B4hB.o: in function _reset': /Users/linyz0100/Desktop/stm32playground/bare-metal-programming-guide/steps/step-0-minimal/main.c:16:(.text._reset+0x38): undefined reference to _ebss'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Users/linyz0100/Desktop/stm32playground/bare-metal-programming-guide/steps/step-0-minimal/main.c:16:(.text._reset+0x3c): undefined reference to _sbss' /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Users/linyz0100/Desktop/stm32playground/bare-metal-programming-guide/steps/step-0-minimal/main.c:16:(.text._reset+0x44): undefined reference to _sdata'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Users/linyz0100/Desktop/stm32playground/bare-metal-programming-guide/steps/step-0-minimal/main.c:16:(.text._reset+0x48): undefined reference to _sidata' /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /var/folders/j7/g10_rgn9119cdn3xz6ffp4l00000gn/T//cca2B4hB.o:/Users/linyz0100/Desktop/stm32playground/bare-metal-programming-guide/steps/step-0-minimal/main.c:22:(.vectors+0x0): undefined reference to _estack'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-closer.o): in function _close_r': closer.c:(.text._close_r+0xc): undefined reference to _close'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-lseekr.o): in function _lseek_r': lseekr.c:(.text._lseek_r+0x14): undefined reference to _lseek'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-readr.o): in function _read_r': readr.c:(.text._read_r+0x14): undefined reference to _read'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-sbrkr.o): in function _sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): undefined reference to _sbrk'
/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld: /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libg.a(libc_a-writer.o): in function _write_r': writer.c:(.text._write_r+0x14): undefined reference to _write'
collect2: error: ld returned 1 exit status
make: *** [firmware.elf] Error 1
The text was updated successfully, but these errors were encountered:
Hi, I'm not able to build the example code for toolchain verification. Can you take a look? I'm on macos.
The text was updated successfully, but these errors were encountered: