For chips having more than one U(S)ART port, the corresponding Serial2, Serial3,... objects should be created during compilation, but are not created.
Attempting to use such a non-existent object causes an obvious compilation error.
The problem lies in the design of the ‘WSerial.h’ file.