[Open-scap] OpenSCAP on Solaris 10

Marshall Miller mmiller at tresys.com
Wed Aug 17 13:41:04 UTC 2011


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




More information about the Open-scap-list mailing list