[omniORB] omniorb-2.7.1, HPUX 10.20 and egcs

Guenther Grau Guenther.Grau@de.bosch.com
Wed, 12 May 1999 13:43:47 +0200


Erik Toubro Nielsen wrote:
> 
> 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?

zeus% ll /usr/include/pthread.h
lrwxr-xr-x   1 root       sys             26 Jun 12  1997 pthread.h@ ->
/opt/dce/include/pthread.h
zeus% uname -a
HP-UX zeus B.10.20 A 9000/778 2015713137 two-user license

  Guenther