declarations in libraries

What does your sketch look like? Are you including Ethernet.h in the sketch?

No.... And that was the problem! Thanks

Eh??? It looks like it is there in your code, in your second post on this thread.