-
Notifications
You must be signed in to change notification settings - Fork 30
[bug] String.cpp: undefined reference to ltoa and ultoa #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Dear @Guswib, Currently, the If you need it, you can copy and paste this itoa.c implementation into the If you'd like to contribute, feel free to open a PR with this fix! |
Dear @leonardocavagnis, I will have a look andn hope to find a solution. Cheers |
Hi, Cloning into 'C:\Users\gusta\Documents\GitHub\CoreFIX\arduino2'... Errors logged to 'C:\Users\gusta\Documents\GitHub\CoreFIX\arduino2.git\lfs\logs\20250306T160839.2974214.log'. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
Hello @Guswib, About the cloning issue - it seems like the LFS artifacts haven't been published correctly - I'll look into putting them out. They're in the release archives but seems to be missing from git. |
Hardware
Arduino Nano Matter
Core version
2.20
Arduino IDE version
2.3.4
Operating system
Windows 10
Radio stack variant
No radio
OpenThread Border Router device (if using Matter)
No response
Issue description
During compilation in the arduino IDE, the following error message is given:
/appdata/local/arduino15/packages/siliconlabs/tools/gcc-arm-none-eabi/12.2.rel1/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld.exe: \AppData\Local\arduino\sketches\D54C9E1FF4DB4B8DD7CB06F3C73E69AA/core\core.a(String.cpp.o): in function
arduino::String::String(long, unsigned char)': <user>\AppData\Local\Arduino15\packages\SiliconLabs\hardware\silabs\2.2.0\cores\silabs\api/String.cpp:113: undefined reference to
ltoa'/appdata/local/arduino15/packages/siliconlabs/tools/gcc-arm-none-eabi/12.2.rel1/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld.exe: \AppData\Local\arduino\sketches\D54C9E1FF4DB4B8DD7CB06F3C73E69AA/core\core.a(String.cpp.o): in function
arduino::String::String(unsigned long, unsigned char)': <user>\AppData\Local\Arduino15\packages\SiliconLabs\hardware\silabs\2.2.0\cores\silabs\api/String.cpp:121: undefined reference to
ultoa'Serial output
No response
RTT output (if using Matter)
No response
Minimal reproducer code
void setup() {
// put your setup code here, to run once:
long l_num=10;
String(l_num,10);
unsigned long ul_num=10;
String(ul_num,10);
}
void loop() {
// put your main code here, to run repeatedly:
}
The text was updated successfully, but these errors were encountered: