ladislas / Bare-Arduino-Project

Start your Arduino projects right out of the box
MIT License
565 stars 68 forks source link

Cannot find plugin 'liblto_plugin.so' #41

Closed ANDRIUS-D-ILGUNAS closed 7 years ago

ANDRIUS-D-ILGUNAS commented 7 years ago

I'm trying out the make of FooProject, and I'm not sure where this bug report belongs to.

This is on a Raspberry Pi/Raspbian.

The last few lines of the error are:

/usr/bin/avr-gcc-ar: Cannot find plugin 'liblto_plugin.so'
/home/pi/w/ar/proj/MyArduinoProject/Arduino-Makefile/Arduino.mk:1476: recipe for target '/home/pi/w/ar/proj/MyArduinoProject/bin/FooProject/uno/libcore.a' failed
make: *** [/home/pi/w/ar/proj/MyArduinoProject/bin/FooProject/uno/libcore.a] Error 1

I found someone with a similar error at https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=68789, which references https://github.com/raspberrypi/tools/issues/12. The bug report on that latter link indicates that the bug (files were in the wrong directory) has been fixed.

I see that the code here hasn't been updated in a few years, so I'm thinking something along the lines of "The RPI guys fixed this in 2014, and the files on the Bare-Arduino-Project were last updated around then too, so maybe there was an update that needs to happen here?"

So if you think that this bug should be reported back over at the RPI guys, I'd gladly do this. I'm just trying to figure out where this bug report should go.

ANDRIUS-D-ILGUNAS commented 7 years ago

Heh, well, it wasn't THIS that needed to be updated, but rather my setup. Things work as advertised now :)