Re: c++ compilation error (139 Views)
Reply
Occasional Contributor
mannam
Posts: 6
Registered: ‎05-05-2008
Message 1 of 5 (139 Views)
Accepted Solution

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
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,063
Registered: ‎02-23-2005
Message 2 of 5 (139 Views)

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?
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 5 (139 Views)

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
Please use plain text.
Occasional Contributor
mannam
Posts: 6
Registered: ‎05-05-2008
Message 4 of 5 (139 Views)

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
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,753
Registered: ‎03-06-2006
Message 5 of 5 (139 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation