[osg-users] Please test SVN version of OpenSceneGraph

Robert Osfield robert.osfield at gmail.com
Wed Oct 3 01:15:46 PDT 2007


Hi Brian,

I don't know why the errors you see have popped up, the last time
sockstream.cpp was modified was 2 months ago:

http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osgPlugins/net

Have you updated to a different version of Cygwin since you last built?

Robert.

On 10/3/07, Brian Keener <brianklistacct at alltel.net> wrote:
> Robert,
>
> Under Cygwin I thought we were looking good, ccmake was looking good
> but the compile errored at 54% as shown here.  Were these being masked
> before by the CMAKE_CXX_FLAGS of -W -Wall that we added or why did
> these pop up now?
>
> [ 53%] Built target osgdb_normals
> Scanning dependencies of target osgdb_net
> [ 53%] Building CXX object
> src/osgPlugins/net/CMakeFiles/osgdb_net.dir/ReaderWri
> terNET.o
> [ 53%] Building CXX object
> src/osgPlugins/net/CMakeFiles/osgdb_net.dir/sockinet.
> o
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockinet.cpp:66:1: warning:
> "socklen_
> t" redefined
> In file included from /usr/include/sys/socket.h:15,
>                  from
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.h:46
> ,
>                  from
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockinet.h:16,
>                  from
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockinet.cpp:36
> :
> /usr/include/cygwin/socket.h:24:1: warning: this is the location of the
> previous
>  definition
> [ 54%] Building CXX object
> src/osgPlugins/net/CMakeFiles/osgdb_net.dir/sockstrea
> m.o
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:143:1:
> warning: "sockl
> en_t" redefined
> In file included from /usr/include/sys/socket.h:15,
>                  from
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.h:46
> ,
>                  from
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:
> 63:
> /usr/include/cygwin/socket.h:24:1: warning: this is the location of the
> previous
>  definition
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In member
> function `i
> nt sockbuf::pgrp() const':
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:931: error:
> `SIOCGPGRP
> ' undeclared (first use this function)
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:931: error:
> (Each unde
> clared identifier is reported only once for each function it appears
> in.)
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In member
> function `i
> nt sockbuf::pgrp(int) const':
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:941: error:
> `SIOCSPGRP
> ' undeclared (first use this function)
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp: In member
> function `v
> oid sockbuf::closeonexec(bool) const':
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:952: error:
> `FIOCLEX'
> undeclared (first use this function)
> /usr/src/OpenSceneGraph/src/osgPlugins/net/sockstream.cpp:955: error:
> `FIONCLEX'
>  undeclared (first use this function)
> 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
>
> BrianK at atl-lt-5783 /usr/develop/obj/osg
> $
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list