Terminal Compiling error

I have been compiling the px4 code using make for the past week or so, but today when I tried to compile a change I made to the code, it won’t fully compile. I keeping getting this error:

The function is one that I have created in the AP_RollController file. Like I said, i have been compiling this all week and I haven’t made any new changes to the AP_RollController file or the function that is being mentioned by the compiler. I think I am having linkage errors within my terminal, but I don’t know how to fix that.

Does anyone have any idea what I should do?

Fixed it by uninstalling genromfs and gcc-arm-none-aebi and then reinstalling them. Not sure what this actually did, but it worked.