Opps, I missed this thread earlier.
I just tried that link, but didn't see the code for Arduino. Could you post a direct link to the code you're using?
This error looks similar to a problem with the original Ethernet library when Teensy 3.0 was released. Teensyduino installs a patched copy of Ethernet to fix the issue. The problem was poorly defined functions, like W5100Class::read_data, which used a pointer to pass a 16 bit integer.
Here's the original code:
Code:
void W5100Class::read_data(SOCKET s, volatile uint8_t *src, volatile uint8_t *dst, uint16_t len)
Notice that "src" is a pointer to uint8_t. But here's how it's actually used:
Code:
src_mask = (uint16_t)src & RMASK;
The pointer is never used to access any memory. It really is only a 16 bit unsigned integer.
To port Ethernet to Teensy 3.0, I change that function to:
Code:
void W5100Class::read_data(SOCKET s, uint16_t src, volatile uint8_t *dst, uint16_t len)
The code is already using src as uint16_t, so this is a simple fix.
Then of course all the places which use read_data() need to update, to using uint16_t rather than uint8_t *. The bad news is it's quite a bit of work, to find and edit all those places. The good news is I already did it in Ethernet. Turns out the Arduino devs did something similar in their copy for Arduino Due. So either Ethernet after having installed Teensyduino, or a copy from Arduino 1.5.6, could serve as a template.
Of course, this is assuming the problem is the same. I couldn't find the Arduino version of the code on that page you linked. If I had found it, I would have looked to make sure before writing all this.
Hopefully this helps. I simply don't have an easier answer for you. Perhaps someday I'll merge W5500 support into Teensyduino's copy of Ethernet. It already supports both W5100 & W5200, automatically detected. But this is a very low priority, so low that odds are it'll probably never happen unless Wiznet discontinues the W5200 chip or Wiz820io module.
This message one detailed message is all I intend to do on the W5500. Had the source been on that page, I would have looked. But I'm crazy busy getting stuff prepared for Maker Faire, so I really don't have more time for this unsupported hardware. You'll need to resolve the bugs (perhaps with a start from this message), or take the $20 path of least resistance with a Wiz820io module!