[Open-scap] compile error on Solaris10 Sparc

curious penguin pepe.the.bofh at gmail.com
Thu Aug 23 23:27:51 UTC 2012


I apologize, I didn't mean to sound impatient.

I've digging through the system and only got to find this on linux
(/usr/include/string.h):
#ifdef  __USE_GNU
/* Compare S1 and S2 as strings holding name & indices/version numbers.  */
extern int strverscmp (__const char *__s1, __const char *__s2)
     __THROW __attribute_pure__ __nonnull ((1, 2));

I checked the same /usr/include/string.h on Solaris but the function
doesn't exist.


On Thu, Aug 23, 2012 at 3:21 PM, Steve Grubb <sgrubb at redhat.com> wrote:

> On Thursday, August 23, 2012 02:13:26 PM curious penguin wrote:
> > Anyone out there?
>
> Yeah, but have some patience. Most of the developers are over in Europe and
> they might be home for the day. :-)
>
> > > I've been scratching my head over the pain of trying to compile
> openscap
> > > on sol10sparc.
> > >
> > > Could anyone let me know what fix/workaround can fix the problem below:
> > >
> > > /home/pepe/openscap-0.8.4/src/.libs/libopenscap.so: undefined
> reference to
> > > `strverscmp'
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [probe_system_info] Error 1
> > > make[3]: Leaving directory `/home/pepe/openscap-0.8.4/src/OVAL/probes'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/pepe/openscap-0.8.4/src/OVAL/probes'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/pepe/openscap-0.8.4'
> > > make: *** [all] Error 2
>
> This means strverscmp() is not in your standard C library. I guess we need
> to
> include this out of gnulib in the next release.
>
> -Steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20120823/da885994/attachment.htm>


More information about the Open-scap-list mailing list