VR Juggler
Open Source
Virtual Reality


VRJ Wiki . Juggler . IrixSocklenProblem VRJ Wiki webs:
Juggler | VRJPlanning | Main | TWiki | Test
Juggler . { Home | Changes | Index | Search | Go }

Wiki

· Home
· Frequently Asked Questions
· Development
· Team Guide
· Direction
· Status
· Task Tracking
· Compiling VR Juggler
· Building from SVN
· SVN Branches
· Compiler Status

edit menu


Main
· About
· Documentation
· Publications
· Download
· HOWTO
· FAQ
· Discussion Area (Wiki)
· Status
· Contact

Projects
· VR Juggler
· Gadgeteer
· VPR
· Sonix
· JCCL
· Tweek
· PyJuggler
· VRJ.NET

Events
· SIGGRAPH 2004 BoF?
· SIGGRAPH 2003 BoF?
· Virtual Reality Course
· IEEE VR 2003 Course
· SC 2002 Exhibit

Site Search

Google

Sponsors
· Infiscape
· VRAC
· Iowa State University
· SourceForge

Link To Us


Q: When I compile an application on IRIX, why do I get an error about socklen_t?

I have downloaded a binary version of VR Juggler for IRIX, and when I try to compile an application, I get the following error:

cc-1084 CC: ERROR File = /usr/include/sys/socket.h, Line = 65
  The indicated declaration has an invalid combination of type specifiers.

  typedef u_int32_t socklen_t;

How can I fix this?

A: You need to remove the definition of socklen_t from $VJ_BASE_DIR/include/vjDefines.h.

IRIX 6.5.17 added the type socklen_t to the header /usr/include/sys/socket.h. VR Juggler 1.0.6 was compiled on an older version of IRIX that did not define socklen_t, so it is configured to define that type itself. The compile error can be fixed by commenting out line 141 of $VJ_BASE_DIR/include/vjDefines.h as follows:

/* Define to `int' if the socklen_t type is not available.  */
/* #define socklen_t int */

This can be done for versions of VR Juggler older than 1.0.6, though the line number in $VJ_BASE_DIR/include/vjDefines.h may vary. VR Juggler itself does not have to be recompiled to deal with this change.

Back to: LiveFaq

FaqForm
FaqTopic: Compiling
ShortQuestion: When I compile an application on IRIX, why do I get an error about socklen_t?


Topic IrixSocklenProblem . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback
Revision r1.1 - 13 Feb 2003 - 19:54 - PatrickHartling Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback
Juggler.IrixSocklenProblem moved from Juggler.IrixSocklenProblme on 13 Feb 2003 - 19:50 by PatrickHartling - put it back




VR Juggler Logo
Site contents © Copyright 1998–2005 Iowa State University and released under the GPL.
Harvesting email addresses from this page for commercial activities is prohibited.
Contact: Webmaster | Write Us
SOURCE REPOSITORY,
BUGS, FORUMS
HOSTED BY:
SourceForge Home