Udp.write(replyPacekt);
Udp.endPacket();
should be
Udp.write(replyPacket);
Udp.endPacket();
[the spelling of "replyPacket" has been fixed]
As for the original problem, it's almost certainly a case of some missing library --- but someone more expert with the system than I am can help you with that, I'll bet.