I got an error while i compile a shield w5100 with my arduino

the error is avrdude: ser_open(): can’t set com-state for “\.\COM3”

this is device-specific issue.