Skip to content
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

ATXmega128A1 linking fails #1

Open
physnoct opened this issue Feb 20, 2022 · 0 comments
Open

ATXmega128A1 linking fails #1

physnoct opened this issue Feb 20, 2022 · 0 comments

Comments

@physnoct
Copy link

Trying to compile Blinky on a fresh installation, linking fails

Linking everything together...
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/avr-gcc -Os -flto -Wl,--gc-sections -mmcu=atxmega128a1 -o /tmp/arduino_build_14766/Blink.ino.elf /tmp/arduino_build_14766/sketch/Blink.ino.cpp.o /tmp/arduino_build_14766/../arduino_cache_352517/core/core_XMegaForArduino_avr_xmega128a1_44907c2491138db4ac178b334365321e.a -L/tmp/arduino_build_14766 -lm
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find crtatxmega128a1.o: Aucun fichier ou dossier de ce type
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: skipping incompatible /opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/libm.a when searching for -lm
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find -lm
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: skipping incompatible /opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/libgcc.a when searching for -lgcc
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find -lgcc
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: skipping incompatible /opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/libm.a when searching for -lm
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find -lm
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: skipping incompatible /opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib/libc.a when searching for -lc
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find -lc
/opt/apps/programming/arduino-1.8.19/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld: cannot find -latxmega128a1
collect2: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte ATXMega128A1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant