Hi Billy,
On 24.08.2017 09:03, Billy Isom wrote:
hello friend
I have been using flashrom for a little while now with great results, but i upgraded to the latest Raspbian Distro. upon attempting to reinstall Flashrom on my Raspberry PI 3 I receive an error.
I was hoping you could shed some light on the cause and hopefully a solution to this.
thank you for your help.
[...] internal.c:148:32: error: 'par_master_internal' defined but not used [-Werror=unused-const-variable=] static const struct par_master par_master_internal = { ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
this is likely due to a change in the default warning options of your compiler. As flashrom also defaults to not allow any warnings, the build fails. You can deactivate this rule with WARNERROR=no added to your make command, e.g. `sudo make WARNERROR=no`.
Hope that helps, Nico