[Open-scap] OpenSCAP on Solaris 10

Daniel Kopecek dkopecek at redhat.com
Thu Aug 18 12:22:05 UTC 2011


Hi,

On 08/18/2011 07:47 AM, Arunvijai wrote:
> Thanks.. Can you send me the file (isainfo.c) as an attachment. ? I am
> having trouble to patch..

you can download the file from the repository (or update yours using git
pull):

http://git.fedorahosted.org/git/?p=openscap.git;a=blob_plain;f=src/OVAL/probes/unix/solaris/isainfo.c;h=5cd821a8682471f1533f418f5b307c8d92d954b1;hb=7d528837e4058b6edd487f1812cba611ec865c58

> -Arun
> 
> On Wed, Aug 17, 2011 at 7:11 PM, Marshall Miller <mmiller at tresys.com
> <mailto: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
>     <mailto:open-scap-list-bounces at redhat.com>
>     [open-scap-list-bounces at redhat.com
>     <mailto:open-scap-list-bounces at redhat.com>] on behalf of Arunvijai
>     [arunvijai at gmail.com <mailto:arunvijai at gmail.com>]
>     Sent: Wednesday, August 17, 2011 5:06 AM
>     To: open-scap-list at redhat.com <mailto: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
> 
> 
> 
> 
> _______________________________________________
> Open-scap-list mailing list
> Open-scap-list at redhat.com
> https://www.redhat.com/mailman/listinfo/open-scap-list




More information about the Open-scap-list mailing list