=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for ibutton-pdkit-2.00nb2 --- clean --- --- atod --- --- count --- --- clean --- rm -f atod count coupler debit initcopr initrov list2tag mktag mweather owsensor swtloop swtoper swtsngl temp thermodl thermoms tstfind tstow tstowe --- coupler --- --- 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 --- 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 --- 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 --- count --- counter.c:51:40: error: unknown type name 'ulong'; did you mean 'long'? --- atod --- atodtst.c:141:44: warning: data argument not used by format string [-Wformat-extra-args] --- count --- extern int ReadCounter(int,uchar *,int,ulong *); --- coupler --- coupler.c:46:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- atod --- printf("A/D settings found\n", msg); --- count --- ^~~~~ --- coupler --- extern void setdocrc16(int,ushort); --- atod --- ~~~~~~~~~~~~~~~~~~~~~~ ^ --- count --- long --- coupler --- ^ --- atod --- 1 warning generated. --- count --- counter.c:69:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? --- coupler --- coupler.c:47:8: error: unknown type name 'ushort'; did you mean 'short'? --- count --- ulong Count; --- coupler --- extern ushort dodocrc16(int,ushort); --- count --- ^~~~~ --- coupler --- ^~~~~~ --- count --- long --- coupler --- short --- atod --- atod20.c:48:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- count --- counter.c:128:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] --- coupler --- coupler.c:47:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- count --- printf(" %10d ", Count); --- coupler --- extern ushort dodocrc16(int,ushort); --- count --- ~~~~ ^~~~~ --- coupler --- ^ --- count --- %10ld --- atod --- atod20.c:49:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ --- coupler --- 2 warnings and 1 error generated. --- count --- 1 warning and 2 errors generated. --- atod --- short atod20.c:49:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); --- coupler --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- atod --- ^ --- count --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- coupler --- void setcrc16(int,ushort); --- count --- sprintf(defbuf,buf); --- coupler --- ^ --- count --- ^~~ --- atod --- atod20.c:125:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; --- coupler --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? --- atod --- ^~~~~~ --- count --- ioutil.c:70:22: note: treat the string as an argument to avoid this --- coupler --- ushort docrc16(int,ushort); --- atod --- short --- count --- sprintf(defbuf,buf); --- coupler --- ^~~~~~ --- count --- ^ --- coupler --- short --- count --- "%s", --- atod --- 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) || --- coupler --- crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- atod --- ~~~~~~~~~ ^ ~~~~~~ --- count --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] --- coupler --- ushort docrc16(int,ushort); --- count --- printf("%s (%d): ",msg,*value); --- coupler --- ^ --- count --- ~~ ^~~~~~ %ld --- atod --- atod20.c:209:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; --- coupler --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? --- atod --- ^~~~~~ --- coupler --- ushort utilcrc16[MAX_PORTNUM]; --- atod --- short --- count --- ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? --- coupler --- ^~~~~~ --- count --- int EnterHex(char *msg, int numchars, ulong *value) --- coupler --- short --- count --- ^~~~~ long --- atod --- 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) --- coupler --- crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? --- atod --- ~~~~~~~~~ ^ ~~~~~~ --- count --- 2 warnings and 1 error generated. --- coupler --- void setcrc16(int portnum, ushort reset) ^~~~~~ short --- atod --- atod20.c:281:4: error: use of undeclared identifier 'ulong'; did you mean 'long'? ulong templong; ^~~~~ --- count --- cnt1d.c:39:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- crcutil.c:66:6: error: conflicting types for 'setcrc16' --- atod --- long --- count --- extern void setcrc16(int,ushort); --- coupler --- void setcrc16(int portnum, ushort reset) --- count --- ^ --- coupler --- ^ --- atod --- atod20.c:285:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; --- count --- cnt1d.c:40:8: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- crcutil.c:34:6: note: previous declaration is here --- atod --- ^~~~~~ --- count --- extern ushort docrc16(int,ushort); --- coupler --- void setcrc16(int,ushort); --- atod --- short --- count --- ^~~~~~ --- coupler --- ^ --- count --- short --- atod --- 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] --- coupler --- crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? --- atod --- if (lastcrc16 == 0xB001) --- count --- cnt1d.c:40:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- ushort docrc16(int portnum, ushort data) --- atod --- ~~~~~~~~~ ^ ~~~~~~ --- count --- extern ushort docrc16(int,ushort); --- coupler --- ^~~~~~ --- count --- ^ --- coupler --- short --- atod --- 5 warnings and 5 errors generated. --- count --- cnt1d.c:45:33: error: unknown type name 'ulong'; did you mean 'long'? --- coupler --- crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? --- count --- int ReadCounter(int,uchar *,int,ulong *); --- coupler --- ushort docrc16(int portnum, ushort data) --- count --- ^~~~~ --- coupler --- ^~~~~~ --- count --- long --- coupler --- short --- atod --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void setcrc16(int,ushort); ^ --- count --- cnt1d.c:61:5: error: conflicting types for 'ReadCounter' --- coupler --- crcutil.c:95:8: error: conflicting types for 'docrc16' --- count --- int ReadCounter(int portnum, uchar SerialNum[8], int CounterPage, --- coupler --- ushort docrc16(int portnum, ushort data) --- count --- ^ --- coupler --- ^ --- atod --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? ushort docrc16(int,ushort); ^~~~~~ --- count --- cnt1d.c:45:5: note: previous declaration is here --- coupler --- crcutil.c:35:8: note: previous declaration is here --- atod --- short --- count --- int ReadCounter(int,uchar *,int,ulong *); --- coupler --- ushort docrc16(int,ushort); --- count --- ^ --- coupler --- ^ --- atod --- crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- 2 warnings and 7 errors generated. --- atod --- ushort docrc16(int,ushort); --- count --- cnt1d.c:67:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- ^ --- count --- ushort lastcrc16; ^~~~~~ short --- atod --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? ushort utilcrc16[MAX_PORTNUM]; ^~~~~~ --- count --- cnt1d.c:84:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- short --- count --- docrc16(portnum,(ushort)(address & 0xFF)); ^~~~~~ short --- atod --- crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? void setcrc16(int portnum, ushort reset) ^~~~~~ --- count --- cnt1d.c:84:24: error: use of undeclared identifier 'ushort' --- atod --- short --- coupler --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- count --- cnt1d.c:86:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- crcutil.c:66:6: error: conflicting types for 'setcrc16' --- count --- docrc16(portnum,(ushort)(address >> 8)); --- atod --- void setcrc16(int portnum, ushort reset) --- count --- ^~~~~~ --- atod --- ^ --- count --- short --- coupler --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short --- atod --- crcutil.c:34:6: note: previous declaration is here --- count --- cnt1d.c:86:24: error: use of undeclared identifier 'ushort' --- atod --- void setcrc16(int,ushort); ^ --- coupler --- owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ --- count --- 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) --- atod --- crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? --- count --- ~~~~~~~~~ ^ ~~~~~~ --- atod --- ushort docrc16(int portnum, ushort data) ^~~~~~ short --- coupler --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; --- count --- 3 warnings and 8 errors generated. --- coupler --- ^~~~~~ short --- atod --- 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:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- crcutil.c:34:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- setcrc16(portnum,(ushort)start_page); --- atod --- ioutil.c:70:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- count --- void setcrc16(int,ushort); --- coupler --- ^~~~~~ --- atod --- sprintf(defbuf,buf); --- count --- ^ --- coupler --- short --- atod --- ^~~ --- count --- crcutil.c:35:1: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- owtrnu.c:218:32: error: expected ')' --- atod --- ioutil.c:70:22: note: treat the string as an argument to avoid this --- count --- ushort docrc16(int,ushort); --- coupler --- setcrc16(portnum,(ushort)start_page); --- atod --- sprintf(defbuf,buf); --- count --- ^~~~~~ --- coupler --- ^ --- atod --- ^ --- count --- short --- atod --- "%s", --- coupler --- owtrnu.c:218:15: note: to match this '(' --- count --- crcutil.c:35:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- setcrc16(portnum,(ushort)start_page); --- atod --- ioutil.c:152:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] --- count --- ushort docrc16(int,ushort); --- coupler --- ^ --- atod --- printf("%s (%d): ",msg,*value); --- count --- ^ --- atod --- ~~ ^~~~~~ %ld --- coupler --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- crcutil.c:40:1: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- docrc16(portnum,(ushort)length); --- count --- ushort utilcrc16[MAX_PORTNUM]; --- coupler --- ^~~~~~ --- count --- ^~~~~~ --- atod --- ioutil.c:228:39: error: unknown type name 'ulong'; did you mean 'long'? --- coupler --- short --- count --- short --- atod --- int EnterHex(char *msg, int numchars, ulong *value) ^~~~~ long --- coupler --- owtrnu.c:222:31: error: expected ')' --- count --- crcutil.c:66:28: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- docrc16(portnum,(ushort)length); --- atod --- 2 warnings and 1 error generated. --- count --- void setcrc16(int portnum, ushort reset) --- coupler --- ^ --- count --- ^~~~~~ short --- coupler --- owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); --- count --- crcutil.c:66:6: error: conflicting types for 'setcrc16' --- coupler --- ^ --- count --- void setcrc16(int portnum, ushort reset) ^ --- coupler --- 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) --- count --- crcutil.c:34:6: note: previous declaration is here --- coupler --- ~~~~~~~~~ ^ ~~~~~~ --- count --- void setcrc16(int,ushort); ^ --- atod --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- coupler --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- crcutil.c:95:1: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- ushort lastcrc16; --- count --- ushort docrc16(int portnum, ushort data) --- coupler --- ^~~~~~ --- count --- ^~~~~~ --- coupler --- short --- count --- short --- atod --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? extern ushort docrc16(int,ushort); ^~~~~~ short --- coupler --- owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- crcutil.c:95:29: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- setcrc16(portnum,(ushort)start_page); --- count --- ushort docrc16(int portnum, ushort data) --- coupler --- ^~~~~~ --- count --- ^~~~~~ --- coupler --- short --- count --- short --- atod --- owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ushort docrc16(int,ushort); ^ --- coupler --- owtrnu.c:295:29: error: expected ')' --- count --- crcutil.c:95:8: error: conflicting types for 'docrc16' --- coupler --- setcrc16(portnum,(ushort)start_page); --- count --- ushort docrc16(int portnum, ushort data) --- coupler --- ^ --- count --- ^ --- atod --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ short --- coupler --- owtrnu.c:295:12: note: to match this '(' --- count --- crcutil.c:35:8: note: previous declaration is here --- coupler --- setcrc16(portnum,(ushort)start_page); --- count --- ushort docrc16(int,ushort); --- coupler --- ^ --- count --- ^ --- atod --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ --- count --- 2 warnings and 7 errors generated. --- coupler --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- short --- coupler --- docrc16(portnum,(ushort)write_len); ^~~~~~ short --- atod --- owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ --- coupler --- owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ --- atod --- owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ --- coupler --- owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ --- count --- owtrnu.c:56:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern void setcrc16(int,ushort); ^ --- atod --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ --- coupler --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- short --- coupler --- ushort lastcrc16; ^~~~~~ --- count --- owtrnu.c:57:8: error: unknown type name 'ushort'; did you mean 'short'? --- coupler --- short --- count --- extern ushort docrc16(int,ushort); ^~~~~~ short --- atod --- owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); ^ --- coupler --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_cmd); ^~~~~~ --- count --- owtrnu.c:57:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- coupler --- short --- count --- extern ushort docrc16(int,ushort); ^ --- atod --- owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ --- coupler --- owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); --- count --- owtrnu.c:189:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- coupler --- ^ --- count --- ushort lastcrc16; ^~~~~~ --- atod --- 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] --- count --- short --- atod --- if (lastcrc16 == 0xB001) ~~~~~~~~~ ^ ~~~~~~ --- coupler --- owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ --- count --- owtrnu.c:218:25: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); --- atod --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- ^~~~~~ --- atod --- ushort lastcrc16; --- count --- short --- atod --- ^~~~~~ short --- coupler --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short --- count --- owtrnu.c:218:32: error: expected ')' setcrc16(portnum,(ushort)start_page); --- atod --- owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- ^ --- atod --- setcrc16(portnum,(ushort)start_page); ^~~~~~ short --- coupler --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:218:15: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ --- atod --- owtrnu.c:295:29: error: expected ')' --- coupler --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- setcrc16(portnum,(ushort)start_page); --- coupler --- docrc16(portnum,(ushort)(addr >> 8)); --- atod --- ^ --- coupler --- ^~~~~~ short --- count --- owtrnu.c:222:24: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)length); ^~~~~~ --- atod --- owtrnu.c:295:12: note: to match this '(' --- count --- short --- atod --- setcrc16(portnum,(ushort)start_page); --- coupler --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- atod --- ^ --- count --- owtrnu.c:222:31: error: expected ')' docrc16(portnum,(ushort)length); --- coupler --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- ^ --- coupler --- setcrc16(portnum,(ushort)addr); --- atod --- docrc16(portnum,(ushort)write_len); --- coupler --- ^~~~~~ --- atod --- ^~~~~~ --- coupler --- short --- atod --- short --- coupler --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- count --- owtrnu.c:222:14: note: to match this '(' docrc16(portnum,(ushort)length); ^ --- atod --- owtrnu.c:299:28: error: expected ')' --- coupler --- 3 warnings and 20 errors generated. --- atod --- docrc16(portnum,(ushort)write_len); ^ --- 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) --- coupler --- *** [coupler] Error code 1 bmake: stopped in /var/pkgsrc/work/misc/ibutton-pdkit/work --- count --- ~~~~~~~~~ ^ ~~~~~~ --- atod --- owtrnu.c:299:11: note: to match this '(' docrc16(portnum,(ushort)write_len); ^ --- count --- owtrnu.c:288:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; ^~~~~~ --- atod --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- short --- atod --- ushort lastcrc16; ^~~~~~ short --- count --- owtrnu.c:295:22: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)start_page); ^~~~~~ --- atod --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- short --- atod --- docrc16(portnum,(ushort)write_cmd); ^~~~~~ short --- count --- owtrnu.c:295:29: error: expected ')' setcrc16(portnum,(ushort)start_page); ^ --- atod --- owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ --- count --- owtrnu.c:295:12: note: to match this '(' setcrc16(portnum,(ushort)start_page); ^ --- atod --- owtrnu.c:422:17: note: to match this '(' docrc16(portnum,(ushort)write_cmd); ^ --- count --- owtrnu.c:299:21: error: use of undeclared identifier 'ushort'; did you mean 'short'? docrc16(portnum,(ushort)write_len); ^~~~~~ --- atod --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- short --- atod --- docrc16(portnum,(ushort)(addr & 0xFF)); ^~~~~~ short --- count --- owtrnu.c:299:28: error: expected ')' docrc16(portnum,(ushort)write_len); ^ --- atod --- owtrnu.c:423:27: error: use of undeclared identifier 'ushort' --- count --- owtrnu.c:299:11: note: to match this '(' --- atod --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- count --- docrc16(portnum,(ushort)write_len); --- atod --- docrc16(portnum,(ushort)(addr >> 8)); --- count --- ^ --- atod --- ^~~~~~ short --- count --- owtrnu.c:371:4: error: use of undeclared identifier 'ushort'; did you mean 'short'? ushort lastcrc16; --- atod --- owtrnu.c:424:27: error: use of undeclared identifier 'ushort' --- count --- ^~~~~~ short --- atod --- owtrnu.c:427:28: error: use of undeclared identifier 'ushort'; did you mean 'short'? setcrc16(portnum,(ushort)addr); --- count --- owtrnu.c:422:27: error: use of undeclared identifier 'ushort'; did you mean 'short'? --- atod --- ^~~~~~ --- count --- docrc16(portnum,(ushort)write_cmd); --- atod --- short --- count --- ^~~~~~ short --- atod --- fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. --- count --- owtrnu.c:422:34: error: expected ')' docrc16(portnum,(ushort)write_cmd); ^ --- atod --- *** [atod] Error code 1 bmake: stopped in /var/pkgsrc/work/misc/ibutton-pdkit/work --- count --- 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. *** [count] Error code 1 bmake: stopped in /var/pkgsrc/work/misc/ibutton-pdkit/work 3 errors bmake: stopped in /var/pkgsrc/work/misc/ibutton-pdkit/work *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/misc/ibutton-pdkit *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/ibutton-pdkit