=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing for x48-0.4.1nb1
=> Generating pre-install file lists
=> Creating installation directories
cd readline ; /usr/bin/make all
cd src ; /usr/bin/make all
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c actions.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c debugger.c
debugger.c:1147:30: warning: passing 'unsigned char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if( ! strncmp(name, ls, strlen(ls) ))
                             ^~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
debugger.c:1294:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ( decode_20(&addr, argv[1] ) && decode_dec(&n, argv[2] ) )
                                                  ^~
debugger.c:453:18: note: passing argument to parameter 'num' here
decode_dec (int *num, char *arg)
                 ^
debugger.c:1972:18: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     if( strncmp(in,"HPHP48",6) )
                 ^~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
debugger.c:2319:21: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!decode_dec(&n, argv[1]))
                    ^~
debugger.c:453:18: note: passing argument to parameter 'num' here
decode_dec (int *num, char *arg)
                 ^
debugger.c:2325:9: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
  if ( n<0 )
       ~^~
5 warnings generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c device.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c disasm.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c emulate.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c errors.c
errors.c:44:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit (1);
    ^
errors.c:44:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c init.c
init.c:947:20: warning: passing 'short *' to parameter of type 'word_16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!read_16(fp, &saturn.bank_switch)) return 0;
                   ^~~~~~~~~~~~~~~~~~~
init.c:657:28: note: passing argument to parameter 'var' here
read_16(FILE *fp, word_16 *var)
                           ^
init.c:950:24: warning: passing 'short *' to parameter of type 'word_16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!read_16(fp, &saturn.mem_cntl[i].unconfigured)) return 0;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:657:28: note: passing argument to parameter 'var' here
read_16(FILE *fp, word_16 *var)
                           ^
init.c:1069:48: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!read_rom_file(romFileName, &saturn.rom, &rom_size))
                                               ^~~~~~~~~
./romio.h:41:46: note: passing argument to parameter 'size' here
                                        int *size));
                                             ^
./global.h:55:26: note: expanded from macro '__ProtoType__'
#define __ProtoType__(x) x
                         ^
init.c:1218:41: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!read_rom_file(fnam, &saturn.rom, &rom_size))
                                        ^~~~~~~~~
./romio.h:41:46: note: passing argument to parameter 'size' here
                                        int *size));
                                             ^
./global.h:55:26: note: expanded from macro '__ProtoType__'
#define __ProtoType__(x) x
                         ^
init.c:1792:16: warning: passing 'short *' to parameter of type 'word_16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
  write_16(fp, &saturn.bank_switch);
               ^~~~~~~~~~~~~~~~~~~
init.c:1526:29: note: passing argument to parameter 'var' here
write_16(FILE *fp, word_16 *var)
                            ^
init.c:1795:20: warning: passing 'short *' to parameter of type 'word_16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
      write_16(fp, &saturn.mem_cntl[i].unconfigured);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
init.c:1526:29: note: passing argument to parameter 'var' here
write_16(FILE *fp, word_16 *var)
                            ^
6 warnings generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c lcd.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c main.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c memory.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c options.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c register.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c resources.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c romio.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c entriesio.c
entriesio.c:83:53: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  while ( fread(four, 1, 4, fp) && strncmp( "Symb", four ,4 ) )
                                                    ^~~~
/usr/include/string.h:63:40: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                                           ^
entriesio.c:89:27: warning: passing 'unsigned char [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strncmp( "Symb", label ,4 ))
                          ^~~~~
/usr/include/string.h:63:40: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                                           ^
entriesio.c:104:26: warning: passing 'unsigned char [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strcpy(new.defn, label);
                         ^~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
3 warnings generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c rpl.c
rpl.c:120:12: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
      p += strlen(p);
           ^
rpl.c:120:12: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
rpl.c:411:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
          sprintf(p, hp48_trans_tbl[c].trans);
                     ^~~~~~~~~~~~~~~~~~~~~~~
rpl.c:458:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
rpl.c:655:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
          sprintf(p, hp48_trans_tbl[c].trans);
                     ^~~~~~~~~~~~~~~~~~~~~~~
rpl.c:811:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
          sprintf(p, hp48_trans_tbl[c].trans);
                     ^~~~~~~~~~~~~~~~~~~~~~~
rpl.c:855:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
          sprintf(p, hp48_trans_tbl[c].trans);
                     ^~~~~~~~~~~~~~~~~~~~~~~
rpl.c:1032:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                              sprintf(p, hp48_trans_tbl[c].trans);
                                         ^~~~~~~~~~~~~~~~~~~~~~~
rpl.c:1225:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(p, hp48_trans_tbl[c].trans);
                 ^~~~~~~~~~~~~~~~~~~~~~~
8 warnings generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c serial.c
serial.c:209:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
      c = c; /* XXX gcc */
      ~ ^ ~
serial.c:335:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      sprintf(tty_dev_name, serialLine);
                            ^~~~~~~~~~
serial.c:209:11: warning: variable 'c' is uninitialized when used here [-Wuninitialized]
      c = c; /* XXX gcc */
          ^
serial.c:132:10: note: initialize the variable 'c' to silence this warning
  int   c;
         ^
          = 0
3 warnings generated.
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c timer.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c version.c
gcc -O3 -Wall      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DHAVE_XSHM -DHAVE_READLINE  -I/usr/pkg/include -c x48_x11.c
rm -f x48
gcc -o x48 -O3 -Wall      -L/usr/pkg/lib    actions.o debugger.o device.o disasm.o emulate.o                   errors.o init.o lcd.o main.o memory.o options.o                   register.o resources.o romio.o entriesio.o rpl.o                   serial.o timer.o version.o x48_x11.o  -lXext -lX11 .././readline/libreadline.a      -Wl,-rpath,/usr/pkg/lib
emulate.o: In function `step_instruction':
emulate.c:(.text+0xd1c): undefined reference to `decode_8_thru_f'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/emulators/x48/work/x48-0.4.1/src
*** Error code 1

Stop.
make: stopped in /scratch/emulators/x48/work/x48-0.4.1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/emulators/x48
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/emulators/x48
