Created
December 4, 2017 10:34
-
-
Save RX14/25688d115639028fe5ac55953f401193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -O -g -I/usr/include/p11-kit-1 -Wno-unused-function -I'/usr/lib/ocaml' 'nettls_gnutls_bindings_stubs.c' | |
nettls_gnutls_bindings_stubs.c: In function ‘abs_gnutls_openpgp_keyring_t_finalize’: | |
nettls_gnutls_bindings_stubs.c:1539:3: warning: ‘gnutls_openpgp_keyring_deinit’ is deprecated [-Wdeprecated-declarations] | |
gnutls_openpgp_keyring_deinit(p1->value); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from nettls_gnutls_bindings_stubs.c:31:0: | |
/usr/include/gnutls/openpgp.h:270:6: note: declared here | |
void gnutls_openpgp_keyring_deinit(gnutls_openpgp_keyring_t keyring) _GNUTLS_GCC_ATTR_DEPRECATED; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../tools/stubcc -ocamlc ocamlc -ccopt "-O -g" -I/usr/include/p11-kit-1 nettls_nettle_bindings_stubs.c | |
+ gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -O -g -I/usr/include/p11-kit-1 -I'/usr/lib/ocaml' 'nettls_nettle_bindings_stubs.c' | |
In file included from nettls_nettle_bindings_stubs.c:24:0: | |
nettls_nettle_bindings_stubs.c:120:36: error: ‘nettle_get_ciphers’ declared as function returning an array | |
const struct nettle_cipher * const nettle_ciphers[] = { | |
^ | |
nettls_nettle_bindings_stubs.c:120:14: error: function ‘nettle_get_ciphers’ is initialized like a variable | |
const struct nettle_cipher * const nettle_ciphers[] = { | |
^~~~~~~~~~~~~ | |
In file included from nettls_nettle_bindings_stubs.c:24:0: | |
nettls_nettle_bindings_stubs.c:120:36: error: conflicting types for ‘nettle_get_ciphers’ | |
const struct nettle_cipher * const nettle_ciphers[] = { | |
^ | |
/usr/include/nettle/nettle-meta.h:73:1: note: previous declaration of ‘nettle_get_ciphers’ was here | |
nettle_get_ciphers (void); | |
^~~~~~~~~~~~~~~~~~ | |
nettls_nettle_bindings_stubs.c:121:3: error: invalid initializer | |
&nettle_aes128, | |
^ | |
nettls_nettle_bindings_stubs.c:121:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:122:3: warning: excess elements in scalar initializer | |
&nettle_aes192, | |
^ | |
nettls_nettle_bindings_stubs.c:122:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:123:3: warning: excess elements in scalar initializer | |
&nettle_aes256, | |
^ | |
nettls_nettle_bindings_stubs.c:123:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:125:3: warning: excess elements in scalar initializer | |
&nettle_camellia128, | |
^ | |
nettls_nettle_bindings_stubs.c:125:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:126:3: warning: excess elements in scalar initializer | |
&nettle_camellia192, | |
^ | |
nettls_nettle_bindings_stubs.c:126:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:127:3: warning: excess elements in scalar initializer | |
&nettle_camellia256, | |
^ | |
nettls_nettle_bindings_stubs.c:127:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:129:3: warning: excess elements in scalar initializer | |
&nettle_cast128, | |
^ | |
nettls_nettle_bindings_stubs.c:129:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:130:3: warning: excess elements in scalar initializer | |
&nettle_serpent128, | |
^ | |
nettls_nettle_bindings_stubs.c:130:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:131:3: warning: excess elements in scalar initializer | |
&nettle_serpent192, | |
^ | |
nettls_nettle_bindings_stubs.c:131:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:132:3: warning: excess elements in scalar initializer | |
&nettle_serpent256, | |
^ | |
nettls_nettle_bindings_stubs.c:132:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:133:3: warning: excess elements in scalar initializer | |
&nettle_twofish128, | |
^ | |
nettls_nettle_bindings_stubs.c:133:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:134:3: warning: excess elements in scalar initializer | |
&nettle_twofish192, | |
^ | |
nettls_nettle_bindings_stubs.c:134:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:135:3: warning: excess elements in scalar initializer | |
&nettle_twofish256, | |
^ | |
nettls_nettle_bindings_stubs.c:135:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:136:3: warning: excess elements in scalar initializer | |
&nettle_arctwo40, | |
^ | |
nettls_nettle_bindings_stubs.c:136:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:137:3: warning: excess elements in scalar initializer | |
&nettle_arctwo64, | |
^ | |
nettls_nettle_bindings_stubs.c:137:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:138:3: warning: excess elements in scalar initializer | |
&nettle_arctwo128, | |
^ | |
nettls_nettle_bindings_stubs.c:138:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:139:3: warning: excess elements in scalar initializer | |
&nettle_arctwo_gutmann128, | |
^ | |
nettls_nettle_bindings_stubs.c:139:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c:140:3: warning: excess elements in scalar initializer | |
NULL | |
^~~~ | |
nettls_nettle_bindings_stubs.c:140:3: note: (near initialization for ‘nettle_get_ciphers’) | |
nettls_nettle_bindings_stubs.c: In function ‘net_nettle_ciphers’: | |
nettls_nettle_bindings_stubs.c:149:26: error: subscripted value is neither array nor pointer nor vector | |
while (nettle_ciphers[k] != NULL) k++; | |
^ | |
nettls_nettle_bindings_stubs.c:150:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
*ciphers = (net_nettle_cipher_t *) nettle_ciphers; | |
^ | |
In file included from nettls_nettle_bindings_stubs.c:24:0: | |
nettls_nettle_bindings_stubs.c: At top level: | |
nettls_nettle_bindings_stubs.c:359:34: error: ‘nettle_get_hashes’ declared as function returning an array | |
const struct nettle_hash * const nettle_hashes[] = { | |
^ | |
nettls_nettle_bindings_stubs.c:359:14: error: function ‘nettle_get_hashes’ is initialized like a variable | |
const struct nettle_hash * const nettle_hashes[] = { | |
^~~~~~~~~~~ | |
In file included from nettls_nettle_bindings_stubs.c:24:0: | |
nettls_nettle_bindings_stubs.c:359:34: error: conflicting types for ‘nettle_get_hashes’ | |
const struct nettle_hash * const nettle_hashes[] = { | |
^ | |
/usr/include/nettle/nettle-meta.h:138:1: note: previous declaration of ‘nettle_get_hashes’ was here | |
nettle_get_hashes (void); | |
^~~~~~~~~~~~~~~~~ | |
nettls_nettle_bindings_stubs.c:360:5: error: invalid initializer | |
&nettle_md2, | |
^ | |
nettls_nettle_bindings_stubs.c:360:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c:361:5: warning: excess elements in scalar initializer | |
&nettle_md4, | |
^ | |
nettls_nettle_bindings_stubs.c:361:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c:362:5: warning: excess elements in scalar initializer | |
&nettle_md5, | |
^ | |
nettls_nettle_bindings_stubs.c:362:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c:363:5: warning: excess elements in scalar initializer | |
&nettle_sha1, | |
^ | |
nettls_nettle_bindings_stubs.c:363:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c:364:5: warning: excess elements in scalar initializer | |
&nettle_sha256, | |
^ | |
nettls_nettle_bindings_stubs.c:364:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c:365:5: warning: excess elements in scalar initializer | |
NULL | |
^~~~ | |
nettls_nettle_bindings_stubs.c:365:5: note: (near initialization for ‘nettle_get_hashes’) | |
nettls_nettle_bindings_stubs.c: In function ‘net_nettle_hashes’: | |
nettls_nettle_bindings_stubs.c:373:25: error: subscripted value is neither array nor pointer nor vector | |
while (nettle_hashes[k] != NULL) k++; | |
^ | |
nettls_nettle_bindings_stubs.c:374:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
*hashes = (net_nettle_hash_t *) nettle_hashes; | |
^ | |
make[1]: *** [../../Makefile.rules:127: nettls_nettle_bindings_stubs.o] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment