managed to resolve myself.
Apparently these are just warning messages and are only preventing successful compilation because of the -Werror flag in the makefile. Removed that flag and it now compiles successfully
@mitu FANTASTIC !!!!
Everythings working with lr-fmsx!!! I focused to much on Lr-BlueMSX. For Lr-BlueMSX, It's only playable with keyboard . The joypad working only for Coleco. Not enough gamepad buttons are associated with basics keyboard fonctions. They should enable the "RetroPad Keyboard Map - Joypad - Awaiting description" option in Control menu in RetroArch for MSX.
I tried redoing my configs because the switch pro controller would get recognized 1/4 of the time. Ended up with the Pi detecting the pro controller but not the switch pro controller.... I don't get with this is so difficult with the switch...