Skip to main content

Error compiling C Orbix 3.3 application on HP 11.31 Itanium 64 bit.

  • May 17, 2013
  • 0 replies
  • 0 views

Summary Error compiling C Orbix 3.3 application on HP 11.31 Itanium 64 bit.
Article Number 15790
Environment HP 11.31 on Itanium 64 bit, aCC compiler HP-UX 11i v3 Orbix 3.3.10
Question/Problem Description Error compiling C Orbix application on HP 11.31 Itanium 64 bit.
"/opt/iona/include/corba/PreCORBA.h", line 168: error #2020: identifier  "fd_set" is undefined
  typedef unsigned char(*IT_PFB) (fd_set&);
                                  ^
"/opt/iona/include/corba/PreCORBA.h", line 170: error #2020: identifier "fd_set" is undefined
  IT_unsafeFDClose(fd_set& the_fd_set);
                   ^                            ^
"/opt/iona/include/corba/ORB.h", line 1710: error #2757: "fd_set" is not a type name
           fd_set& theFDset,
           ^
Clarifying Information
Error Message
Defect/Enhancement Number
Cause This error gets generated if insufficient compiler flags get passed to the C compiler.
Resolution Check and compile the Orbix demo library using the supplied Makefile. The demo library resides in $ORBIX_ROOT/demos/demolib/cxx. Running make (or make -n) on this project will display the necessary compiler switches.
Workaround
Notes In this particular instance the compiler option -D_HPUX_SOURCE was missing while compiling the customer application. The demo Makefiles did use it.
Attachment
Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 10 September 2011

#KnowledgeDocs
#Orbix