[Open-scap] OpenSCAP on Solaris 10

Arunvijai arunvijai at gmail.com
Thu Aug 18 10:23:13 UTC 2011


Never mind. I was able to edit the file manually and got the code compiled.

When I try to run against oval definition, it throws an error,

bash-3.00# oscap oval eval --results oval-results.xml sun.solaris.10.xml
Failed to import the OVAL Definitions from (sun.solaris.10.xml).

I have done the validation of Oval definition as well,
bash-3.00# oscap oval validate-xml sun.solaris.10.xml

Is there any way to run the program in debug mode to see what is going on
inside?
Also, why is it failing to import the definition?

Thanks
Arun


On Thu, Aug 18, 2011 at 11:17 AM, Arunvijai <arunvijai at gmail.com> wrote:

> Thanks.. Can you send me the file (isainfo.c) as an attachment. ? I am
> having trouble to patch..
>
> -Arun
>
>
> On Wed, Aug 17, 2011 at 7:11 PM, Marshall Miller <mmiller at tresys.com>wrote:
>
>> Hello,
>>
>> This error was introduced by a rebase to the new probe api.  I have a
>> patch and will submit it as soon as I can test it.
>>
>>
>> Marshall
>>
>> ________________________________
>> From: open-scap-list-bounces at redhat.com [
>> open-scap-list-bounces at redhat.com] on behalf of Arunvijai [
>> arunvijai at gmail.com]
>> Sent: Wednesday, August 17, 2011 5:06 AM
>> To: open-scap-list at redhat.com
>> Subject: [Open-scap] OpenSCAP on Solaris 10
>>
>> Hello,
>>
>> I am trying to build OpenSCAP 0.7.4 on Solaris 10 (Intel). During
>> compilation, the below error comes up
>>
>> Making all in crapi
>> make[3]: Entering directory `/build/openscap-0.7.4/src/OVAL/probes/crapi'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory `/build/openscap-0.7.4/src/OVAL/probes/crapi'
>> make[3]: Entering directory `/build/openscap-0.7.4/src/OVAL/probes'
>>  CC     probe_isainfo-isainfo.o
>> In file included from ../../../src/OVAL/probes/public/probe-api.h:66,
>>                 from unix/solaris/isainfo.c:33:
>> ../../../src/OVAL/public/oval_definitions.h:857: warning: declaration of
>> 'reference' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:116: warning: shadowed declaration
>> is here
>> ../../../src/OVAL/public/oval_definitions.h:1039: warning: declaration of
>> 'comment' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:147: warning: shadowed declaration
>> is here
>> ../../../src/OVAL/public/oval_definitions.h:1253: warning: declaration of
>> 'comment' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:147: warning: shadowed declaration
>> is here
>> ../../../src/OVAL/public/oval_definitions.h:1446: warning: declaration of
>> 'comment' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:147: warning: shadowed declaration
>> is here
>> ../../../src/OVAL/public/oval_definitions.h:1619: warning: declaration of
>> 'comment' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:147: warning: shadowed declaration
>> is here
>> ../../../src/OVAL/public/oval_definitions.h:1990: warning: declaration of
>> 'comment' shadows a global declaration
>> /usr/local/include/libxml2/libxml/SAX.h:147: warning: shadowed declaration
>> is here
>> unix/solaris/isainfo.c:72: warning: no previous prototype for
>> 'read_sysinfo'
>> unix/solaris/isainfo.c: In function `probe_main':
>> unix/solaris/isainfo.c:108: error: `filters' undeclared (first use in this
>> function)
>> unix/solaris/isainfo.c:108: error: (Each undeclared identifier is reported
>> only once
>> unix/solaris/isainfo.c:108: error: for each function it appears in.)
>> unix/solaris/isainfo.c:112: error: `object' undeclared (first use in this
>> function)
>> unix/solaris/isainfo.c:112: error: `probe_out' undeclared (first use in
>> this function)
>> unix/solaris/isainfo.c:110: warning: unused variable `err'
>> make[3]: *** [probe_isainfo-isainfo.o] Error 1
>> make[3]: Leaving directory `/build/openscap-0.7.4/src/OVAL/probes'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/build/openscap-0.7.4/src/OVAL/probes'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/build/openscap-0.7.4'
>> make: *** [all] Error 2
>>
>> Any ideas on how to resolve this? Any patches available?
>>
>> _Arun
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20110818/4c5cbe62/attachment.htm>


More information about the Open-scap-list mailing list