[En-Nut-Discussion] No rule to make ...
Nikolas Becker
N.Becker at pemtec.de
Fri Dec 6 13:44:02 CET 2019
Hello Uwe,
I tried your latest build. It looks like it doesen't know the type bigint_t:
14:30:01: Nut/OS Configurator Version 3.0.2
14:30:01: Linked to wxWidgets 2.9.3
14:30:01: Running on Windows 7 (build 7601, Service Pack 1), 64-bit edition
14:30:01: Working in D:\dev\trunk\Ethernut\ethernutmix
14:30:01: Loading nut/conf/repository.nut
14:30:01: Loading nut/conf/ethernut50f.conf
14:30:02: OK
14:30:20: nut/conf/arch/cm3/stm32usart.nut:496: attempt to call upvalue 'CK_CHOICE' (a nil value)
14:31:06: Creating Makefiles for arm-gcc in nutbld
14:31:06: Creating header files in nutbld
14:31:07: OK
14:31:09: ----- Running 'make clean' -----
14:31:09: Located D:\dev\trunk\Ethernut\ethernutmix\nut\tools\win32\make.exe
14:31:16: ----- 'make clean' terminated successfully -----
14:31:16: ----- Running 'make all' -----
14:31:16: Located D:\dev\trunk\Ethernut\ethernutmix\nut\tools\win32\make.exe
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:63:20: error: unknown type name 'bigint_t'; did you mean 'bigint'?
63 | void bigint_adjust(bigint_t* a){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:83:32: error: unknown type name 'bigint_t'
83 | uint16_t bigint_length_b(const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_length_b':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:84:7: error: request for member 'length_W' in something not a structure or union
84 | if(!a->length_W || a->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:84:22: error: request for member 'length_W' in something not a structure or union
84 | if(!a->length_W || a->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:87:11: error: request for member 'length_W' in something not a structure or union
87 | return (a->length_W-1) * BIGINT_WORD_SIZE + GET_FBS(a);
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:87:27: error: 'BIGINT_WORD_SIZE' undeclared (first use in this function)
87 | return (a->length_W-1) * BIGINT_WORD_SIZE + GET_FBS(a);
| ^~~~~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:87:27: note: each undeclared identifier is reported only once for each function it appears in
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:52:26: error: request for member 'info' in something not a structure or union
52 | #define GET_FBS(a) ((a)->info&BIGINT_FBS_MASK)
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:87:46: note: in expansion of macro 'GET_FBS'
87 | return (a->length_W-1) * BIGINT_WORD_SIZE + GET_FBS(a);
| ^~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:52:33: error: 'BIGINT_FBS_MASK' undeclared (first use in this function)
52 | #define GET_FBS(a) ((a)->info&BIGINT_FBS_MASK)
| ^~~~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:87:46: note: in expansion of macro 'GET_FBS'
87 | return (a->length_W-1) * BIGINT_WORD_SIZE + GET_FBS(a);
| ^~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:92:32: error: unknown type name 'bigint_t'
92 | uint16_t bigint_length_B(const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_length_B':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:93:10: error: request for member 'length_W' in something not a structure or union
93 | return a->length_W * sizeof(bigint_word_t);
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:93:30: error: 'bigint_word_t' undeclared (first use in this function)
93 | return a->length_W * sizeof(bigint_word_t);
| ^~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:98:41: error: unknown type name 'bigint_t'
98 | uint32_t bigint_get_first_set_bit(const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_get_first_set_bit':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:99:6: error: request for member 'length_W' in something not a structure or union
99 | if(a->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:102:11: error: request for member 'length_W' in something not a structure or union
102 | return (a->length_W-1)*sizeof(bigint_word_t)*8+GET_FBS(a);
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:102:32: error: 'bigint_word_t' undeclared (first use in this function)
102 | return (a->length_W-1)*sizeof(bigint_word_t)*8+GET_FBS(a);
| ^~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:52:26: error: request for member 'info' in something not a structure or union
52 | #define GET_FBS(a) ((a)->info&BIGINT_FBS_MASK)
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:102:49: note: in expansion of macro 'GET_FBS'
102 | return (a->length_W-1)*sizeof(bigint_word_t)*8+GET_FBS(a);
| ^~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:52:33: error: 'BIGINT_FBS_MASK' undeclared (first use in this function)
52 | #define GET_FBS(a) ((a)->info&BIGINT_FBS_MASK)
| ^~~~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:102:49: note: in expansion of macro 'GET_FBS'
102 | return (a->length_W-1)*sizeof(bigint_word_t)*8+GET_FBS(a);
| ^~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:108:40: error: unknown type name 'bigint_t'
108 | uint32_t bigint_get_last_set_bit(const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_get_last_set_bit':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:111:2: error: unknown type name 'bigint_word_t'
111 | bigint_word_t x=1;
| ^~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:112:6: error: request for member 'length_W' in something not a structure or union
112 | if(a->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:115:9: error: request for member 'wordv' in something not a structure or union
115 | while(a->wordv[r]==0 && r<a->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:115:29: error: request for member 'length_W' in something not a structure or union
115 | while(a->wordv[r]==0 && r<a->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:118:6: error: request for member 'wordv' in something not a structure or union
118 | if(a->wordv[r] == 0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:121:12: error: request for member 'wordv' in something not a structure or union
121 | while((x&a->wordv[r])==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:125:11: error: 'BIGINT_WORD_SIZE' undeclared (first use in this function)
125 | return r*BIGINT_WORD_SIZE+b;
| ^~~~~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:130:18: error: unknown type name 'bigint_t'; did you mean 'bigint'?
130 | void bigint_copy(bigint_t* dest, const bigint_t* src){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:130:40: error: unknown type name 'bigint_t'
130 | void bigint_copy(bigint_t* dest, const bigint_t* src){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:139:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
139 | void bigint_add_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:139:41: error: unknown type name 'bigint_t'
139 | void bigint_add_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:139:60: error: unknown type name 'bigint_t'
139 | void bigint_add_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:167:25: error: unknown type name 'bigint_t'; did you mean 'bigint'?
167 | void bigint_add_scale_u(bigint_t* dest, const bigint_t* a, uint16_t scale){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:167:47: error: unknown type name 'bigint_t'
167 | void bigint_add_scale_u(bigint_t* dest, const bigint_t* a, uint16_t scale){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:251:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
251 | void bigint_sub_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:251:41: error: unknown type name 'bigint_t'
251 | void bigint_sub_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:251:60: error: unknown type name 'bigint_t'
251 | void bigint_sub_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:298:27: error: unknown type name 'bigint_t'
298 | int8_t bigint_cmp_u(const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:298:46: error: unknown type name 'bigint_t'
298 | int8_t bigint_cmp_u(const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_cmp_u':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:299:6: error: request for member 'length_W' in something not a structure or union
299 | if(a->length_W > b->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:299:20: error: request for member 'length_W' in something not a structure or union
299 | if(a->length_W > b->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:302:6: error: request for member 'length_W' in something not a structure or union
302 | if(a->length_W < b->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:302:20: error: request for member 'length_W' in something not a structure or union
302 | if(a->length_W < b->length_W){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:305:6: error: request for member 'length_W' in something not a structure or union
305 | if(a->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:309:7: error: request for member 'length_W' in something not a structure or union
309 | i = a->length_W-1;
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:311:7: error: request for member 'wordv' in something not a structure or union
311 | if(a->wordv[i] != b->wordv[i]){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:311:22: error: request for member 'wordv' in something not a structure or union
311 | if(a->wordv[i] != b->wordv[i]){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:312:8: error: request for member 'wordv' in something not a structure or union
312 | if(a->wordv[i] > b->wordv[i]){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:312:22: error: request for member 'wordv' in something not a structure or union
312 | if(a->wordv[i] > b->wordv[i]){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:324:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
324 | void bigint_add_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:324:41: error: unknown type name 'bigint_t'
324 | void bigint_add_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:324:60: error: unknown type name 'bigint_t'
324 | void bigint_add_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:350:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
350 | void bigint_sub_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:350:41: error: unknown type name 'bigint_t'
350 | void bigint_sub_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:350:60: error: unknown type name 'bigint_t'
350 | void bigint_sub_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:377:27: error: unknown type name 'bigint_t'
377 | int8_t bigint_cmp_s(const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:377:46: error: unknown type name 'bigint_t'
377 | int8_t bigint_cmp_s(const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_cmp_s':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:379:6: error: request for member 'length_W' in something not a structure or union
379 | if(a->length_W==0 && b->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:379:24: error: request for member 'length_W' in something not a structure or union
379 | if(a->length_W==0 && b->length_W==0){
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:60:25: error: request for member 'info' in something not a structure or union
60 | #define GET_SIGN(a) ((a)->info&BIGINT_NEG_MASK)
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:382:7: note: in expansion of macro 'GET_SIGN'
382 | s = GET_SIGN(a)?2:0;
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:60:32: error: 'BIGINT_NEG_MASK' undeclared (first use in this function); did you mean 'BIGINT_NUM_MODS'?
60 | #define GET_SIGN(a) ((a)->info&BIGINT_NEG_MASK)
| ^~~~~~~~~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:382:7: note: in expansion of macro 'GET_SIGN'
382 | s = GET_SIGN(a)?2:0;
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:60:25: error: request for member 'info' in something not a structure or union
60 | #define GET_SIGN(a) ((a)->info&BIGINT_NEG_MASK)
| ^~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:383:7: note: in expansion of macro 'GET_SIGN'
383 | s |= GET_SIGN(b)?1:0;
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: At top level:
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:405:23: error: unknown type name 'bigint_t'; did you mean 'bigint'?
405 | void bigint_shiftleft(bigint_t* a, uint16_t shift){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:441:24: error: unknown type name 'bigint_t'; did you mean 'bigint'?
441 | void bigint_shiftright(bigint_t* a, uint16_t shift){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:476:17: error: unknown type name 'bigint_t'; did you mean 'bigint'?
476 | void bigint_xor(bigint_t* dest, const bigint_t* a){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:476:39: error: unknown type name 'bigint_t'
476 | void bigint_xor(bigint_t* dest, const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:486:22: error: unknown type name 'bigint_t'; did you mean 'bigint'?
486 | void bigint_set_zero(bigint_t* a){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:494:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
494 | void bigint_mul_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:494:41: error: unknown type name 'bigint_t'
494 | void bigint_mul_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:494:60: error: unknown type name 'bigint_t'
494 | void bigint_mul_u(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:589:19: error: unknown type name 'bigint_t'; did you mean 'bigint'?
589 | void bigint_mul_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:589:41: error: unknown type name 'bigint_t'
589 | void bigint_mul_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:589:60: error: unknown type name 'bigint_t'
589 | void bigint_mul_s(bigint_t* dest, const bigint_t* a, const bigint_t* b){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:619:20: error: unknown type name 'bigint_t'; did you mean 'bigint'?
619 | void bigint_square(bigint_t* dest, const bigint_t* a){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:619:42: error: unknown type name 'bigint_t'
619 | void bigint_square(bigint_t* dest, const bigint_t* a){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:671:28: error: unknown type name 'bigint_t'; did you mean 'bigint'?
671 | void bigint_sub_u_bitscale(bigint_t* a, const bigint_t* b, uint16_t bitscale){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:671:47: error: unknown type name 'bigint_t'
671 | void bigint_sub_u_bitscale(bigint_t* a, const bigint_t* b, uint16_t bitscale){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:698:20: error: unknown type name 'bigint_t'; did you mean 'bigint'?
698 | void bigint_reduce(bigint_t* a, const bigint_t* r){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:698:39: error: unknown type name 'bigint_t'
698 | void bigint_reduce(bigint_t* a, const bigint_t* r){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:756:22: error: unknown type name 'bigint_t'; did you mean 'bigint'?
756 | void bigint_expmod_u(bigint_t* dest, const bigint_t* a, const bigint_t* exp, const bigint_t* r){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:756:44: error: unknown type name 'bigint_t'
756 | void bigint_expmod_u(bigint_t* dest, const bigint_t* a, const bigint_t* exp, const bigint_t* r){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:756:63: error: unknown type name 'bigint_t'
756 | void bigint_expmod_u(bigint_t* dest, const bigint_t* a, const bigint_t* exp, const bigint_t* r){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:756:84: error: unknown type name 'bigint_t'
756 | void bigint_expmod_u(bigint_t* dest, const bigint_t* a, const bigint_t* exp, const bigint_t* r){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:817:20: error: unknown type name 'bigint_t'; did you mean 'bigint'?
817 | void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:817:35: error: unknown type name 'bigint_t'; did you mean 'bigint'?
817 | void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:817:48: error: unknown type name 'bigint_t'; did you mean 'bigint'?
817 | void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:817:67: error: unknown type name 'bigint_t'
817 | void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:817:86: error: unknown type name 'bigint_t'
817 | void bigint_gcdext(bigint_t* gcd, bigint_t* a, bigint_t* b, const bigint_t* x, const bigint_t* y){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:947:21: error: unknown type name 'bigint_t'; did you mean 'bigint'?
947 | void bigint_inverse(bigint_t* dest, const bigint_t* a, const bigint_t* m){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:947:43: error: unknown type name 'bigint_t'
947 | void bigint_inverse(bigint_t* dest, const bigint_t* a, const bigint_t* m){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:947:62: error: unknown type name 'bigint_t'
947 | void bigint_inverse(bigint_t* dest, const bigint_t* a, const bigint_t* m){
| ^~~~~~~~
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:956:29: error: unknown type name 'bigint_t'; did you mean 'bigint'?
956 | void bigint_changeendianess(bigint_t* a){
| ^~~~~~~~
| bigint
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_length_b':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:88:1: error: control reaches end of non-void function [-Werror=return-type]
88 | }
| ^
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_length_B':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:94:1: error: control reaches end of non-void function [-Werror=return-type]
94 | }
| ^
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_get_first_set_bit':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:103:1: error: control reaches end of non-void function [-Werror=return-type]
103 | }
| ^
../../nut/contrib/arm-crypto-lib/bigint/bigint.c: In function 'bigint_get_last_set_bit':
../../nut/contrib/arm-crypto-lib/bigint/bigint.c:126:1: error: control reaches end of non-void function [-Werror=return-type]
126 | }
| ^
cc1.exe: all warnings being treated as errors
make[1]: *** [arm-crypto-lib/bigint/bigint.o] Error 1
make: *** [all] Error 2
14:35:18: ----- 'make all' failed with error 2 -----
Where is my mistake?
Best regards,
Nikolas
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von bon at elektron.ikp.physik.tu-darmstadt.de
Gesendet: Freitag, 6. Dezember 2019 10:00
An: Ethernut User Chat (English) <en-nut-discussion at egnite.de>
Betreff: Re: [En-Nut-Discussion] No rule to make ...
Nikolas Becker writes:
> Hello Uwe,
>
> I'm really sorry, I just downloaded the newest version from the ethernut page and followed the tutorial which recommends yagarto.
>
...
> 699 | GetDosTimeStamp(&fcb->f_dirent.dent_mtime, &fcb->f_dirent.dent_mdate);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> ../../nut/fs/phatfs.c:699:56: error: taking address of packed member of 'struct _PHATDIRENT' may result in an unaligned pointer value [-Werror=address-of-packed-member]
> 699 | GetDosTimeStamp(&fcb->f_dirent.dent_mtime, &fcb->f_dirent.dent_mdate);
I only noticed yesterday, that a new arm-non-eabi is available. I hit that problem too and fixed it. The fix is now upstream.
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- _______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list