CC -c server.cc -o server.o -I/opt/app/iona/orbix62/asp/6.2/include -
I/opt/app/iona/orbix62/asp/6.2/include/orbix -I/opt/app/iona/orbix62/
asp/6.2/include/omg
"server.hh", line 10: Error: Could not open include file<corba/
poaS.hh>.
"server.hh", line 180: Error: POA_PortableServer is not defined.
"server.hh", line 180: Error: ServantLocator is not defined.
"server.cc", line 783: Error: _this is not a member of
DeviceLocator_impl.
I did search for the header file mentioned above(corba/poaS.hh), but
could not find the file anywhere in the system. I am using orbix.
Kindly let me know how to correct the compilation error.
This header is generated by invoking the IDL compiler on poa.idl
That file should be in one of the directory hierarchies specified
by the -I<directory> option to the C++ compiler. If it is missing
then that suggests to me that you have only a partial installation
of Orbix.
One possibility is that somebody might have accidently/maliciously
deleted the include directory.
Another possibility is the following. When installing the Orbix
software, the installer gives you the option to install: (1)
only the runtime files, or (2) the runtime *plus* the development
files. Perhaps whoever installed Orbix choose option (1) instead
of option (2). That would certainly result in the include directory
being missing. However, if that's the case then I *think* the
idl compiler executable should also have been missing.
Regards,
Ciaran.
--
Ciaran McHale, www.CiaranMcHale.com
Email: ciaran _ mchale @ yahoo . co . uk
Mobile: +44-(0)7866-416-134