Hello,
This is my first try at building a pico SDK sample. I start with blink sample.
I installed the SDK as documented in https://datasheets.raspberrypi.com/pico ... h-pico.pdf on my Debian testing system.
But when I want to compile the blink sample code I get:I also tried on a Ubuntu 24.04.3 system but I get the same error.
I first reported the error at https://github.com/raspberrypi/pico-sdk/issues/2812 but I was redirected here.
What GNU/Linux distribution is supported by the pico SDK?
What wrong am I doing?
This is my first try at building a pico SDK sample. I start with blink sample.
I installed the SDK as documented in https://datasheets.raspberrypi.com/pico ... h-pico.pdf on my Debian testing system.
But when I want to compile the blink sample code I get:
Code:
$ makeBuilt target bs2_defaultBuilt target bs2_default_libraryLinking CXX executable blink.elf/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: /tmp/ccjUlvz8.ltrans0.ltrans.o: in function `_out_char':/home/rousseau/pico/pico-sdk/src/rp2_common/pico_printf/printf.c:909:(.text+0x670): undefined reference to `__wrap_putchar'/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: (__wrap_putchar): Unknown destination type (ARM/Thumb) in /tmp/ccjUlvz8.ltrans0.ltrans.o/tmp/ccjUlvz8.ltrans0.ltrans.o:/home/rousseau/pico/pico-sdk/src/rp2_common/pico_printf/printf.c:909:(.text+0x670): dangerous relocation: unsupported relocation/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: /tmp/ccjUlvz8.ltrans0.ltrans.o: in function `panic':/home/rousseau/pico/pico-sdk/src/rp2_common/pico_platform_panic/panic.c:65:(.text+0x2504): undefined reference to `__wrap_puts'/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: (__wrap_puts): Unknown destination type (ARM/Thumb) in /tmp/ccjUlvz8.ltrans0.ltrans.o/home/rousseau/pico/pico-sdk/src/rp2_common/pico_platform_panic/panic.c:65:(.text+0x2504): dangerous relocation: unsupported relocation/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: /tmp/ccjUlvz8.ltrans0.ltrans.o: in function `panic':/home/rousseau/pico/pico-sdk/src/rp2_common/pico_printf/printf.c:936:(.text+0x2514): undefined reference to `__wrap_puts'/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: (__wrap_puts): Unknown destination type (ARM/Thumb) in /tmp/ccjUlvz8.ltrans0.ltrans.o/tmp/ccjUlvz8.ltrans0.ltrans.o:/home/rousseau/pico/pico-sdk/src/rp2_common/pico_printf/printf.c:936:(.text+0x2514): dangerous relocation: unsupported relocation/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: /tmp/ccjUlvz8.ltrans0.ltrans.o: in function `panic':/home/rousseau/pico/pico-sdk/src/rp2_common/pico_platform_panic/panic.c:78:(.text+0x251a): undefined reference to `__wrap_puts'/usr/lib/gcc/arm-none-eabi/14.2.1/../../../arm-none-eabi/bin/ld: (__wrap_puts): Unknown destination type (ARM/Thumb) in /tmp/ccjUlvz8.ltrans0.ltrans.o/home/rousseau/pico/pico-sdk/src/rp2_common/pico_platform_panic/panic.c:78:(.text+0x251a): dangerous relocation: unsupported relocationcollect2: error: ld returned 1 exit statusmake[2]: *** [blink/CMakeFiles/blink.dir/build.make:1003: blink/blink.elf] Error 1make[1]: *** [CMakeFiles/Makefile2:7166: blink/CMakeFiles/blink.dir/all] Error 2make: *** [Makefile:91: all] Error 2I first reported the error at https://github.com/raspberrypi/pico-sdk/issues/2812 but I was redirected here.
What GNU/Linux distribution is supported by the pico SDK?
What wrong am I doing?
Statistics: Posted by Ludovic — Sun Feb 08, 2026 6:04 pm — Replies 0 — Views 7