I am programming our robot in MPLAB and I have gotten it to successfully compiled but I am having linking errors. When it goes to link it says "Multiple Definitions of txdata. However, all of the places where txdata is used are either in files that are read - only or they are in places that I haven’t edited. Do any of you guys have any ideas on what is the problem or how to fix it? Thanks.
Well, that doesn’t really help me that much because I have included the Start.o, interrupts.o and UserAPI.o object files and no library files. Also, I haven’t included Start2.o and that is exactly the same setup that other guy had, but his worked. So do you guys have any other ideas?
Are you sure you have not “inavertently” created an instance of txdata, instead of maybe refferencing it as an “extern” (like in PicSerialDrv.c)
Searching the Vex Startup Code, txdata is referenced as an “extern” in ifi_default.h.
I can see no declaration of txdata in Source Code, but I see refference in these Libraries: Vex_alltimers.lib Vex_alltimers_auton_debug.lib Vex_alltimers_competition.lib Vex_library.lib Vex_library_auton_debug.lib Vex_library_competition.lib