Fix All compiler errors and warnings caused by linaro and/or misplacements........