[omniORB] Re: omni installation on SCO.

Roshan Alwares roshana@mahindrabt.com
Mon, 17 Apr 2000 16:49:18 +0530


Thanx,
The entry for SCO openServer 5 is missing in the DRV_fork.cc file.
is that the problem? where can i get the update on that.
Roshan

James Riden wrote:

> Roshan Alwares <roshana@mahindrabt.com> writes:
> > Dear James,
> >
> > as suggested by you
>
> erm, Alan suggested this I think.
>
> > we have downloaded and installed latest g++ compiler
> > and FSU-Pthreads 3.5 package.
> > after that the following error was encountered,
> >
> > **********
> > g++ -c  -fhandle-exceptions -Wall -Wno-unused -I../include
> > -DIDL_CFE_VERSION='"
> > 1.3.0"' -DCPP_LOCATION=\"gcc\" -I.  -I../../../../include -D__x86__
> > -D__osr5__ -
> > D__OSVERSION__=5 -o drv_fork.o drv_fork.cc
> > cc1plus: warning: -fhandle-exceptions has been renamed to -fexceptions
> > (and is n
> > ow on by default)
> > drv_fork.cc: In function `void DRV_fork()':
> > drv_fork.cc:152: implicit declaration of function `int fork(...)'
> > drv_fork.cc:158: implicit declaration of function `int wait(...)'
> > make[3]: *** [drv_fork.o] Error 1
> > make[3]: Leaving directory
> > `/u02/ra003416/omni/omniORB_280/src/tool/omniidl2/dri
> > ver'
> > make[2]: *** [export] Error 1
> > make[2]: Leaving directory
> > `/u02/ra003416/omni/omniORB_280/src/tool/omniidl2'
> > make[1]: *** [export] Error 1
> > make[1]: Leaving directory `/u02/ra003416/omni/omniORB_280/src/tool'
> > make: *** [export] Error 1
> >
> > *****************
> > we are unable to understand the error. can u please help us and tell us
> > some way out to fix the error.
> > thanking you in anticipation,
> > Roshan.
>
> Roshan,
>   do a "man fork" and check you're including the appropriate
> file. ("unistd.h" possibly ?)  I'm afraid I don't have a copy of SCO
> to try this on. I guess there are #include "unistd.h" directives
> surrounded by various #ifdef {platform X} / #endif pairs - the SCO one
> may be missing or wrong.
>
> Oh yes, here we go - eg.
>
> #if defined(__irix__)
> #include      <unistd.h>              // POSIX standard types
> #include      <wait.h>                // POSIX definition of wait()
> #endif
>
> Doesn't appear to be an SCO one.
>
> cheers,
>  James