Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

c++ compilation error

SOLVED
Go to solution
mannam
Occasional Contributor

c++ compilation error

Hello everyone,

I had a HP-UX inccishh B.11.11 U 9000/800 4046719263 unlimited-user license in my server.
i had all 3 GNU_C_C++, GNU_C_C++_64, GNU_C_C++_SOURCE compilers.

here i am trying to compile c++ module.i am getting many errors.pls find the some of the errors.
errors:
=========
1.error: dce/pthread.h: No such file or directory
2.error: dce/idlbase.h: No such file or directory
3.error: dce/nbase.h: No such file or directory
4.error: dce/rpc.h: No such file or directory
5.error: udcex_init_trace.h: No such file or directory
6.error: 'idl_long_int' does not name a type
7.'boolean32' does not name a type
8.'unsigned32' does not name a type
9.'unsigned32' has not been declared
10.ISO C++ forbids declaration of 'uuid_t' with no type
11.ISO C++ forbids declaration of 'unsigned_char_t' with no type

from these errors i am sure my server is missing dce/rpc.h files.

can somebody suggest why these errors are causing & where can i download the dce/rpc.h files.

any help appriciated

withregards,
Mannam
4 REPLIES
Steven Schweda
Honored Contributor
Solution

Re: c++ compilation error

> [...] i am trying to compile [...]

What? How? (Actual compiler command?)

> from these errors i am sure my server is
> missing dce/rpc.h files.

From these errors, it appears that the
compiler is not finding those header files.
This is not the same thing as the files being
missing.

Consider, for example:

/usr/include/pthread.h
/usr/include/rpc/rpc.h

Is there an optional DCE product which has
not been (completely) installed?
Steven E. Protter
Exalted Contributor

Re: c++ compilation error

Shalom,

Looks like your header files are missing.

Find them, make sure they are on SHLIB_PATH

Make sure the compilers know where they are.

1.error: dce/pthread.h: No such file or directory
2.error: dce/idlbase.h: No such file or directory
3.error: dce/nbase.h: No such file or directory
4.error: dce/rpc.h: No such file or directory
5.error: udcex_init_trace.h: No such file or directory

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
mannam
Occasional Contributor

Re: c++ compilation error

hello,
thaks 4 r u r quick replies.

it seems to be there is no DCE product in my server.
can somebody suggest where to download &how to install DCE product.is it a freeware?

with regards,
Mannam
Highlighted
Dennis Handly
Acclaimed Contributor

Re: c++ compilation error

>it seems to be there is no DCE product in my server. is it a freeware?

Why do you want to use DCE? If you just want pthreads, it's there.
You have to purchase DCE.