Hi Alberto, sockstream.h and sockstream.cpp haven't changed for 6 months, and 2 months respectively. Have you had it compiling at before? What time frame?
>From the errors the inclusion of /usr/include/sys/socket.h and /usr/include/cygwin/socket.h Looks pretty odd, the .h and .cpp only reference the sys/socket.h, so I can only presume this must be including cygwin/socket.h I don't know why right now by socketstream.cpp includes the same things as the header does. Perhaps the ones in the .cpp could be removed. I'm afraid I can't do anything directly to help fix this as I have now cygwin set up to explore here. If we can't get it compiling soon we'll have to disable this plugin under the Cygwin build. Robert. On 10/3/07, Alberto Luaces <[EMAIL PROTECTED]> wrote: > Well, no more tesselator issues. Now the compilation is broken by the > net plugin, as Brian Keener reported before: > > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:143:1: > warning: "socklen_t" redefined > In file included from /usr/include/sys/socket.h:15, > from > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.h:46, > from > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:63: > /usr/include/cygwin/socket.h:24:1: warning: this is the location of the > previous definition > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In > member function `int sockbuf::pgrp() const': > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:931: > error: `SIOCGPGRP' undeclared (first use this f > unction) > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:931: > error: (Each undeclared identifier is reported > only once for each function it appears in.) > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In > member function `int sockbuf::pgrp(int) const': > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:941: > error: `SIOCSPGRP' undeclared (first use this f > unction) > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In > member function `void sockbuf::closeonexec(bool) > const': > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:952: > error: `FIOCLEX' undeclared (first use this fun > ction) > /home/Demostración/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:955: > error: `FIONCLEX' undeclared (first use this fu > nction) > make[2]: *** [src/osgPlugins/net/CMakeFiles/osgdb_net.dir/sockstream.o] > Error 1 > make[1]: *** [src/osgPlugins/net/CMakeFiles/osgdb_net.dir/all] Error 2 > make: *** [all] Error 2 > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

