Multiple definition of `__vector_9'

That is an Arduino IDE issue on the PC. You will need to do another search to track that down.

This error message is a good search phrase:

avrdude: ser_open(): can't set com-state for "\.\COM4"