I’m trying to compile a code for bumper switches in my robot and i get this error:” Error – symbol ‘tr’ has multiple definitions.” What does this mean? I’m painfully new to this…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends whether you see the error at compile time or link time.
If you see it at link time (when building the program from object files), it means you have two or more object files, and the variable ‘tr’ (or function ‘tr’) is defined several times in different files.
If you see it at compile time (for a single file being converted to an object file), then you have defined the variable or function more than once in the given source file.