Re: [Openslp-devel] openslp2 getifaddrs not available on Solaris
Brought to you by:
jcalcote
From: Nick W. <ne...@wi...> - 2013-10-25 17:51:29
|
I never touched solaris, but a quick search shows it wasn't added until 11. I did run across this getifaddrs source on the oracle site -- I hope it helps: https://java.net/projects/solaris/sources/on-src/content/usr/src/lib/libsocket/inet/getifaddrs.c On Fri, Oct 25, 2013 at 8:18 AM, Jim Marshall <jim...@ws...>wrote: > 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? > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Openslp-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-devel > |