=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for chipmunk-1.4nb2 gcc -Wall -O2 -I/usr/include -I/usr/include -c control.c control.c:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_SIGNALS ^ // In file included from control.c:19: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ control.c:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_UNISTD ^ // control.c:31:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_READLINE ^ // control.c:81:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // 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 ^ // control.c:192:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 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:233:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit (argv[i][0])) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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 ^ // control.c:824:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_CHECK ^ // control.c:1053:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit (argv[i][1])) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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 */ ^ /usr/include/sys/ctype_inline.h:59:48: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ 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 ^ // 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 ^ // control.c:1598:17: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i = 0; isspace (cmd[i]); i++); ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 28 warnings generated. gcc -Wall -O2 -I/usr/include -I/usr/include -c fileops.c In file included from fileops.c:15: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ fileops.c:26:55: warning: implicitly declaring library function 'strerror' with type 'char *(int)' printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); ^ fileops.c:26:55: note: please include the header or explicitly provide a declaration for 'strerror' 2 warnings generated. gcc -Wall -O2 -I/usr/include -I/usr/include -c memops.c In file included from memops.c:24: ./commands.h:24:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef (*builtinfn) (); ~~~~~~~ ^ memops.c:248:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' memcpy (q, p, l); ^ memops.c:248:3: note: please include the header or explicitly provide a declaration for 'memcpy' 2 warnings generated. gcc -Wall -O2 -I/usr/include -I/usr/include -c io_ops.c 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. gcc -Wall -O2 -I/usr/include -I/usr/include -c strerror.c gcc -Wall -O2 -I/usr/include -I/usr/include -c memtest.c memtest.c:12:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif STANDALONE ^ // memtest.c:745:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_MEMTEST ^ // 2 warnings generated. gcc -Wall -O2 -I/usr/include -I/usr/include -c tests.c gcc -Wall -O2 -I/usr/include -I/usr/include -c comm960.c 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. gcc -Wall -O2 -I/usr/include -I/usr/include -c move.c gcc -Wall -O2 -I/usr/include -I/usr/include -c rmove.c gcc -Wall -O2 -I/usr/include -I/usr/include -c sbus.c gcc -Wall -O2 -I/usr/include -I/usr/include -c p555.c p555.c:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif INCLUDE_P555 ^ // 1 warning generated. gcc -Wall -O2 -I/usr/include -I/usr/include -c 2051.c gcc -Wall -O2 -I/usr/include -c version.c -o version.o -DMAJOR=1 -DMINOR=4 gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/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 -li386 -o chipmunk /usr/bin/ld: cannot find -li386 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/misc/chipmunk/work/chipmunk-1.4 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/chipmunk *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/misc/chipmunk