=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for chipmunk-1.4nb2 --- control.o --- --- fileops.o --- --- memops.o --- --- control.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c control.c --- fileops.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c fileops.c --- memops.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c memops.c --- fileops.o --- In file included from fileops.c:15: --- memops.o --- In file included from memops.c:24: --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // --- fileops.o --- ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); --- memops.o --- ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- control.o --- In file included from control.c:19: --- fileops.o --- ~~~~~~~ ^ --- memops.o --- typedef (*builtinfn) (); ~~~~~~~ ^ --- control.o --- ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- fileops.o --- fileops.c:26:55: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] --- control.o --- typedef (*builtinfn) (); --- fileops.o --- printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); --- memops.o --- memops.c:98:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] --- control.o --- ~~~~~~~ ^ --- fileops.o --- ^ --- memops.o --- *(int *)a = myatoi (argv[2]); ^ --- control.o --- control.c:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] --- fileops.o --- fileops.c:26:55: note: include the header or explicitly provide a declaration for 'strerror' --- control.o --- #endif USE_UNISTD --- memops.o --- memops.c:108:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] --- control.o --- ^ --- memops.o --- *(int *)a &= myatoi (argv[2]); --- control.o --- // --- memops.o --- ^ --- fileops.o --- fileops.c:32:16: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] s = fread ((void *)a,1,100000000,f); ^ --- control.o --- control.c:31:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] --- memops.o --- memops.c:118:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] --- control.o --- #endif USE_READLINE --- memops.o --- *(int *)a |= myatoi (argv[2]); --- control.o --- ^ --- memops.o --- ^ --- control.o --- // --- fileops.o --- fileops.c:58:15: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] n = fwrite ((void *)a,1,s,f); ^ --- memops.o --- memops.c:128:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(int *)a ^= myatoi (argv[2]); --- control.o --- control.c:81:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] --- fileops.o --- 4 warnings generated. --- memops.o --- ^ --- control.o --- #endif USE_CHECK --- io_ops.o --- --- control.o --- ^ // control.c:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CBREAK ^ // control.c:117:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_BOGUS_USLEEP ^ // --- memops.o --- memops.c:139:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a = myatoi (argv[2]); ^ memops.c:149:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a &= myatoi (argv[2]); ^ memops.c:159:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a |= myatoi (argv[2]); ^ memops.c:169:4: warning: cast to 'unsigned short *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned short *)a ^= myatoi (argv[2]); ^ memops.c:179:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a = myatoi (argv[2]); ^ memops.c:189:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a &= myatoi (argv[2]); ^ memops.c:199:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a |= myatoi (argv[2]); ^ memops.c:209:4: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] *(unsigned char *)a ^= myatoi (argv[2]); ^ memops.c:220:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:245:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] p = (int *) (BASE + myatoi (argv[1])); ^ memops.c:247:7: warning: cast to 'int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] q = (int *) (BASE + myatoi (argv[3])); ^ memops.c:248:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy (q, p, l); ^ memops.c:248:3: note: include the header or explicitly provide a declaration for 'memcpy' memops.c:289:7: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] p = (void *)myatoi (argv[1]); ^ memops.c:306:9: warning: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] a = (unsigned char *) (BASE + myatoi (argv[1])); ^ --- io_ops.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c io_ops.c --- memops.o --- 19 warnings generated. --- control.o --- control.c:192:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] --- strerror.o --- --- io_ops.o --- In file included from io_ops.c:10: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ 1 warning generated. --- memtest.o --- --- control.o --- if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ~~~~~~~^~~~~~ control.c:192:15: note: remove extraneous parentheses around the comparison to silence this warning if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ~ ^ ~~ control.c:192:15: note: use '=' to turn this equality comparison into an assignment if ((str[0] == '#') ) {fmt = "%d"; str += 1;} ^~ = control.c:314:13: warning: cast to 'volatile short *' from smaller integer type 'int' [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c:315:9: warning: cast to 'short *' from smaller integer type 'int' [-Wint-to-pointer-cast] p = (short *) a; ^ control.c:320:17: warning: cast to 'volatile short *' from smaller integer type 'int' [-Wint-to-pointer-cast] (void) *(volatile short *)(BASE + 0x10000); ^ control.c:342:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:367:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:461:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((Toexecute->next == NULL)) ~~~~~~~~~~~~~~~~^~~~~~~ control.c:461:26: note: remove extraneous parentheses around the comparison to silence this warning if ((Toexecute->next == NULL)) ~ ^ ~ control.c:461:26: note: use '=' to turn this equality comparison into an assignment if ((Toexecute->next == NULL)) ^~ = control.c:644:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:707:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else printf ("\n"); ^ control.c:775:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_ALLOCA ^ // control.c:782:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_ALLOCA ^ // --- strerror.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c strerror.c --- memtest.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c memtest.c --- tests.o --- --- control.o --- control.c:824:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:825:47: warning: cast to 'unsigned int *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@" ) == 0) result =*(unsigned int *)(BASE+a); ^ control.c:826:47: warning: cast to 'unsigned short *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@s") == 0) result =*(unsigned short *)(BASE+a); ^ control.c:827:47: warning: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] else if (strcmp (op, "@b") == 0) result =*(unsigned char *)(BASE+a); ^ --- tests.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c tests.c --- memtest.o --- memtest.c:12:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] --- comm960.o --- --- memtest.o --- #endif STANDALONE ^ // memtest.c:745:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_MEMTEST ^ // 2 warnings generated. --- control.o --- control.c:1148:3: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep (n); ^ control.c:1200:22: warning: implicit declaration of function 'getkey' is invalid in C99 [-Wimplicit-function-declaration] keycode = tolower (getkey ());/* chnged to tolower. Rob */ ^ control.c:1415:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:1445:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // control.c:1478:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:1525:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:1531:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // --- move.o --- --- control.o --- control.c:1566:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // control.c:1587:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // --- comm960.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c comm960.c --- move.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c move.c --- rmove.o --- --- comm960.o --- In file included from comm960.c:14: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ 1 warning generated. --- sbus.o --- --- rmove.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c rmove.c --- sbus.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c sbus.c --- p555.o --- --- 2051.o --- --- p555.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c p555.c --- 2051.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c 2051.c --- version --- --- p555.o --- p555.c:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif INCLUDE_P555 ^ // 1 warning generated. --- version.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -c version.c -o version.o -DMAJOR=1 -DMINOR=4 --- control.o --- 31 warnings generated. --- chipmunk --- gcc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib control.o fileops.o memops.o io_ops.o strerror.o memtest.o tests.o comm960.o move.o rmove.o sbus.o p555.o 2051.o version.o -lreadline -ltermcap -o chipmunk control.o: In function `ask': control.c:(.text+0x219d): undefined reference to `getkey' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [chipmunk] Error code 1 bmake: stopped in /var/pkgsrc/work/misc/chipmunk/work/chipmunk-1.4 1 error bmake: stopped in /var/pkgsrc/work/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/chipmunk