Description of problem:
CIM client application which includes CIMClient.h header file reports compilation error:
In file included from ../Tests/MiscTester.cpp:42:0:
/usr/include/Pegasus/Client/CIMClient.h:48:37: fatal error: Pegasus/Common/UintArgs.h: No such file or directory
Version-Release number of selected component (if applicable):
There may be more missing files, please check rpm %files and %install sections.
Found on CentOS 7.2. Confirmed in stock RHEL 7.2 rpm package (tog-pegasus-devel-2.14.1-3.el7.x86_64.rpm) from Workstation-optional repository.
It seems that just Pegasus/Common/UintArgs.h and Pegasus/Client/CIMEnumerationContext.h are missing when including "CIMClient.h".
But including various Pegasus's headers may lead to further errors... Checking %files and %install won't help here, because we ship all headers installed by upstream Makefile (actually more - also additional isolated headers requested through BZs like this one).
Are you willing to copy missing headers temporarily by hand directly from the tarball and let me know when you encounter next missing headers during the development of your CIM client application? I can add them within this BZ request.
I've identified 2 files which are missing and needed for my project to build:
(In reply to Tomasz Kepczynski from comment #3)
> I've identified 2 files which are missing and needed for my project to build:
Both files have been added in tog-pegasus-devel-2.14.1-4.el7.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.