IceE on Blackfin: DNSException in Ice::initialize

in Help Center
I am trying to deploy an IceE application on a Blackfin, a DSP/microcontroller made by Analog Devices. I have had little trouble building IceE and building my application for the target platform, but when I run the application on the target platform I get the following error message when I call Ice::initialize:
Any ideas?
Network.cpp:770: Ice::DNSException: DNS error: Servname not supported for ai_socktype
Any ideas?
0
Comments
It looks like your platform has limited support for the getaddrinfo system call (see also comment #14 on this thread).
Can you try replacing line 748 in cppe/src/IceE/Network.cpp:
with:
Then, re-compile Ice-E and try again to see if the problem is fixed.
Cheers,
Benoit.
With the suggested change, I am now getting the following error message:
Or
Let me know which one works or not.
Cheers,
Benoit.
I removed the #ifdef and #endif to turn on compilation of this code, and now IceE seems to be working. I am about to test your suggestion.
I tried that already because I had seen that in reference to Red Hat. That didn't work.
That one works! Awesome!
Cheers,
Benoit.