[sword-devel] Problems with th xz related code

Stefan Husmann stefan-husmann at t-online.de
Sun Aug 24 08:39:35 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 24.08.2014 um 17:04 schrieb Troy A. Griffitts:
> Hi Stefan,
> 
> Could you run this program on your system and then tell me the output:
> (the sword/examples/classes folder has an appropriate Makefile to build against sword if you want to drop it in that folder and then type: make <your filename>.cpp)
> 
> #include<sysdata.h>
> #include<stdio.h>
> 
> int main(int argc, char **argv) {
> 
>         printf("%ld\n", sizeof(__u64));
>         return 0;
> }
> 
> 
> On 08/24/2014 04:54 AM, Stefan Husmann wrote:
>> Hello,
>>
>> I have problems compiling sword in revision 3249 under Arch Linux 64 bit both using clang++ or g++.
>>
>> Switching off xz (configure option --without-xz) solves the issue.
>>
>> I attach the two compile logs, hope it is okay to do so.
>>
>> Best Regards
>>
>> Stefan
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> 
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
> 

Hello,

sure, I get this:

[haawda at frege ~]$ LANG=C g++ how_big_is_u64.cpp -o how_big_is_u64.o
how_big_is_u64.cpp:1:20: fatal error: sysdata.h: No such file or directory
 #include<sysdata.h>
                    ^
compilation terminated.
[haawda at frege ~]$ LANG=C clang++ how_big_is_u64.cpp -o how_big_is_u64.o
how_big_is_u64.cpp:1:9: fatal error: 'sysdata.h' file not found
#include<sysdata.h>
        ^
1 error generated.

Best Regards
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJT+gc3AAoJEFB4KGhvDRgLPMUH/isUBHN2bjcpcQXRR0nvPcYw
vitWjpljsYIHpDZXrHBKxRGqFm7SiE8uuFsTjf7KazKi9zSESt50dgN1pUw/dUap
os5XZoSF48keFd8dwN7Qu6k7r7R2qaX9/qfVB4hcVJDvyTEghhodFbN2bHGXH1AL
WSsdYteR31/lLD7wdQHcCD6uUQMGxXR+ArBH0/89BwrRcCAYF8o3jBaRhlUcOBIZ
NOr/wshvlAdEEG2Q1x2FiyWjdoMIDedK9x2NTTw5yu6tCtCwxLPf1ixqzZM/tv8T
2m+dmOxAMf70Ygyea3pwU7xmeExN7izQ0YcZBOBqL/6vRjjZAAbM9xblXKTh7CY=
=SbbG
-----END PGP SIGNATURE-----



More information about the sword-devel mailing list