AS7 reports undefined reference to 'bvlc_send_pdu'. double clicking on the error takes me close to a line that has 'datalink_send_pdu'. I have searched the project and entire solution. 'bvlc_send_pdu' doesn't exist as code, just a comment line '//#define datalink_send_pdu bvlc_send_pdu'. I removed the comment line and the error still exists.

I probably shouldn't put this on the same thread but it also reports undefined reference to 'delay'. I double click on the error and it takes me to a line where there is a bracket '}', delay is nowhere near the line AS7 says the problem exists. 'delay' exists and I an still looking for the missing reference.

Sorry, I can't give you cut down working code. This is a project from Steve K that I have been working for longer than I care to say. Personally I don't fully understand the project. It was written untested for a different compiler. This is the 2nd project I have brought into AS7 from a different project.