Linker Plugin Error [solved]

Started by [email protected], November 28, 2022, 09:42:29 PM

[email protected]

I have a montenio with an RFM69HCW transciever. When I try to compile the example code for testing the send/receive capabilities it gives an error:
https://pastebin.com/Sx37sJUh
short: "cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin."

Here is my code:
https://pastebin.com/mDji7bvc

Felix

Can you compile the examples in the RFM69 library?

[email protected]

The code I used was the gateway example in the library

Uncle Buzz

#3
Hi, I did a fresh reinstall on my computer and had the same error after reinstalling all the development stuff (Arduino, Visualmicro,... etc)

Since it was a fresh reinstall, I used the most recent board definition (1.6.1) and I encountered the same error with sketches that were successfully compiled before reinstall.

I remarked that the name of the boards has changed (MoteinoMega become MoteinoMega-USB). So I tried some oldest boards' definitions (1.6.0, 1.5.0) unsuccessfully, I finally go back to the 1.3.0 version which is the latest one with the "MoteinoMega" name (not because the name mattered but because I know that I didn't use the newer ones before I reinstall, maybe I was using some oldest) and the compilation is now working again.

I didn't try all the versions so I don't know if it's the latest one that works on my system, but I have solved this issue by reverting to the old boards' definition in my case.

Maybe you could try some different versions of the board definition to check if it solves your issue.

[email protected]