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
C:\Users\bAppData\Local\Temp\ccb469Tf.ltrans0.ltrans.o:(.rodata+0x6): undefined reference to Print::write(unsigned char const*, unsigned int)' c:/users/b/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to main' collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
It's really hard to help you without knowing what microcontroller, what IDE and what framework you're using.
I've had this happen when building code for a framework
C:\Users\bAppData\Local\Temp\ccb469Tf.ltrans0.ltrans.o:(.rodata+0x6): undefined reference to
Print::write(unsigned char const*, unsigned int)' c:/users/b/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to
main'collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered: