M2Crypto and SWIG failure to build

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dfee
    New Member
    • Jun 2010
    • 2

    #1

    M2Crypto and SWIG failure to build

    I'm using Python 2.6.5, OpenSSL 1.0.0, and SWIG 2.0.0. All three of these compiled and are running fine (tests check out). I'm compiling M2Crypton 0.20.2, and get the following stack trace. However, i'm not sure where to begin in debugging, or what's a problem (i feel the warnings are a pass, but i shouldn't allow any errors). Bash stack trace below. Thanks!

    [revolution]$ python setup.py build_ext --openssl=/home/dfee/opt/local --library-dirs=/home/dfee/opt/local/lib --include
    -dirs=/home/dfee/opt/local/include
    running build_ext
    building 'M2Crypto.__m2c rypto' extension
    swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap. c
    swig -python -I/home/dfee/opt/local/include -I/home/dfee/opt/local/include/python2.6 -I/home/dfee/opt/local/include -includeall -o SWIG/_m2crypto_wrap. c SWIG/_m2crypto.i
    SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_rand.i:19: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_evp.i:156: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_ssl.i:207: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_x509.i:313: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_pkcs7.i:42: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_pkcs7.i:42: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_util.i:9: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory.
    SWIG/_engine.i:162: Warning 454: Setting a pointer/reference variable may leak memory.
    creating build
    creating build/temp.linux-x86_64-2.6
    creating build/temp.linux-x86_64-2.6/SWIG
    gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/dfee/opt/local/include -I/home/dfee/opt/local/BerkeleyDB.4.5/include -fPIC -I/home/dfee/opt/local/include -I/home/dfee/opt/local/BerkeleyDB.4.5/include -fPIC -fPIC -I/home/dfee/opt/local/include -I/home/dfee/opt/local/include/python2.6 -I/home/dfee/opt/local/include -I/home/dfee/opt/local/downloads/M2Crypto-0.20.2/SWIG -c SWIG/_m2crypto_wrap. c -o build/temp.linux-x86_64-2.6/SWIG/_m2crypto_wrap. o -DTHREADING
    SWIG/_m2crypto_wrap. c: In function `rand_pseudo_by tes':
    SWIG/_m2crypto_wrap. c:3899: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `pkcs5_pbkdf2_h mac_sha1':
    SWIG/_m2crypto_wrap. c:3973: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `bytes_to_key':
    SWIG/_m2crypto_wrap. c:4132: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `sign_final':
    SWIG/_m2crypto_wrap. c:4228: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `pkey_as_der':
    SWIG/_m2crypto_wrap. c:4300: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `pkey_get_modul us':
    SWIG/_m2crypto_wrap. c:4333: warning: value computed is not used
    SWIG/_m2crypto_wrap. c:4358: warning: value computed is not used
    SWIG/_m2crypto_wrap. c: In function `AES_crypt':
    SWIG/_m2crypto_wrap. c:4444: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:5846: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:5850: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:5854: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:5858: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:5862: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:5866: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c: In function `i2d_x509':
    SWIG/_m2crypto_wrap. c:5942: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `x509_name_set_ by_nid':
    SWIG/_m2crypto_wrap. c:6023: warning: pointer targets in passing argument 4 of `X509_NAME_add_ entry_by_NID' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `x509_name_add_ entry_by_txt':
    SWIG/_m2crypto_wrap. c:6028: warning: pointer targets in passing argument 4 of `X509_NAME_add_ entry_by_txt' differ in signedness
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:6038: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:6043: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6048: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6053: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6081: error: expected declaration specifiers or `...' before `STACK'
    SWIG/_m2crypto_wrap. c: In function `x509_req_add_e xtensions':
    SWIG/_m2crypto_wrap. c:6082: error: `exts' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:6082: error: (Each undeclared identifier is reported only once
    SWIG/_m2crypto_wrap. c:6082: error: for each function it appears in.)
    SWIG/_m2crypto_wrap. c: In function `x509_name_entr y_create_by_txt ':
    SWIG/_m2crypto_wrap. c:6086: warning: pointer targets in passing argument 4 of `X509_NAME_ENTR Y_create_by_txt ' differ in signedness
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:6089: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:6095: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6105: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6131: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:6136: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6141: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6146: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6151: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6156: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6178: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c:6204: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6347: error: expected `)' before `*' token
    SWIG/_m2crypto_wrap. c:6385: error: expected declaration specifiers or `...' before `STACK'
    SWIG/_m2crypto_wrap. c: In function `pkcs7_sign1':
    SWIG/_m2crypto_wrap. c:6386: error: `stack' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:6390: error: expected declaration specifiers or `...' before `STACK'
    SWIG/_m2crypto_wrap. c: In function `pkcs7_verify1' :
    SWIG/_m2crypto_wrap. c:6400: error: `stack' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:6418: error: expected declaration specifiers or `...' before `STACK'
    SWIG/_m2crypto_wrap. c: In function `pkcs7_verify0' :
    SWIG/_m2crypto_wrap. c:6419: error: `stack' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:6419: warning: passing argument 3 of `pkcs7_verify1' from incompatible pointer type
    SWIG/_m2crypto_wrap. c:6419: warning: passing argument 4 of `pkcs7_verify1' makes integer from pointer without a cast
    SWIG/_m2crypto_wrap. c:6419: error: too many arguments to function `pkcs7_verify1'
    SWIG/_m2crypto_wrap. c: At top level:
    SWIG/_m2crypto_wrap. c:6502: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    SWIG/_m2crypto_wrap. c: In function `util_string_to _hex':
    SWIG/_m2crypto_wrap. c:6553: warning: pointer targets in passing argument 1 of `PyString_FromS tringAndSize' differ in signedness
    SWIG/_m2crypto_wrap. c: In function `_wrap_ssl_get_ ciphers':
    SWIG/_m2crypto_wrap. c:16900: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16900: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16913: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_ssl_c ipher_num':
    SWIG/_m2crypto_wrap. c:16923: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16923: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16923: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:16934: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:16940: warning: implicit declaration of function `sk_ssl_cipher_ num'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_ssl_c ipher_value':
    SWIG/_m2crypto_wrap. c:16953: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16953: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16953: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:16968: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:16979: warning: implicit declaration of function `sk_ssl_cipher_ value'
    SWIG/_m2crypto_wrap. c:16979: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_ssl_get_ peer_cert_chain ':
    SWIG/_m2crypto_wrap. c:16993: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:16993: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:17006: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ num':
    SWIG/_m2crypto_wrap. c:17016: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:17016: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:17016: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:17027: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:17033: warning: implicit declaration of function `sk_x509_num'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ value':
    SWIG/_m2crypto_wrap. c:17046: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:17046: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:17046: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:17061: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:17072: warning: implicit declaration of function `sk_x509_value'
    SWIG/_m2crypto_wrap. c:17072: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509_nam e_entry_set_dat a':
    SWIG/_m2crypto_wrap. c:19133: warning: pointer targets in assignment differ in signedness
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509_sto re_ctx_get1_cha in':
    SWIG/_m2crypto_wrap. c:19733: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:19733: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:19741: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ new_null':
    SWIG/_m2crypto_wrap. c:20570: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20570: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20573: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ free':
    SWIG/_m2crypto_wrap. c:20583: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20583: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20583: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20593: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20599: warning: implicit declaration of function `sk_x509_free'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ push':
    SWIG/_m2crypto_wrap. c:20609: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20609: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20609: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20624: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20640: warning: implicit declaration of function `sk_x509_push'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ pop':
    SWIG/_m2crypto_wrap. c:20653: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20653: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20653: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20664: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20670: warning: implicit declaration of function `sk_x509_pop'
    SWIG/_m2crypto_wrap. c:20670: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509_req _add_extensions ':
    SWIG/_m2crypto_wrap. c:20871: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20871: error: `arg2' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20871: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20890: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:20901: error: too many arguments to function `x509_req_add_e xtensions'
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509v3_l hash':
    SWIG/_m2crypto_wrap. c:20978: error: `LHASH' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20978: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20981: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509v3_s et_conf_lhash':
    SWIG/_m2crypto_wrap. c:20991: error: `LHASH' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20991: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:20991: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21002: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21003: warning: implicit declaration of function `x509v3_set_con f_lhash'
    SWIG/_m2crypto_wrap. c:21003: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_x509v3_e xt_conf':
    SWIG/_m2crypto_wrap. c:21013: error: `LHASH' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21013: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21013: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21038: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21054: warning: implicit declaration of function `x509v3_ext_con f'
    SWIG/_m2crypto_wrap. c:21054: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_new_n ull':
    SWIG/_m2crypto_wrap. c:21113: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21113: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21116: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_free' :
    SWIG/_m2crypto_wrap. c:21126: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21126: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21126: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21136: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21142: warning: implicit declaration of function `sk_x509_extens ion_free'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_push' :
    SWIG/_m2crypto_wrap. c:21152: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21152: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21152: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21167: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21178: warning: implicit declaration of function `sk_x509_extens ion_push'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_pop':
    SWIG/_m2crypto_wrap. c:21191: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21191: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21191: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21202: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21208: warning: implicit declaration of function `sk_x509_extens ion_pop'
    SWIG/_m2crypto_wrap. c:21208: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_num':
    SWIG/_m2crypto_wrap. c:21218: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21218: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21218: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21229: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21235: warning: implicit declaration of function `sk_x509_extens ion_num'
    SWIG/_m2crypto_wrap. c: In function `_wrap_sk_x509_ extension_value ':
    SWIG/_m2crypto_wrap. c:21248: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21248: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21248: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21263: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21274: warning: implicit declaration of function `sk_x509_extens ion_value'
    SWIG/_m2crypto_wrap. c:21274: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_make_sta ck_from_der_seq uence':
    SWIG/_m2crypto_wrap. c:21308: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21308: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21314: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c: In function `_wrap_get_der_ encoding_stack' :
    SWIG/_m2crypto_wrap. c:21324: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21324: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:21324: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21335: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:21341: warning: implicit declaration of function `get_der_encodi ng_stack'
    SWIG/_m2crypto_wrap. c:21341: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_pkcs7_en crypt':
    SWIG/_m2crypto_wrap. c:22343: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22343: error: `arg1' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22343: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22366: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22399: warning: implicit declaration of function `pkcs7_encrypt'
    SWIG/_m2crypto_wrap. c:22399: warning: cast to pointer from integer of different size
    SWIG/_m2crypto_wrap. c: In function `_wrap_pkcs7_si gn1':
    SWIG/_m2crypto_wrap. c:22547: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22547: error: `arg3' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22547: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22582: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22615: warning: passing argument 4 of `pkcs7_sign1' makes integer from pointer without a cast
    SWIG/_m2crypto_wrap. c:22615: error: too many arguments to function `pkcs7_sign1'
    SWIG/_m2crypto_wrap. c: In function `_wrap_pkcs7_ve rify1':
    SWIG/_m2crypto_wrap. c:22628: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22628: error: `arg2' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22628: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22659: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22692: warning: passing argument 3 of `pkcs7_verify1' from incompatible pointer type
    SWIG/_m2crypto_wrap. c:22692: warning: passing argument 4 of `pkcs7_verify1' makes integer from pointer without a cast
    SWIG/_m2crypto_wrap. c:22692: error: too many arguments to function `pkcs7_verify1'
    SWIG/_m2crypto_wrap. c: In function `_wrap_pkcs7_ve rify0':
    SWIG/_m2crypto_wrap. c:22707: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22707: error: `arg2' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:22707: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22734: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:22755: warning: passing argument 3 of `pkcs7_verify0' makes integer from pointer without a cast
    SWIG/_m2crypto_wrap. c:22755: error: too many arguments to function `pkcs7_verify0'
    SWIG/_m2crypto_wrap. c: In function `_wrap_pkcs7_ge t0_signers':
    SWIG/_m2crypto_wrap. c:23188: error: `STACK' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:23188: error: `arg2' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:23188: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:23199: error: `result' undeclared (first use in this function)
    SWIG/_m2crypto_wrap. c:23211: error: expected expression before `)' token
    SWIG/_m2crypto_wrap. c:23227: error: expected expression before `)' token
    error: command 'gcc' failed with exit status 1
    [revolution]$
  • dfee
    New Member
    • Jun 2010
    • 2

    #2
    Cleaning up after myself, it was a bug. Latest release has fixed this. Cheers!

    svn co http://svn.osafoundation.org/m2crypto/trunk

    Comment

    Working...