|
|
|
|||||
|
Build error on Red Hat Linux (kernel:2.4.18)
It failed and report:
Network.cpp:17:23: ifaddrs.h: No such file or directory. This is the code: Code:
#if defined(_WIN32) # include <winsock2.h> #elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD__) # include <ifaddrs.h> #else # include <sys/ioctl.h> # include <net/if.h> # ifdef __sun # include <sys/sockio.h> # endif #endif Thanks! |
|
|||||
|
Red Hat Release 7.3 (Valhalla)
|
|
||||||
|
Note that we do not officially support RedHat 7.3. If you need this support for a commercial project please contact us at sales@zeroc.com and we can provide you a patch. Otherwise, it shouldn't be too difficult to do this yourself.
Apparently, getifaddrs was added to RedHat after 7.3. This is needed to implement IceInternal::getLocalHosts (src/Ice/Network.cpp). You can probably use the alternative implementation that uses SIOCGIFCONF. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Build error in Redhat Linux 9.0 | wuqiu | Help Center | 10 | 05-16-2006 11:39 PM |
| Does ICE can build&run on Linux with IA64? | Yunqiao Yin | Help Center | 2 | 10-17-2005 01:23 AM |
| Performance problems on RedHat Linux 2.4.21 kernel | gasproni | Help Center | 7 | 10-04-2005 10:54 AM |
| Ice 1.2.0 Linux build patch | bernard | Patches | 0 | 01-30-2004 06:23 PM |
| Build problem on Linux | Jeff Holle | Help Center | 5 | 08-13-2003 01:21 AM |