=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ibutton-pdkit-2.00nb2 --- clean --- --- atod --- --- count --- --- coupler --- --- debit --- --- initcopr --- --- initrov --- --- listtag --- --- clean --- rm -f atod count coupler debit initcopr initrov list2tag mktag mweather owsensor swtloop swtoper swtsngl temp thermodl thermoms tstfind tstow tstowe --- atod --- gcc -g -o atod atodtst.c atod20.c crcutil.c ioutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- count --- gcc -g -o count counter.c ioutil.c cnt1d.c crcutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- coupler --- gcc -g -o coupler coupler.c crcutil.c ds2480ut.c findtype.c owllu.c ownetu.c owsesu.c owtrnu.c swt1f.c linuxlnk.c --- debit --- gcc -g -o debit debit.c ibsha18.c ibsha18o.c ibshaut.c ioutil.c crcutil.c ds2480ut.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- initcopr --- gcc -g -o initcopr initcopr.c ibsha18.c ibsha18o.c ibshaut.c ioutil.c crcutil.c ds2480ut.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- mktag --- --- initrov --- gcc -g -o initrov initrov.c ibsha18.c ibsha18o.c ibshaut.c ioutil.c crcutil.c ds2480ut.c owllu.c ownetu.c owsesu.c owtrnu.c linuxlnk.c --- listtag --- gcc -g -o list2tag buildtag.c list2tag.c ioutil.c printtag.c --- mktag --- gcc -g -o mktag buildtag.c mktag.c ioutil.c printtag.c --- listtag --- In file included from buildtag.c:34: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? ushort val; // object descriptor ^~~~~~ short buildtag.c:38:25: error: unexpected type name 'TAGType': expected identifier int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:33: error: expected ')' int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:16: note: to match this '(' int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:17: error: a parameter list without types is only allowed in a function definition int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:40:24: error: expected identifier int AddTAGData(ushort, void *, int, TAGType *); ^ buildtag.c:52:16: error: unknown type name 'ushort'; did you mean 'short'? int AddTAGData(ushort OD, void *data, int datalen, TAGType *TAG) ^~~~~~ short buildtag.c:52:5: error: conflicting types for 'AddTAGData' int AddTAGData(ushort OD, void *data, int datalen, TAGType *TAG) ^ buildtag.c:40:5: note: previous declaration is here int AddTAGData(ushort, void *, int, TAGType *); ^ buildtag.c:56:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong *ulongP; ^~~~~ long buildtag.c:167:17: error: unknown type name 'ushort'; did you mean 'short'? int AddTAGGroup(ushort OD, TAGType *TAG) ^~~~~~ short 9 errors generated. --- initrov --- In file included from initrov.c:35: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short --- coupler --- coupler.c:46:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setdocrc16(int,ushort); ^ --- initrov --- ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long initrov.c:43:39: error: unknown type name 'ulong'; did you mean 'long'? extern int GetRovingSettings(uchar *, ulong *); ^~~~~ long initrov.c:60:37: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int CreateRovingSHA(uchar *,uchar *,ulong,char *,TransState *); ^ initrov.c:76:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong money; ^~~~~ long --- mktag --- In file included from buildtag.c:34: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? ushort val; // object descriptor ^~~~~~ short buildtag.c:38:25: error: unexpected type name 'TAGType': expected identifier int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:33: error: expected ')' int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:16: note: to match this '(' int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:38:17: error: a parameter list without types is only allowed in a function definition int AddTAGGroup(ushort, TAGType *); ^ buildtag.c:40:24: error: expected identifier int AddTAGData(ushort, void *, int, TAGType *); ^ --- atod --- atodtst.c:141:44: warning: data argument not used by format string [-Wformat-extra-args] printf("A/D settings found\n", msg); ~~~~~~~~~~~~~~~~~~~~~~ ^ --- coupler --- coupler.c:47:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort dodocrc16(int,ushort); ^~~~~~ short coupler.c:47:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort dodocrc16(int,ushort); ^ --- initrov --- initrov.c:162:42: warning: passing 'uchar [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!GetSeviceProviderSettings(FALSE, ts.provider, auth_secret, FALSE, dmmy)) ^~~~~~~~~~~ initrov.c:42:48: note: passing argument to parameter here extern int GetSeviceProviderSettings(int,char *,uchar *,int,uchar *); ^ initrov.c:169:12: warning: passing 'uchar [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(rov_information,"no info"); ^~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- mktag --- buildtag.c:52:16: error: unknown type name 'ushort'; did you mean 'short'? int AddTAGData(ushort OD, void *data, int datalen, TAGType *TAG) ^~~~~~ short buildtag.c:52:5: error: conflicting types for 'AddTAGData' int AddTAGData(ushort OD, void *data, int datalen, TAGType *TAG) ^ buildtag.c:40:5: note: previous declaration is here int AddTAGData(ushort, void *, int, TAGType *); ^ buildtag.c:56:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong *ulongP; ^~~~~ long buildtag.c:167:17: error: unknown type name 'ushort'; did you mean 'short'? int AddTAGGroup(ushort OD, TAGType *TAG) ^~~~~~ short 9 errors generated. --- coupler --- 2 warnings and 1 error generated. --- initrov --- initrov.c:215:65: error: unknown type name 'ulong'; did you mean 'long'? int CreateRovingSHA(uchar *auth_secret, uchar *rov_information, ulong money, ^~~~~ long initrov.c:215:5: error: conflicting types for 'CreateRovingSHA' int CreateRovingSHA(uchar *auth_secret, uchar *rov_information, ulong money, ^ initrov.c:60:5: note: previous declaration is here int CreateRovingSHA(uchar *,uchar *,ulong,char *,TransState *); ^ initrov.c:219:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long --- atod --- 1 warning generated. --- initrov --- 3 warnings and 11 errors generated. --- listtag --- In file included from list2tag.c:33: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? ushort val; // object descriptor ^~~~~~ short list2tag.c:48:32: error: unexpected type name 'TAGType': expected identifier extern int AddTAGGroup(ushort, TAGType *); ^ list2tag.c:48:40: error: expected ')' extern int AddTAGGroup(ushort, TAGType *); ^ list2tag.c:48:23: note: to match this '(' extern int AddTAGGroup(ushort, TAGType *); ^ list2tag.c:48:24: error: a parameter list without types is only allowed in a function definition extern int AddTAGGroup(ushort, TAGType *); ^ list2tag.c:50:31: error: expected identifier extern int AddTAGData(ushort, void *, int, TAGType *); ^ list2tag.c:71:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long 6 errors generated. --- debit --- In file included from debit.c:34: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long debit.c:265:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long debit.c:288:61: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] mcnt += sprintf(msg + mcnt,"| Transaction time: %d ms\n",time_stamp); ~~ ^~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ debit.c:369:69: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(msg,"** New money value set (debit of %d)\n",-amount); ~~ ^~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ debit.c:341:30: warning: result of comparison of constant 35656 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (ec.code_mult != 0x8B48) ~~~~~~~~~~~~ ^ ~~~~~~ 3 warnings and 7 errors generated. --- count --- counter.c:51:40: error: unknown type name 'ulong'; did you mean 'long'? extern int ReadCounter(int,uchar *,int,ulong *); ^~~~~ long counter.c:69:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong Count; ^~~~~ long counter.c:128:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf(" %10d ", Count); ~~~~ ^~~~~ %10ld 1 warning and 2 errors generated. --- mktag --- In file included from mktag.c:33: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? ushort val; // object descriptor ^~~~~~ short mktag.c:48:32: error: unexpected type name 'TAGType': expected identifier extern int AddTAGGroup(ushort, TAGType *); ^ mktag.c:48:40: error: expected ')' extern int AddTAGGroup(ushort, TAGType *); ^ mktag.c:48:23: note: to match this '(' extern int AddTAGGroup(ushort, TAGType *); ^ mktag.c:48:24: error: a parameter list without types is only allowed in a function definition extern int AddTAGGroup(ushort, TAGType *); ^ mktag.c:50:31: error: expected identifier extern int AddTAGData(ushort, void *, int, TAGType *); ^ mktag.c:53:34: error: unknown type name 'ulong'; did you mean 'long'? extern int EnterHex(char *, int, ulong *); ^~~~~ long mktag.c:74:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long mktag.c:138:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Tag Type: %d\n\n",tagtype); ~~ ^~~~~~~ %ld mktag.c:407:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Incorrect tag type %d\n",tagtype); ~~ ^~~~~~~ %ld 2 warnings and 7 errors generated. --- atod --- atod20.c:48:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ atod20.c:49:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short atod20.c:49:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ atod20.c:125:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:173:28: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if ((lastcrc16 != 0xB001) || ~~~~~~~~~ ^ ~~~~~~ atod20.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:242:24: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (lastcrc16 != 0xB001) ~~~~~~~~~ ^ ~~~~~~ atod20.c:281:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong templong; ^~~~~ long atod20.c:285:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short atod20.c:317:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ 5 warnings and 5 errors generated. --- initrov --- In file included from ibsha18.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short --- coupler --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ --- initrov --- ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long --- coupler --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ --- initrov --- ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short --- listtag --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? --- coupler --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ --- initrov --- ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long ibsha18.c:394:31: error: unknown type name 'ushort'; did you mean 'short'? extern int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18.c:395:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18.c:396:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int CopyScratchSHA(int,ushort,int); ^ ibsha18.c:397:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18.c:398:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadPageUDP(int,ushort,uchar *); ^ --- listtag --- int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- coupler --- 2 warnings and 7 errors generated. --- initrov --- ibsha18.c:399:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ComputeSHA(int,ushort,uchar); ^ ibsha18.c:401:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int FormatUDP(int,ushort,uchar *,int *); ^ ibsha18.c:402:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibsha18.c:404:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ ibsha18.c:405:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18.c:405:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18.c:418:38: error: unexpected type name 'uchar': expected identifier static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:44: error: expected ')' static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:29: note: to match this '(' static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:30: error: a parameter list without types is only allowed in a function definition static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ --- count --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- debit --- In file included from ibsha18.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long --- initrov --- ibsha18.c:810:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong tcnt; ^~~~~ long ibsha18.c:814:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- count --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long --- debit --- ibsha18.c:394:31: error: unknown type name 'ushort'; did you mean 'short'? extern int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18.c:395:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18.c:396:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int CopyScratchSHA(int,ushort,int); ^ ibsha18.c:397:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18.c:398:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadPageUDP(int,ushort,uchar *); ^ ibsha18.c:399:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ComputeSHA(int,ushort,uchar); ^ --- initcopr --- In file included from initcopr.c:35: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long initcopr.c:137:40: warning: passing 'uchar [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- initrov --- ibsha18.c:1193:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1201:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' --- debit --- ibsha18.c:401:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int FormatUDP(int,ushort,uchar *,int *); ^ ibsha18.c:402:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibsha18.c:404:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ ibsha18.c:405:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18.c:405:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18.c:418:38: error: unexpected type name 'uchar': expected identifier static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:44: error: expected ')' --- initcopr --- if (!GetSeviceProviderSettings(TRUE,ts.provider,auth_secret,TRUE, money_secret)) ^~~~~~~~~~~ initcopr.c:40:48: note: passing argument to parameter here extern int GetSeviceProviderSettings(int,char *,uchar *,int,uchar *); ^ initcopr.c:141:12: warning: passing 'uchar [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(flname,"%s",ts.copr_file); // first 4 letters, service name ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ initcopr.c:142:12: warning: passing 'uchar [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf,"%s",ts.provider); --- initrov --- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1209:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1217:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld --- debit --- static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:29: note: to match this '(' static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:30: error: a parameter list without types is only allowed in a function definition static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ --- initcopr --- ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ initcopr.c:145:4: warning: array index 6 is past the end of the array (which contains 6 elements) [-Warray-bounds] buf[6] = ts.c_amaster_scrt; // auth master secret number ^ ~ initcopr.c:65:4: note: array 'buf' declared here uchar buf[6],flname[6],page_map[1]; ^ initcopr.c:146:4: warning: array index 7 is past the end of the array (which contains 6 elements) [-Warray-bounds] buf[7] = ts.c_udevice_scrt; // unique device secret(calculated) ^ ~ initcopr.c:65:4: note: array 'buf' declared here uchar buf[6],flname[6],page_map[1]; ^ 5 warnings and 6 errors generated. --- initrov --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1225:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1232:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x100 + (ushort)(ts->target_secret * 0x20); ^~~~~~ short ibsha18.c:1232:33: error: use of undeclared identifier 'ushort' ibsha18.c:1248:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x200 + (ushort)(ts->target_secret * 0x08); ^~~~~~ short ibsha18.c:1248:33: error: use of undeclared identifier 'ushort' ibsha18.c:1636:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? if (!ReadUDP_SHA(portnum,(ushort)(dirpg << 5), pgbuf, &pglen)) ^~~~~~ short ibsha18.c:1636:33: error: use of undeclared identifier 'ushort' fatal error: too many errors emitted, stopping now [-ferror-limit=] 14 warnings and 20 errors generated. --- count --- 2 warnings and 1 error generated. --- debit --- ibsha18.c:810:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong tcnt; ^~~~~ long ibsha18.c:814:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- mktag --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? --- atod --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ --- mktag --- int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long --- atod --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ --- debit --- ibsha18.c:1193:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1201:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1209:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' --- atod --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ --- debit --- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- mktag --- 2 warnings and 1 error generated. --- atod --- crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- debit --- ibsha18.c:1217:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1225:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1232:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x100 + (ushort)(ts->target_secret * 0x20); ^~~~~~ short ibsha18.c:1232:33: error: use of undeclared identifier 'ushort' ibsha18.c:1248:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x200 + (ushort)(ts->target_secret * 0x08); ^~~~~~ short ibsha18.c:1248:33: error: use of undeclared identifier 'ushort' --- initcopr --- In file included from ibsha18.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long --- listtag --- In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? ushort val; // object descriptor ^~~~~~ short ./tagtext.h:78:8: warning: implicit conversion from 'int' to 'short' changes value from 33145 to -32391 [-Wconstant-conversion] {DD_AccessStatus,"AccessStatus"}, ~^~~~~~~~~~~~~~~ ./objects.h:4:25: note: expanded from macro 'DD_AccessStatus' #define DD_AccessStatus 33145 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:80:8: warning: implicit conversion from 'int' to 'short' changes value from 62057 to -3479 [-Wconstant-conversion] {DD_AppState,"AppState"}, ~^~~~~~~~~~~ ./objects.h:6:21: note: expanded from macro 'DD_AppState' #define DD_AppState 62057 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: --- initcopr --- ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long --- listtag --- ./tagtext.h:91:8: warning: implicit conversion from 'int' to 'short' changes value from 33121 to -32415 [-Wconstant-conversion] {DD_DoorProfile,"DoorProfile"}, ~^~~~~~~~~~~~~~ ./objects.h:46:24: note: expanded from macro 'DD_DoorProfile' #define DD_DoorProfile 33121 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:92:8: warning: implicit conversion from 'int' to 'short' changes value from 33377 to -32159 [-Wconstant-conversion] {DD_DoorSchedule,"DoorSchedule"}, ~^~~~~~~~~~~~~~~ ./objects.h:47:25: note: expanded from macro 'DD_DoorSchedule' #define DD_DoorSchedule 33377 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:113:8: warning: implicit conversion from 'int' to 'short' changes value from 37218 to -28318 [-Wconstant-conversion] {DD_IndexTime,"IndexTime"}, ~^~~~~~~~~~~~ ./objects.h:78:22: note: expanded from macro 'DD_IndexTime' #define DD_IndexTime 37218 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:127:8: warning: implicit conversion from 'int' to 'short' changes value from 37474 to -28062 [-Wconstant-conversion] {DD_NumPauses,"NumPauses"}, ~^~~~~~~~~~~~ ./objects.h:98:22: note: expanded from macro 'DD_NumPauses' #define DD_NumPauses 37474 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:134:8: warning: implicit conversion from 'int' to 'short' changes value from 37730 to -27806 [-Wconstant-conversion] {DD_PauseTime,"PauseTime"}, ~^~~~~~~~~~~~ ./objects.h:106:22: note: expanded from macro 'DD_PauseTime' #define DD_PauseTime 37730 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:149:8: warning: implicit conversion from 'int' to 'short' changes value from 39682 to -25854 [-Wconstant-conversion] {DD_RTrackSequence,"RTrackSequence"}, ~^~~~~~~~~~~~~~~~~ ./objects.h:124:27: note: expanded from macro 'DD_RTrackSequence' #define DD_RTrackSequence 39682 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:159:8: warning: implicit conversion from 'int' to 'short' changes value from 39426 to -26110 [-Wconstant-conversion] {DD_StateSequence,"StateSequence"}, ~^~~~~~~~~~~~~~~~ ./objects.h:137:26: note: expanded from macro 'DD_StateSequence' #define DD_StateSequence 39426 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:163:8: warning: implicit conversion from 'int' to 'short' changes value from 33129 to -32407 [-Wconstant-conversion] {DD_StrikePol,"StrikePol"}, ~^~~~~~~~~~~~ ./objects.h:141:22: note: expanded from macro 'DD_StrikePol' #define DD_StrikePol 33129 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:164:8: warning: implicit conversion from 'int' to 'short' changes value from 33122 to -32414 [-Wconstant-conversion] {DD_StrikeTime,"StrikeTime"}, ~^~~~~~~~~~~~~ ./objects.h:142:23: note: expanded from macro 'DD_StrikeTime' #define DD_StrikeTime 33122 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:165:8: warning: implicit conversion from 'int' to 'short' changes value from 61801 to -3735 [-Wconstant-conversion] {DD_SysFlags,"SysFlags"}, ~^~~~~~~~~~~ ./objects.h:143:21: note: expanded from macro 'DD_SysFlags' #define DD_SysFlags 61801 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:174:8: warning: implicit conversion from 'int' to 'short' changes value from 40194 to -25342 [-Wconstant-conversion] {DD_TestDataSequence,"TestDataSequence"}, ~^~~~~~~~~~~~~~~~~~~ ./objects.h:153:29: note: expanded from macro 'DD_TestDataSequence' #define DD_TestDataSequence 40194 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:181:8: warning: implicit conversion from 'int' to 'short' changes value from 36962 to -28574 [-Wconstant-conversion] {DD_TestTime,"TestTime"}, ~^~~~~~~~~~~ ./objects.h:161:21: note: expanded from macro 'DD_TestTime' #define DD_TestTime 36962 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:182:8: warning: implicit conversion from 'int' to 'short' changes value from 63104 to -2432 [-Wconstant-conversion] {DD_TimeCalibrate,"TimeCalibrate"}, ~^~~~~~~~~~~~~~~~ ./objects.h:162:26: note: expanded from macro 'DD_TimeCalibrate' #define DD_TimeCalibrate 63104 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:203:8: warning: implicit conversion from 'int' to 'short' changes value from 39938 to -25598 [-Wconstant-conversion] {DD_WTrackSequence,"WTrackSequence"}, ~^~~~~~~~~~~~~~~~~ ./objects.h:189:27: note: expanded from macro 'DD_WTrackSequence' #define DD_WTrackSequence 39938 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:208:8: warning: implicit conversion from 'int' to 'short' changes value from 33666 to -31870 [-Wconstant-conversion] {GD_ACXAddKey,"ACXAddKey"}, ~^~~~~~~~~~~~ ./objects.h:194:22: note: expanded from macro 'GD_ACXAddKey' #define GD_ACXAddKey 33666 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:210:8: warning: implicit conversion from 'int' to 'short' changes value from 33922 to -31614 [-Wconstant-conversion] {GD_ACXDelKey,"ACXDelKey"}, ~^~~~~~~~~~~~ ./objects.h:196:22: note: expanded from macro 'GD_ACXDelKey' #define GD_ACXDelKey 33922 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:211:8: warning: implicit conversion from 'int' to 'short' changes value from 35714 to -29822 [-Wconstant-conversion] {GD_ACXDoorClosed,"ACXDoorClosed"}, ~^~~~~~~~~~~~~~~~ ./objects.h:197:26: note: expanded from macro 'GD_ACXDoorClosed' #define GD_ACXDoorClosed 35714 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:212:8: warning: implicit conversion from 'int' to 'short' changes value from 35458 to -30078 [-Wconstant-conversion] {GD_ACXDOorOpened,"ACXDOorOpened"}, ~^~~~~~~~~~~~~~~~ ./objects.h:198:26: note: expanded from macro 'GD_ACXDOorOpened' #define GD_ACXDOorOpened 35458 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:213:8: warning: implicit conversion from 'int' to 'short' changes value from 33410 to -32126 [-Wconstant-conversion] {GD_ACXGranted,"ACXGranted"}, ~^~~~~~~~~~~~~ ./objects.h:199:23: note: expanded from macro 'GD_ACXGranted' #define GD_ACXGranted 33410 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:214:8: warning: implicit conversion from 'int' to 'short' changes value from 35202 to -30334 [-Wconstant-conversion] {GD_ACXHoldOpenAlarm,"ACXHoldOpenAlarm"}, ~^~~~~~~~~~~~~~~~~~~ ./objects.h:200:29: note: expanded from macro 'GD_ACXHoldOpenAlarm' #define GD_ACXHoldOpenAlarm 35202 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:215:8: warning: implicit conversion from 'int' to 'short' changes value from 34690 to -30846 [-Wconstant-conversion] {GD_ACXLockFail,"ACXLockFail"}, ~^~~~~~~~~~~~~~ ./objects.h:201:24: note: expanded from macro 'GD_ACXLockFail' #define GD_ACXLockFail 34690 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:216:8: warning: implicit conversion from 'int' to 'short' changes value from 34178 to -31358 [-Wconstant-conversion] {GD_ACXOpenDoor,"ACXOpenDoor"}, ~^~~~~~~~~~~~~~ ./objects.h:202:24: note: expanded from macro 'GD_ACXOpenDoor' #define GD_ACXOpenDoor 34178 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:217:8: warning: implicit conversion from 'int' to 'short' changes value from 34434 to -31102 [-Wconstant-conversion] {GD_ACXPurgeList,"ACXPurgeList"}, ~^~~~~~~~~~~~~~~ ./objects.h:203:25: note: expanded from macro 'GD_ACXPurgeList' #define GD_ACXPurgeList 34434 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:218:8: warning: implicit conversion from 'int' to 'short' changes value from 33154 to -32382 [-Wconstant-conversion] {GD_ACXRefused,"ACXRefused"}, ~^~~~~~~~~~~~~ ./objects.h:204:23: note: expanded from macro 'GD_ACXRefused' #define GD_ACXRefused 33154 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:220:8: warning: implicit conversion from 'int' to 'short' changes value from 61824 to -3712 [-Wconstant-conversion] {GD_ColdBoot,"ColdBoot"}, ~^~~~~~~~~~~ ./objects.h:217:21: note: expanded from macro 'GD_ColdBoot' #define GD_ColdBoot 61824 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:221:8: warning: implicit conversion from 'int' to 'short' changes value from 34946 to -30590 [-Wconstant-conversion] {GD_DoAlphaPage,"DoAlphaPage"}, ~^~~~~~~~~~~~~~ ./objects.h:218:24: note: expanded from macro 'GD_DoAlphaPage' #define GD_DoAlphaPage 34946 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:222:8: warning: implicit conversion from 'int' to 'short' changes value from 62592 to -2944 [-Wconstant-conversion] {GD_ExecMode,"ExecMode"}, ~^~~~~~~~~~~ ./objects.h:219:21: note: expanded from macro 'GD_ExecMode' #define GD_ExecMode 62592 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:247:8: warning: implicit conversion from 'int' to 'short' changes value from 53186 to -12350 [-Wconstant-conversion] --- debit --- ibsha18.c:1636:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? if (!ReadUDP_SHA(portnum,(ushort)(dirpg << 5), pgbuf, &pglen)) ^~~~~~ short ibsha18.c:1636:33: error: use of undeclared identifier 'ushort' fatal error: too many errors emitted, stopping now [-ferror-limit=] 14 warnings and 20 errors generated. --- initcopr --- ibsha18.c:394:31: error: unknown type name 'ushort'; did you mean 'short'? extern int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18.c:395:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18.c:396:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int CopyScratchSHA(int,ushort,int); ^ ibsha18.c:397:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18.c:398:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadPageUDP(int,ushort,uchar *); ^ ibsha18.c:399:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- initrov --- In file included from ibsha18o.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short --- listtag --- {GD_ParseData,"ParseData"}, ~^~~~~~~~~~~~ ./objects.h:250:22: note: expanded from macro 'GD_ParseData' #define GD_ParseData 53186 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:251:8: warning: implicit conversion from 'int' to 'short' changes value from 62848 to -2688 [-Wconstant-conversion] {GD_ReplaceBOS,"ReplaceBOS"}, ~^~~~~~~~~~~~~ ./objects.h:255:23: note: expanded from macro 'GD_ReplaceBOS' #define GD_ReplaceBOS 62848 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:255:8: warning: implicit conversion from 'int' to 'short' changes value from 62336 to -3200 [-Wconstant-conversion] {GD_SafeMode,"SafeMode"}, ~^~~~~~~~~~~ ./objects.h:259:21: note: expanded from macro 'GD_SafeMode' #define GD_SafeMode 62336 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: --- initcopr --- extern int ComputeSHA(int,ushort,uchar); ^ ibsha18.c:401:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- initrov --- ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long --- listtag --- ./tagtext.h:270:8: warning: implicit conversion from 'int' to 'short' changes value from 62080 to -3456 [-Wconstant-conversion] {GD_WarmBoot,"WarmBoot"}, ~^~~~~~~~~~~ ./objects.h:280:21: note: expanded from macro 'GD_WarmBoot' #define GD_WarmBoot 62080 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:285:8: warning: implicit conversion from 'int' to 'short' changes value from 32898 to -32638 [-Wconstant-conversion] {GD_AuthenticateGroup,"AuthenticateGroup"}, ~^~~~~~~~~~~~~~~~~~~~ ./objects.h:212:30: note: expanded from macro 'GD_AuthenticateGroup' #define GD_AuthenticateGroup 32898 ^~~~~ printtag.c:42:29: error: unexpected type name 'uchar': expected identifier int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:42:35: error: expected ')' int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ --- initcopr --- extern int FormatUDP(int,ushort,uchar *,int *); ^ ibsha18.c:402:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); --- listtag --- printtag.c:42:20: note: to match this '(' int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:42:21: error: a parameter list without types is only allowed in a function definition int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:43:30: error: expected identifier int TAGGroupToString(ushort, int, int, char *, int); ^ printtag.c:44:30: error: expected identifier int MessageTAGLookUp(ushort, char *); ^ --- initcopr --- ^ ibsha18.c:404:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- initrov --- ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short --- listtag --- printtag.c:59:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort OD; ^~~~~~ short --- initcopr --- ibsha18.c:405:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18.c:405:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18.c:418:38: error: unexpected type name 'uchar': expected identifier static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:44: error: expected ')' --- initrov --- ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long ibsha18o.c:45:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ ibsha18o.c:46:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18o.c:46:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18o.c:56:24: error: unknown type name 'ushort'; did you mean 'short'? int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18o.c:57:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:58:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int CopyScratchSHA(int,ushort,int); --- initcopr --- static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ --- initrov --- ^ ibsha18o.c:59:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18o.c:60:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibsha18o.c:61:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int WriteUDP_SHA(int,ushort,uchar *,int); ^ ibsha18o.c:62:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ComputeSHA(int,ushort, uchar); ^ ibsha18o.c:64:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int FormatUDP(int,ushort,uchar *,int *); ^ --- initcopr --- ibsha18.c:418:29: note: to match this '(' static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:418:30: error: a parameter list without types is only allowed in a function definition --- listtag --- printtag.c:106:14: error: use of undeclared identifier 'ushort'; did you mean 'short'? OD |= (ushort)(TAG->msg[TAG->parse++] << 8); ^~~~~~ short printtag.c:106:14: error: use of undeclared identifier 'ushort' printtag.c:141:21: error: unknown type name 'ushort'; did you mean 'short'? int TAGDataToString(ushort OD, uchar *payload, int depth, int simple, ^~~~~~ short printtag.c:146:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long --- initcopr --- static int Make_eCertificate(ushort, uchar *, eCertificate *, TransState *); ^ ibsha18.c:810:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong tcnt; ^~~~~ long --- initrov --- ibsha18o.c:143:33: error: unknown type name 'ushort'; did you mean 'short'? int ReadScratchSHA(int portnum, ushort *address, uchar *es, uchar *data) ^~~~~~ short ibsha18o.c:148:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:178:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:205:34: error: unknown type name 'ushort'; did you mean 'short'? int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^~~~~~ short ibsha18o.c:205:5: error: conflicting types for 'WriteScratchSHA' int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^ ibsha18o.c:57:5: note: previous declaration is here int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:254:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:278:33: error: unknown type name 'ushort'; did you mean 'short'? int CopyScratchSHA(int portnum, ushort address, int len) ^~~~~~ short ibsha18o.c:278:5: error: conflicting types for 'CopyScratchSHA' int CopyScratchSHA(int portnum, ushort address, int len) ^ ibsha18o.c:58:5: note: previous declaration is here int CopyScratchSHA(int,ushort,int); ^ ibsha18o.c:333:34: error: unknown type name 'ushort'; did you mean 'short'? int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^~~~~~ short ibsha18o.c:333:5: error: conflicting types for 'ReadAuthPageSHA' int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^ ibsha18o.c:59:5: note: previous declaration is here int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18o.c:338:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:374:24: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (lastcrc16 != 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:408:30: error: unknown type name 'ushort'; did you mean 'short'? int ReadUDP_SHA(int portnum, ushort address, uchar *page_data, int *length) ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 12 warnings and 20 errors generated. --- initcopr --- ibsha18.c:814:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ --- listtag --- printtag.c:185:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msgcnt += sprintf(msg + msgcnt," %d",ul); ~~ ^~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- initcopr --- short --- listtag --- printtag.c:194:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msgcnt += sprintf(msg + msgcnt," %d",ul); ~~ ^~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ printtag.c:252:22: error: unknown type name 'ushort'; did you mean 'short'? int TAGGroupToString(ushort OD, int depth, int simple, char *pmsg, int msgmax) ^~~~~~ short printtag.c:252:5: error: conflicting types for 'TAGGroupToString' int TAGGroupToString(ushort OD, int depth, int simple, char *pmsg, int msgmax) ^ printtag.c:43:5: note: previous declaration is here int TAGGroupToString(ushort, int, int, char *, int); ^ printtag.c:318:22: error: unknown type name 'ushort'; did you mean 'short'? int MessageTAGLookUp(ushort OD, char *pmsg) ^~~~~~ short printtag.c:318:5: error: conflicting types for 'MessageTAGLookUp' int MessageTAGLookUp(ushort OD, char *pmsg) ^ printtag.c:44:5: note: previous declaration is here int MessageTAGLookUp(ushort, char *); ^ --- count --- cnt1d.c:39:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- listtag --- printtag.c:321:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort TOD; ^~~~~~ short printtag.c:329:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(pmsg,TAGMsgs[cnt].msg); ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ printtag.c:329:23: note: treat the string as an argument to avoid this --- count --- cnt1d.c:40:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short cnt1d.c:40:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ --- listtag --- sprintf(pmsg,TAGMsgs[cnt].msg); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- count --- cnt1d.c:45:33: error: unknown type name 'ulong'; did you mean 'long'? int ReadCounter(int,uchar *,int,ulong *); ^~~~~ long --- listtag --- printtag.c:339:11: error: use of undeclared identifier 'ushort'; did you mean 'short'? TOD = (ushort)(OD & DOD_MASK); ^~~~~~ short printtag.c:339:11: error: use of undeclared identifier 'ushort' printtag.c:352:11: error: use of undeclared identifier 'ushort'; did you mean 'short'? TOD = (ushort)(OD & DOM_MASK); ^~~~~~ short --- count --- cnt1d.c:61:5: error: conflicting types for 'ReadCounter' int ReadCounter(int portnum, uchar SerialNum[8], int CounterPage, ^ cnt1d.c:45:5: note: previous declaration is here int ReadCounter(int,uchar *,int,ulong *); ^ --- listtag --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 37 warnings and 20 errors generated. --- count --- cnt1d.c:67:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short cnt1d.c:84:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(address & 0xFF)); ^~~~~~ short cnt1d.c:84:24: error: use of undeclared identifier 'ushort' cnt1d.c:86:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(address >> 8)); ^~~~~~ short cnt1d.c:86:24: error: use of undeclared identifier 'ushort' cnt1d.c:99:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ 3 warnings and 8 errors generated. --- initcopr --- ibsha18.c:1193:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1201:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1209:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1217:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1225:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(statusmsg,"Target secret %d",ts->target_secret); ~~ ^~~~~~~~~~~~~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ibsha18.c:1232:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x100 + (ushort)(ts->target_secret * 0x20); ^~~~~~ short ibsha18.c:1232:33: error: use of undeclared identifier 'ushort' --- listtag --- *** [listtag] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- initcopr --- ibsha18.c:1248:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? ts->address = 0x200 + (ushort)(ts->target_secret * 0x08); ^~~~~~ short ibsha18.c:1248:33: error: use of undeclared identifier 'ushort' --- mktag --- In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:38:4: error: unknown type name 'ushort'; did you mean 'short'? --- atod --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- mktag --- ushort val; // object descriptor ^~~~~~ short --- atod --- ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- mktag --- ./tagtext.h:78:8: warning: implicit conversion from 'int' to 'short' changes value from 33145 to -32391 [-Wconstant-conversion] {DD_AccessStatus,"AccessStatus"}, ~^~~~~~~~~~~~~~~ ./objects.h:4:25: note: expanded from macro 'DD_AccessStatus' #define DD_AccessStatus 33145 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:80:8: warning: implicit conversion from 'int' to 'short' changes value from 62057 to -3479 [-Wconstant-conversion] {DD_AppState,"AppState"}, --- atod --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld --- mktag --- ~^~~~~~~~~~~ ./objects.h:6:21: note: expanded from macro 'DD_AppState' #define DD_AppState 62057 --- atod --- ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ --- mktag --- ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:91:8: warning: implicit conversion from 'int' to 'short' changes value from 33121 to -32415 [-Wconstant-conversion] --- atod --- long --- mktag --- {DD_DoorProfile,"DoorProfile"}, ~^~~~~~~~~~~~~~ ./objects.h:46:24: note: expanded from macro 'DD_DoorProfile' #define DD_DoorProfile 33121 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:92:8: warning: implicit conversion from 'int' to 'short' changes value from 33377 to -32159 [-Wconstant-conversion] {DD_DoorSchedule,"DoorSchedule"}, ~^~~~~~~~~~~~~~~ ./objects.h:47:25: note: expanded from macro 'DD_DoorSchedule' #define DD_DoorSchedule 33377 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:113:8: warning: implicit conversion from 'int' to 'short' changes value from 37218 to -28318 [-Wconstant-conversion] {DD_IndexTime,"IndexTime"}, ~^~~~~~~~~~~~ ./objects.h:78:22: note: expanded from macro 'DD_IndexTime' #define DD_IndexTime 37218 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:127:8: warning: implicit conversion from 'int' to 'short' changes value from 37474 to -28062 [-Wconstant-conversion] --- atod --- 2 warnings and 1 error generated. --- initcopr --- ibsha18.c:1636:33: error: use of undeclared identifier 'ushort'; did you mean 'short'? if (!ReadUDP_SHA(portnum,(ushort)(dirpg << 5), pgbuf, &pglen)) ^~~~~~ short ibsha18.c:1636:33: error: use of undeclared identifier 'ushort' fatal error: too many errors emitted, stopping now [-ferror-limit=] 14 warnings and 20 errors generated. --- mktag --- {DD_NumPauses,"NumPauses"}, ~^~~~~~~~~~~~ ./objects.h:98:22: note: expanded from macro 'DD_NumPauses' #define DD_NumPauses 37474 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:134:8: warning: implicit conversion from 'int' to 'short' changes value from 37730 to -27806 [-Wconstant-conversion] {DD_PauseTime,"PauseTime"}, ~^~~~~~~~~~~~ ./objects.h:106:22: note: expanded from macro 'DD_PauseTime' #define DD_PauseTime 37730 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:149:8: warning: implicit conversion from 'int' to 'short' changes value from 39682 to -25854 [-Wconstant-conversion] {DD_RTrackSequence,"RTrackSequence"}, ~^~~~~~~~~~~~~~~~~ ./objects.h:124:27: note: expanded from macro 'DD_RTrackSequence' #define DD_RTrackSequence 39682 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:159:8: warning: implicit conversion from 'int' to 'short' changes value from 39426 to -26110 [-Wconstant-conversion] {DD_StateSequence,"StateSequence"}, ~^~~~~~~~~~~~~~~~ ./objects.h:137:26: note: expanded from macro 'DD_StateSequence' #define DD_StateSequence 39426 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:163:8: warning: implicit conversion from 'int' to 'short' changes value from 33129 to -32407 [-Wconstant-conversion] {DD_StrikePol,"StrikePol"}, ~^~~~~~~~~~~~ ./objects.h:141:22: note: expanded from macro 'DD_StrikePol' #define DD_StrikePol 33129 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:164:8: warning: implicit conversion from 'int' to 'short' changes value from 33122 to -32414 [-Wconstant-conversion] {DD_StrikeTime,"StrikeTime"}, ~^~~~~~~~~~~~~ ./objects.h:142:23: note: expanded from macro 'DD_StrikeTime' #define DD_StrikeTime 33122 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:165:8: warning: implicit conversion from 'int' to 'short' changes value from 61801 to -3735 [-Wconstant-conversion] {DD_SysFlags,"SysFlags"}, ~^~~~~~~~~~~ ./objects.h:143:21: note: expanded from macro 'DD_SysFlags' #define DD_SysFlags 61801 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:174:8: warning: implicit conversion from 'int' to 'short' changes value from 40194 to -25342 [-Wconstant-conversion] {DD_TestDataSequence,"TestDataSequence"}, ~^~~~~~~~~~~~~~~~~~~ ./objects.h:153:29: note: expanded from macro 'DD_TestDataSequence' #define DD_TestDataSequence 40194 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:181:8: warning: implicit conversion from 'int' to 'short' changes value from 36962 to -28574 [-Wconstant-conversion] {DD_TestTime,"TestTime"}, ~^~~~~~~~~~~ ./objects.h:161:21: note: expanded from macro 'DD_TestTime' #define DD_TestTime 36962 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:182:8: warning: implicit conversion from 'int' to 'short' changes value from 63104 to -2432 [-Wconstant-conversion] {DD_TimeCalibrate,"TimeCalibrate"}, ~^~~~~~~~~~~~~~~~ ./objects.h:162:26: note: expanded from macro 'DD_TimeCalibrate' #define DD_TimeCalibrate 63104 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:203:8: warning: implicit conversion from 'int' to 'short' changes value from 39938 to -25598 [-Wconstant-conversion] {DD_WTrackSequence,"WTrackSequence"}, ~^~~~~~~~~~~~~~~~~ ./objects.h:189:27: note: expanded from macro 'DD_WTrackSequence' #define DD_WTrackSequence 39938 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:208:8: warning: implicit conversion from 'int' to 'short' changes value from 33666 to -31870 [-Wconstant-conversion] {GD_ACXAddKey,"ACXAddKey"}, ~^~~~~~~~~~~~ ./objects.h:194:22: note: expanded from macro 'GD_ACXAddKey' #define GD_ACXAddKey 33666 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:210:8: warning: implicit conversion from 'int' to 'short' changes value from 33922 to -31614 [-Wconstant-conversion] {GD_ACXDelKey,"ACXDelKey"}, ~^~~~~~~~~~~~ ./objects.h:196:22: note: expanded from macro 'GD_ACXDelKey' #define GD_ACXDelKey 33922 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:211:8: warning: implicit conversion from 'int' to 'short' changes value from 35714 to -29822 [-Wconstant-conversion] {GD_ACXDoorClosed,"ACXDoorClosed"}, ~^~~~~~~~~~~~~~~~ ./objects.h:197:26: note: expanded from macro 'GD_ACXDoorClosed' #define GD_ACXDoorClosed 35714 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:212:8: warning: implicit conversion from 'int' to 'short' changes value from 35458 to -30078 [-Wconstant-conversion] {GD_ACXDOorOpened,"ACXDOorOpened"}, ~^~~~~~~~~~~~~~~~ ./objects.h:198:26: note: expanded from macro 'GD_ACXDOorOpened' #define GD_ACXDOorOpened 35458 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:213:8: warning: implicit conversion from 'int' to 'short' changes value from 33410 to -32126 [-Wconstant-conversion] {GD_ACXGranted,"ACXGranted"}, ~^~~~~~~~~~~~~ ./objects.h:199:23: note: expanded from macro 'GD_ACXGranted' #define GD_ACXGranted 33410 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:214:8: warning: implicit conversion from 'int' to 'short' changes value from 35202 to -30334 [-Wconstant-conversion] {GD_ACXHoldOpenAlarm,"ACXHoldOpenAlarm"}, ~^~~~~~~~~~~~~~~~~~~ ./objects.h:200:29: note: expanded from macro 'GD_ACXHoldOpenAlarm' #define GD_ACXHoldOpenAlarm 35202 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:215:8: warning: implicit conversion from 'int' to 'short' changes value from 34690 to -30846 [-Wconstant-conversion] {GD_ACXLockFail,"ACXLockFail"}, ~^~~~~~~~~~~~~~ ./objects.h:201:24: note: expanded from macro 'GD_ACXLockFail' #define GD_ACXLockFail 34690 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:216:8: warning: implicit conversion from 'int' to 'short' changes value from 34178 to -31358 [-Wconstant-conversion] {GD_ACXOpenDoor,"ACXOpenDoor"}, ~^~~~~~~~~~~~~~ ./objects.h:202:24: note: expanded from macro 'GD_ACXOpenDoor' #define GD_ACXOpenDoor 34178 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:217:8: warning: implicit conversion from 'int' to 'short' changes value from 34434 to -31102 [-Wconstant-conversion] {GD_ACXPurgeList,"ACXPurgeList"}, ~^~~~~~~~~~~~~~~ ./objects.h:203:25: note: expanded from macro 'GD_ACXPurgeList' #define GD_ACXPurgeList 34434 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:218:8: warning: implicit conversion from 'int' to 'short' changes value from 33154 to -32382 [-Wconstant-conversion] {GD_ACXRefused,"ACXRefused"}, ~^~~~~~~~~~~~~ ./objects.h:204:23: note: expanded from macro 'GD_ACXRefused' #define GD_ACXRefused 33154 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:220:8: warning: implicit conversion from 'int' to 'short' changes value from 61824 to -3712 [-Wconstant-conversion] {GD_ColdBoot,"ColdBoot"}, ~^~~~~~~~~~~ ./objects.h:217:21: note: expanded from macro 'GD_ColdBoot' #define GD_ColdBoot 61824 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:221:8: warning: implicit conversion from 'int' to 'short' changes value from 34946 to -30590 [-Wconstant-conversion] {GD_DoAlphaPage,"DoAlphaPage"}, ~^~~~~~~~~~~~~~ ./objects.h:218:24: note: expanded from macro 'GD_DoAlphaPage' #define GD_DoAlphaPage 34946 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:222:8: warning: implicit conversion from 'int' to 'short' changes value from 62592 to -2944 [-Wconstant-conversion] {GD_ExecMode,"ExecMode"}, ~^~~~~~~~~~~ ./objects.h:219:21: note: expanded from macro 'GD_ExecMode' #define GD_ExecMode 62592 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:247:8: warning: implicit conversion from 'int' to 'short' changes value from 53186 to -12350 [-Wconstant-conversion] {GD_ParseData,"ParseData"}, ~^~~~~~~~~~~~ ./objects.h:250:22: note: expanded from macro 'GD_ParseData' #define GD_ParseData 53186 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:251:8: warning: implicit conversion from 'int' to 'short' changes value from 62848 to -2688 [-Wconstant-conversion] {GD_ReplaceBOS,"ReplaceBOS"}, ~^~~~~~~~~~~~~ ./objects.h:255:23: note: expanded from macro 'GD_ReplaceBOS' #define GD_ReplaceBOS 62848 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:255:8: warning: implicit conversion from 'int' to 'short' changes value from 62336 to -3200 [-Wconstant-conversion] {GD_SafeMode,"SafeMode"}, ~^~~~~~~~~~~ ./objects.h:259:21: note: expanded from macro 'GD_SafeMode' #define GD_SafeMode 62336 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:270:8: warning: implicit conversion from 'int' to 'short' changes value from 62080 to -3456 [-Wconstant-conversion] {GD_WarmBoot,"WarmBoot"}, ~^~~~~~~~~~~ ./objects.h:280:21: note: expanded from macro 'GD_WarmBoot' #define GD_WarmBoot 62080 ^~~~~ In file included from printtag.c:37: In file included from ./msginc.h:67: ./tagtext.h:285:8: warning: implicit conversion from 'int' to 'short' changes value from 32898 to -32638 [-Wconstant-conversion] {GD_AuthenticateGroup,"AuthenticateGroup"}, ~^~~~~~~~~~~~~~~~~~~~ ./objects.h:212:30: note: expanded from macro 'GD_AuthenticateGroup' #define GD_AuthenticateGroup 32898 ^~~~~ printtag.c:42:29: error: unexpected type name 'uchar': expected identifier int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:42:35: error: expected ')' int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:42:20: note: to match this '(' int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:42:21: error: a parameter list without types is only allowed in a function definition int TAGDataToString(ushort, uchar *, int, int, char *, int); ^ printtag.c:43:30: error: expected identifier int TAGGroupToString(ushort, int, int, char *, int); ^ printtag.c:44:30: error: expected identifier int MessageTAGLookUp(ushort, char *); ^ printtag.c:59:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort OD; ^~~~~~ short --- initrov --- In file included from ibshaut.c:34: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short --- mktag --- printtag.c:106:14: error: use of undeclared identifier 'ushort'; did you mean 'short'? OD |= (ushort)(TAG->msg[TAG->parse++] << 8); ^~~~~~ short --- initrov --- ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long --- mktag --- printtag.c:106:14: error: use of undeclared identifier 'ushort' --- debit --- In file included from ibsha18o.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short --- initrov --- ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short --- debit --- ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short --- initrov --- ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long --- debit --- ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long --- initrov --- ibshaut.c:37:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); ^ --- debit --- ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ --- mktag --- printtag.c:141:21: error: unknown type name 'ushort'; did you mean 'short'? int TAGDataToString(ushort OD, uchar *payload, int depth, int simple, ^~~~~~ short printtag.c:146:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong ul; ^~~~~ long printtag.c:185:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msgcnt += sprintf(msg + msgcnt," %d",ul); ~~ ^~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ printtag.c:194:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msgcnt += sprintf(msg + msgcnt," %d",ul); --- debit --- short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long --- initrov --- ibshaut.c:47:32: error: unknown type name 'ulong'; did you mean 'long'? int GetRovingSettings(uchar *, ulong *); ^~~~~ long --- mktag --- ~~ ^~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- debit --- ibsha18o.c:45:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ ibsha18o.c:46:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18o.c:46:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18o.c:56:24: error: unknown type name 'ushort'; did you mean 'short'? int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18o.c:57:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:58:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int CopyScratchSHA(int,ushort,int); ^ --- mktag --- printtag.c:252:22: error: unknown type name 'ushort'; did you mean 'short'? --- initrov --- ibshaut.c:177:47: error: unknown type name 'ulong'; did you mean 'long'? --- debit --- ibsha18o.c:59:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ReadAuthPageSHA(int,ushort,uchar *); --- initrov --- int GetRovingSettings(uchar *rov_information, ulong *money) ^~~~~ long --- mktag --- int TAGGroupToString(ushort OD, int depth, int simple, char *pmsg, int msgmax) ^~~~~~ short --- debit --- ^ ibsha18o.c:60:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- mktag --- printtag.c:252:5: error: conflicting types for 'TAGGroupToString' --- debit --- int ReadUDP_SHA(int,ushort,uchar *,int *); ^ --- mktag --- int TAGGroupToString(ushort OD, int depth, int simple, char *pmsg, int msgmax) ^ printtag.c:43:5: note: previous declaration is here --- debit --- ibsha18o.c:61:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- mktag --- int TAGGroupToString(ushort, int, int, char *, int); ^ --- debit --- int WriteUDP_SHA(int,ushort,uchar *,int); ^ ibsha18o.c:62:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ComputeSHA(int,ushort, uchar); ^ --- initrov --- ibshaut.c:188:64: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- debit --- ibsha18o.c:64:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- initrov --- len = EnterString("\nEnter roving user fixed information\n",rov_information,0,28); ^~~~~~~~~~~~~~~ --- debit --- int FormatUDP(int,ushort,uchar *,int *); ^ --- initrov --- ibshaut.c:39:38: note: passing argument to parameter here extern int EnterString(char *, char *, int, int); ^ ibshaut.c:210:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(temp,"Starting balance: $%d US\n",*money); ~~ ^~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ --- debit --- ibsha18o.c:143:33: error: unknown type name 'ushort'; did you mean 'short'? --- mktag --- printtag.c:318:22: error: unknown type name 'ushort'; did you mean 'short'? int MessageTAGLookUp(ushort OD, char *pmsg) ^~~~~~ short --- debit --- int ReadScratchSHA(int portnum, ushort *address, uchar *es, uchar *data) ^~~~~~ short --- mktag --- printtag.c:318:5: error: conflicting types for 'MessageTAGLookUp' int MessageTAGLookUp(ushort OD, char *pmsg) ^ printtag.c:44:5: note: previous declaration is here int MessageTAGLookUp(ushort, char *); ^ printtag.c:321:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort TOD; ^~~~~~ short printtag.c:329:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(pmsg,TAGMsgs[cnt].msg); ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ printtag.c:329:23: note: treat the string as an argument to avoid this sprintf(pmsg,TAGMsgs[cnt].msg); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) --- debit --- ibsha18o.c:148:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:178:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ --- initrov --- 3 warnings and 8 errors generated. --- mktag --- ^ --- debit --- ibsha18o.c:205:34: error: unknown type name 'ushort'; did you mean 'short'? int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^~~~~~ short ibsha18o.c:205:5: error: conflicting types for 'WriteScratchSHA' int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^ ibsha18o.c:57:5: note: previous declaration is here int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- mktag --- printtag.c:339:11: error: use of undeclared identifier 'ushort'; did you mean 'short'? TOD = (ushort)(OD & DOD_MASK); ^~~~~~ short printtag.c:339:11: error: use of undeclared identifier 'ushort' --- debit --- ibsha18o.c:254:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:278:33: error: unknown type name 'ushort'; did you mean 'short'? int CopyScratchSHA(int portnum, ushort address, int len) ^~~~~~ short ibsha18o.c:278:5: error: conflicting types for 'CopyScratchSHA' int CopyScratchSHA(int portnum, ushort address, int len) ^ ibsha18o.c:58:5: note: previous declaration is here int CopyScratchSHA(int,ushort,int); ^ ibsha18o.c:333:34: error: unknown type name 'ushort'; did you mean 'short'? int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^~~~~~ short ibsha18o.c:333:5: error: conflicting types for 'ReadAuthPageSHA' int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^ ibsha18o.c:59:5: note: previous declaration is here int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18o.c:338:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:374:24: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (lastcrc16 != 0xB001) ~~~~~~~~~ ^ ~~~~~~ --- mktag --- printtag.c:352:11: error: use of undeclared identifier 'ushort'; did you mean 'short'? TOD = (ushort)(OD & DOM_MASK); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- debit --- ibsha18o.c:408:30: error: unknown type name 'ushort'; did you mean 'short'? int ReadUDP_SHA(int portnum, ushort address, uchar *page_data, int *length) ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- mktag --- 37 warnings and 20 errors generated. --- count --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ --- debit --- 12 warnings and 20 errors generated. --- count --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- mktag --- *** [mktag] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- initcopr --- In file included from ibsha18o.c:37: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long ibsha18o.c:45:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ ibsha18o.c:46:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short ibsha18o.c:46:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ ibsha18o.c:56:24: error: unknown type name 'ushort'; did you mean 'short'? int ReadScratchSHA(int,ushort *,uchar *,uchar *); ^~~~~~ short ibsha18o.c:57:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:58:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int CopyScratchSHA(int,ushort,int); ^ ibsha18o.c:59:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18o.c:60:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibsha18o.c:61:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int WriteUDP_SHA(int,ushort,uchar *,int); ^ ibsha18o.c:62:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int ComputeSHA(int,ushort, uchar); ^ ibsha18o.c:64:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] int FormatUDP(int,ushort,uchar *,int *); ^ ibsha18o.c:143:33: error: unknown type name 'ushort'; did you mean 'short'? int ReadScratchSHA(int portnum, ushort *address, uchar *es, uchar *data) ^~~~~~ short ibsha18o.c:148:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:178:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:205:34: error: unknown type name 'ushort'; did you mean 'short'? int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^~~~~~ short ibsha18o.c:205:5: error: conflicting types for 'WriteScratchSHA' int WriteScratchSHA(int portnum, ushort address, uchar *data, int data_len) ^ ibsha18o.c:57:5: note: previous declaration is here int WriteScratchSHA(int,ushort,uchar *,int); ^ ibsha18o.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:254:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ --- initrov --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- initcopr --- ibsha18o.c:278:33: error: unknown type name 'ushort'; did you mean 'short'? int CopyScratchSHA(int portnum, ushort address, int len) ^~~~~~ short ibsha18o.c:278:5: error: conflicting types for 'CopyScratchSHA' int CopyScratchSHA(int portnum, ushort address, int len) ^ ibsha18o.c:58:5: note: previous declaration is here int CopyScratchSHA(int,ushort,int); ^ --- initrov --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- initcopr --- ibsha18o.c:333:34: error: unknown type name 'ushort'; did you mean 'short'? int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^~~~~~ short ibsha18o.c:333:5: error: conflicting types for 'ReadAuthPageSHA' int ReadAuthPageSHA(int portnum, ushort address, uchar *page_data) ^ ibsha18o.c:59:5: note: previous declaration is here int ReadAuthPageSHA(int,ushort,uchar *); ^ ibsha18o.c:338:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short ibsha18o.c:374:24: warning: result of comparison of constant 45057 with expression of type 'short' is always true [-Wtautological-constant-out-of-range-compare] if (lastcrc16 != 0xB001) ~~~~~~~~~ ^ ~~~~~~ ibsha18o.c:408:30: error: unknown type name 'ushort'; did you mean 'short'? int ReadUDP_SHA(int portnum, ushort address, uchar *page_data, int *length) ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 12 warnings and 20 errors generated. --- debit --- In file included from ibshaut.c:34: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long ibshaut.c:37:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibshaut.c:47:32: error: unknown type name 'ulong'; did you mean 'long'? int GetRovingSettings(uchar *, ulong *); ^~~~~ long ibshaut.c:177:47: error: unknown type name 'ulong'; did you mean 'long'? int GetRovingSettings(uchar *rov_information, ulong *money) ^~~~~ long ibshaut.c:188:64: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = EnterString("\nEnter roving user fixed information\n",rov_information,0,28); ^~~~~~~~~~~~~~~ ibshaut.c:39:38: note: passing argument to parameter here extern int EnterString(char *, char *, int, int); ^ ibshaut.c:210:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(temp,"Starting balance: $%d US\n",*money); ~~ ^~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ 3 warnings and 8 errors generated. --- initrov --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- debit --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- initcopr --- In file included from ibshaut.c:34: ./ibsha18.h:84:4: error: unknown type name 'ushort'; did you mean 'short'? ushort obj_descriptor; // descriptor of object 0x0501 ^~~~~~ short --- debit --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld --- initcopr --- ./ibsha18.h:88:4: error: unknown type name 'ushort'; did you mean 'short'? ushort trans_id; // transaction id ^~~~~~ short ./ibsha18.h:89:4: error: unknown type name 'ushort'; did you mean 'short'? ushort code_mult; // monetary unit code & multiplier ^~~~~~ short ./ibsha18.h:96:4: error: unknown type name 'ulong'; did you mean 'long'? ulong write_cycle_cnt; // write cycle counter ^~~~~ long ./ibsha18.h:137:4: error: unknown type name 'ushort'; did you mean 'short'? ushort address; ^~~~~~ short ./ibsha18.h:139:4: error: unknown type name 'ulong'; did you mean 'long'? ulong target_secret; ^~~~~ long ibshaut.c:37:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern int ReadUDP_SHA(int,ushort,uchar *,int *); ^ ibshaut.c:47:32: error: unknown type name 'ulong'; did you mean 'long'? int GetRovingSettings(uchar *, ulong *); ^~~~~ long ibshaut.c:177:47: error: unknown type name 'ulong'; did you mean 'long'? int GetRovingSettings(uchar *rov_information, ulong *money) ^~~~~ long ibshaut.c:188:64: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = EnterString("\nEnter roving user fixed information\n",rov_information,0,28); ^~~~~~~~~~~~~~~ ibshaut.c:39:38: note: passing argument to parameter here extern int EnterString(char *, char *, int, int); ^ ibshaut.c:210:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(temp,"Starting balance: $%d US\n",*money); ~~ ^~~~~~ %ld /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ 3 warnings and 8 errors generated. --- debit --- ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- initcopr --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(defbuf,buf); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ioutil.c:70:22: note: treat the string as an argument to avoid this sprintf(defbuf,buf); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s (%d): ",msg,*value); ~~ ^~~~~~ %ld ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long 2 warnings and 1 error generated. --- debit --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- initcopr --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ short crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ushort docrc16(int,ushort); ^ crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ short crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ short crcutil.c:66:6: error: conflicting types for 'setcrc16' void setcrc16(int portnum, ushort reset) ^ crcutil.c:34:6: note: previous declaration is here void setcrc16(int,ushort); ^ crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int portnum, ushort data) ^~~~~~ short crcutil.c:95:8: error: conflicting types for 'docrc16' ushort docrc16(int portnum, ushort data) ^ crcutil.c:35:8: note: previous declaration is here ushort docrc16(int,ushort); ^ 2 warnings and 7 errors generated. --- coupler --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- atod --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- count --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ --- atod --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ --- count --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- atod --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ --- atod --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ --- atod --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- count --- owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short --- atod --- 3 warnings and 20 errors generated. --- count --- owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- initrov --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- coupler --- *** [coupler] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- initrov --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] --- initcopr --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- initrov --- 3 warnings and 20 errors generated. --- initcopr --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ --- debit --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- initcopr --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' --- debit --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short --- initcopr --- setcrc16(portnum,(ushort)start_page); ^ --- debit --- owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:218:15: note: to match this '(' --- initcopr --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- debit --- setcrc16(portnum,(ushort)start_page); ^ --- initcopr --- docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ --- debit --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ short owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ owtrnu.c:239:24: warning: result of comparison of constant 45057 with expression of type 'short' is always false [-Wtautological-constant-out-of-range-compare] if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ short owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ --- initcopr --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short --- debit --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ short owtrnu.c:299:28: error: expected ')' --- initcopr --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- debit --- docrc16(portnum,(ushort)write_len); ^ owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ --- initcopr --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short --- debit --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- initcopr --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- debit --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ short owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ --- initcopr --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- debit --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short owtrnu.c:423:27: error: use of undeclared identifier 'ushort' owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr >> 8)); ^~~~~~ short owtrnu.c:424:27: error: use of undeclared identifier 'ushort' owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); ^~~~~~ short fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- count --- *** [count] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- atod --- *** [atod] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- initrov --- *** [initrov] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- initcopr --- *** [initcopr] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work --- debit --- *** [debit] Error code 1 bmake: stopped in /opt/work/misc/ibutton-pdkit/work 8 errors bmake: stopped in /opt/work/misc/ibutton-pdkit/work *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/misc/ibutton-pdkit *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/misc/ibutton-pdkit