Skip to content

Instantly share code, notes, and snippets.

/gist:1b9e2c78808e6a3034f9 Secret
Created Oct 28, 2014

Embed
What would you like to do?
Configured features:
docs build: no
warnings: no
megafs: yes (requires fuse)
tests: yes (requires glib-2.0 >= 2.34.0)
Run make now.
NOTE: On FreeBSD, you need to use GNU make (gmake)
make all-recursive
Making all in mega
GEN mega-marshal.list
GEN mega-enum-types.c
GEN mega-enum-types.h
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
GEN mega-marshal.c
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
GEN mega-marshal.h
make all-recursive
Making all in gjs
make[4]: Nothing to be done for 'all'.
CC mega-rsa-key.lo
CC mega-aes-key.lo
CC mega-chunked-cbc-mac.lo
In file included from /usr/include/openssl/crypto.h:129:0,
from /usr/include/openssl/bn.h:133,
from mega-rsa-key.c:40:
/usr/include/openssl/safestack.h:129:1: error: unknown type name '_STACK'
DECLARE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
^
/usr/include/openssl/safestack.h:136:1: error: unknown type name '_STACK'
DECLARE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
^
/usr/include/openssl/crypto.h:290:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(void)
^
/usr/include/openssl/crypto.h:304:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS)
^
In file included from mega-rsa-key.c:40:0:
/usr/include/openssl/bn.h:320:2: error: unknown type name 'BN_ULONG'
BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
^
mega-aes-key.c:78:3: error: unknown type name 'AES_KEY'
AES_KEY enc_key;
^
mega-aes-key.c:79:3: error: unknown type name 'AES_KEY'
AES_KEY dec_key;
^
mega-aes-key.c:92:21: error: 'AES_BLOCK_SIZE' undeclared here (not in a function)
guchar ctr_ecount[AES_BLOCK_SIZE];
^
mega-aes-key.c: In function 'mega_aes_key_generate_from_password':
/usr/include/openssl/bn.h:336:2: error: unknown type name 'BN_ULONG'
BN_ULONG n0[2];/* least significant word(s) of Ni;
^
/usr/include/openssl/bn.h:483:1: error: unknown type name 'BN_ULONG'
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:483:39: error: unknown type name 'BN_ULONG'
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:484:1: error: unknown type name 'BN_ULONG'
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:484:33: error: unknown type name 'BN_ULONG'
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:485:28: error: unknown type name 'BN_ULONG'
int BN_mul_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:486:28: error: unknown type name 'BN_ULONG'
int BN_add_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:487:28: error: unknown type name 'BN_ULONG'
int BN_sub_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:488:28: error: unknown type name 'BN_ULONG'
int BN_set_word(BIGNUM *a, BN_ULONG w);
^
/usr/include/openssl/bn.h:489:1: error: unknown type name 'BN_ULONG'
BN_ULONG BN_get_word(const BIGNUM *a);
^
/usr/include/openssl/bn.h:504:37: error: unknown type name 'BN_ULONG'
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
^
/usr/include/openssl/bn.h:541:24: error: unknown type name 'BN_ULONG'
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
^
/usr/include/openssl/bn.h:809:1: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:809:27: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:809:47: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:809:70: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:810:1: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:810:23: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:810:43: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:810:66: error: unknown type name 'BN_ULONG'
BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w);
^
/usr/include/openssl/bn.h:811:23: error: unknown type name 'BN_ULONG'
void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
^
/usr/include/openssl/bn.h:811:43: error: unknown type name 'BN_ULONG'
void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num);
^
/usr/include/openssl/bn.h:812:1: error: unknown type name 'BN_ULONG'
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
^
/usr/include/openssl/bn.h:812:23: error: unknown type name 'BN_ULONG'
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
^
/usr/include/openssl/bn.h:812:35: error: unknown type name 'BN_ULONG'
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
^
/usr/include/openssl/bn.h:812:47: error: unknown type name 'BN_ULONG'
BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d);
^
/usr/include/openssl/bn.h:813:1: error: unknown type name 'BN_ULONG'
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:813:23: error: unknown type name 'BN_ULONG'
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:813:43: error: unknown type name 'BN_ULONG'
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:813:63: error: unknown type name 'BN_ULONG'
BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:814:1: error: unknown type name 'BN_ULONG'
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:814:23: error: unknown type name 'BN_ULONG'
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:814:43: error: unknown type name 'BN_ULONG'
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
/usr/include/openssl/bn.h:814:63: error: unknown type name 'BN_ULONG'
BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,int num);
^
In file included from /usr/include/openssl/crypto.h:129:0,
from /usr/include/openssl/bn.h:133,
from mega-rsa-key.c:40:
/usr/include/openssl/bio.h:332:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(BIO)
^
mega-aes-key.c:416:7: error: unknown type name 'AES_KEY'
AES_KEY k;
^
/usr/include/openssl/asn1.h:166:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(X509_ALGOR)
^
/usr/include/openssl/asn1.h:279:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(ASN1_STRING_TABLE)
^
/usr/include/openssl/asn1.h:516:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(ASN1_INTEGER)
^
/usr/include/openssl/asn1.h:519:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(ASN1_GENERALSTRING)
^
/usr/include/openssl/asn1.h:551:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(ASN1_TYPE)
^
In file included from /usr/include/openssl/rsa.h:62:0,
from mega-rsa-key.c:41:
/usr/include/openssl/asn1.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ENCODE_FUNCTIONS_const(ASN1_SEQUENCE_ANY, ASN1_SEQUENCE_ANY)
^
/usr/include/openssl/asn1.h:557:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ENCODE_FUNCTIONS_const(ASN1_SEQUENCE_ANY, ASN1_SET_ANY)
^
/usr/include/openssl/asn1.h:774:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS_fname(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
^
/usr/include/openssl/asn1.h:789:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ITEM(ASN1_OBJECT)
^
In file included from /usr/include/openssl/crypto.h:129:0,
from /usr/include/openssl/bn.h:133,
from mega-rsa-key.c:40:
/usr/include/openssl/asn1.h:791:1: error: unknown type name '_STACK'
DECLARE_STACK_OF(ASN1_OBJECT)
^
In file included from /usr/include/openssl/rsa.h:62:0,
from mega-rsa-key.c:41:
/usr/include/openssl/asn1.h:809:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_BIT_STRING)
^
/usr/include/openssl/asn1.h:831:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER)
^
/usr/include/openssl/asn1.h:840:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED)
^
/usr/include/openssl/asn1.h:858:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_OCTET_STRING)
^
/usr/include/openssl/asn1.h:863:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_VISIBLESTRING)
^
/usr/include/openssl/asn1.h:864:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_UNIVERSALSTRING)
^
/usr/include/openssl/asn1.h:865:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING)
^
/usr/include/openssl/asn1.h:866:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_NULL)
^
/usr/include/openssl/asn1.h:867:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING)
^
/usr/include/openssl/asn1.h:872:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
^
/usr/include/openssl/asn1.h:874:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
^
/usr/include/openssl/asn1.h:875:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
^
/usr/include/openssl/asn1.h:876:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_PRINTABLESTRING)
^
/usr/include/openssl/asn1.h:877:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_T61STRING)
^
/usr/include/openssl/asn1.h:878:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_IA5STRING)
^
/usr/include/openssl/asn1.h:879:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_GENERALSTRING)
^
/usr/include/openssl/asn1.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_UTCTIME)
^
/usr/include/openssl/asn1.h:881:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_GENERALIZEDTIME)
^
/usr/include/openssl/asn1.h:882:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
^
/usr/include/openssl/asn1.h:884:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ITEM(ASN1_OCTET_STRING_NDEF)
^
/usr/include/openssl/asn1.h:1039:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(NETSCAPE_X509)
^
/usr/include/openssl/rsa.h:323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
^
/usr/include/openssl/rsa.h:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
^
/usr/include/openssl/rsa.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
^
Makefile:564: recipe for target 'mega-aes-key.lo' failed
make[4]: *** [mega-aes-key.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Makefile:564: recipe for target 'mega-rsa-key.lo' failed
make[4]: *** [mega-rsa-key.lo] Error 1
Makefile:646: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:458: recipe for target 'all' failed
make[2]: *** [all] Error 2
Makefile:491: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:378: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.