In the below case few variables which are declared as extern once in header is throwing mutiply defined error.But this variables are declared only once.No idea why it is checking in the same .ptl file(by dscv.ptl and dscv.ptl) during full build/compilation.
COMPILATION ERROR SUMMARY (See prod.res for more details): Error: L6200E: Symbol p_dscv_SaveMsgDuringInit multiply defined (by dscv.ptl and dscv.ptl). Error: L6200E: Symbol vl_CardDetectedIndSent2 multiply defined (by dscv.ptl and dscv.ptl). Error: L6200E: Symbol v_dscv_Sim1_FreshInit_status multiply defined (by dscv.ptl and dscv.ptl). Error: L6200E: Symbol v_dscv_Sim2_FreshInit_status multiply defined (by dscv.ptl and dscv.ptl). clearmake: Error: Build script failed for "_arm9e_rvds22b616/vyp1137.x"
We have even less rasons to know why. But the differene beteen we and you us that you have access to the project files, allowing you to check why that file gets included twice in the build.