[omniORB] omniorb-2.7.1, HPUX 10.20 and egcs

Mark Elam marke@cyrano.com
Wed, 12 May 1999 13:41:06 +0000


Erik

> When trying to build 2.7.1 with egcs-1.1.2, I get the error: 
> 
>   g++ -c  -fhandle-exceptions -Wall -Wno-unused -D_CMA_NOWRAPPERS_ -D_REENTRANT -DPthreadDraftVersion=4 -I.  -I../../../include -D__hppa__ -D__hpux__ -D__OSVERSION__=10 -ldir posix.cc -o posix.o
>   In file included from ../../../include/omnithread.h:77,
>                  from posix.cc:50:
>   ../../../include/omnithread/posix.h:37: pthread.h: No such file or directory
>   
> I guess this means that I need pthread includes and libraries.
> Strangely enough, man -k pthread returns a whole page of pthread_*
> functions, but no pthread.h file seems to exist. 
> 
> So, is this something that we need to get from HP or can we use a free
> version?
> 
> Have other people tried building 2.7.1 with egcs?

Just a quick note, Yes we have built and run omniORB 2.7.1 with egcs 
(1.1) on HP-UX(10.20)  The pthreads thing is a separate HP-UX option 
I had to install (pthreads on HP-UX 10.20 requires -lcma to link 
against) but it was many months ago and I can't remember where I 
found it now.



Mark

Mark Elam

marke@cyrano.com