[Open-scap] libccrapi build issue when building as 64-bit.

Daniel Kopecek dkopecek at redhat.com
Wed May 15 08:19:50 UTC 2013


Hi Jacob,

On 05/14/2013 11:28 PM, jacob varughese wrote:
>
>
> On 5/10/2013 1:11 PM, Jacob Varughese wrote:
>> Hi,
>>
>> I'm trying to build openscap on solaris 5.11 64-bit and ran into an 
>> issue,
>> src/OVAL/probes/crapi/Makefile has -D_FILE_OFFSET_BITS=32.
>> This causes a conflict with /usr/include/sys/feature_tests.h:200
>>
>> "invalid _FILE_OFFSET_BITS value specified"
>>
>> Any reason why the _FILE_OFFSET_BITS is set in the Makefile to 32.
>>
>> crapi.h has  _FILE_OFFSET_BITS = 32 if not defined.
>>
>>
>>
>
> For building solaris 64-bit binaries, I was intending to change the 
> Makefile.am -D_FILE_OFFSET_BITS=64, due to the conflict listed above. 
> Are there any known issues with using this. Is that why 
> -D_FILE_OFFSET_BITS=32 is hardcoded in the Makefile?
> Any information in this regard is appreciated.

yes, you can try that and it should work. Our crypto API tests pass with 
-D_FILE_OFFSET_BITS=64 also. I don't know about any issues, it'll just 
use a different code path in some of the cryto API functions.

> Thank you,
> Jacob.
>
> _______________________________________________
> 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