1820540 Members
3133 Online
109626 Solutions
New Discussion юеВ

File pthread.h

 
PUJOL Gregory
Occasional Advisor

File pthread.h

Hi

I work on HP-UX 10.20. When I try to compile a C program, I got an error for the file pthread.h (it's not on the system).

When I search it on another engine, I find it and it seems to belong to "DCEProg B.10.20" package.

Where can I find it? I have CDs for HP-UX 10.20, but I don't know in which CD it could be?

Thanks in advance.
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: File pthread.h

The pthread.h and pthread_exc.h files are located within the subproduct
DCE-CoreTools and can be extracted with the following procedure:

1. Mount appropriate cdrom
10.x : OS core
11.x : application CDs
2. Run swinstall.
3. Go into the Options menu & select:
"Reinstall filesets even if same revision exists" AND
"Reinstall files even if same one already there"
4. Go into the View menu & select "Change Software View" ->
"Start with Products".
5. Mark DCE-CoreTools for install
6. Install

Many people believe that the DCE client will be installed by
default from the core OS cdrom. But you need to install other filesets that are
not selected and installed by default.
They are as follows:
# DCE-CoreTools
# HP DCE/9000 Application Development Tools
DCE-CoreTools.DCE-BPRG
DCE-CoreTools.DCEP-ENG-A-MAN
# DCE-CoreAdmin
# HP DCE/9000 Core Administration Software
DCE-CoreAdmin.DCE-ACCT-MGR
DCE-CoreAdmin.DCE-CDSBROWSER
DCE-CoreAdmin.DCE-CONFIG-MGR
DCE-CoreAdmin.DCE-CORE-DIAG

The pthread.h and pthread_exc.h are included in DCE-CoreTools.
The manpage for pthread.h does not exist on POSIX 1003.4a (User/DCE/CMA
threads). From HP-UX 10.30 and 11.0, for POSIX 1003.1c threads
(Kernel threads), the manpage syntax for the general manpage is as follows:
man pthread(3T)

PUJOL Gregory
Occasional Advisor

Re: File pthread.h

I have no "OS core" CD.

I've tried CD "Install and Core OS Release 10.20" (B3920-13640) and HP-UX Applications Release 10.20" (4 CDs - B3820-60164)... but I can't find DCE-CoreTools or anything else...

I know the procedure, but I don't know on which CD...

Thanks.
Kenneth Platz
Esteemed Contributor

Re: File pthread.h

The "Install and Core OS Release 10.20" CD should have the DCE-CoreTools product. However, in order to see this product on the product listing, you must perform the following:

1) Bring up "swinstall" against the Core OS & Install CD
2) From the menu at the top of the screen, select "View"->"Change Software View"->"Start With Products".

At this point, the DCE-CoreTools product should be visible and available for install.
I think, therefore I am... I think!