[Openslp-devel] openslp2 getifaddrs not available on Solaris
Brought to you by:
jcalcote
From: Jim M. <jim...@ws...> - 2013-10-25 13:41:49
|
We're attempting to use OpenSLP 2.0 on Solaris 10, but it appears that getifaddrs & freeifaddrs are not available which is causing the build for OpenSLP to fail slp_iface.c:951: warning: "struct ifaddrs" declared inside parameter list slp_iface.c:951: warning: its scope is only this definition or declaration, which is probably not what you want slp_iface.c: In function `ifname_to_addr': slp_iface.c:958: warning: implicit declaration of function `getifaddrs' slp_iface.c:960: error: dereferencing pointer to incomplete type slp_iface.c:962: error: dereferencing pointer to incomplete type slp_iface.c:964: error: dereferencing pointer to incomplete type slp_iface.c:966: error: dereferencing pointer to incomplete type slp_iface.c:977: error: dereferencing pointer to incomplete type slp_iface.c:981: warning: implicit declaration of function `freeifaddrs' Anyone run into this and have a fix? |