=> 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'.
===> Building for generator-0.35nb5
cd . && /bin/sh /scratch/emulators/generator/work/generator-0.35/missing --run autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
/usr/bin/make  all-recursive
Making all in glade
source='support.c' object='support.o' libtool=no  depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I../gtkopts -I. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f support.c || echo './'`support.c
source='interface.c' object='interface.o' libtool=no  depfile='.deps/interface.Po' tmpdepfile='.deps/interface.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I../gtkopts -I. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f interface.c || echo './'`interface.c
source='callbacks.c' object='callbacks.o' libtool=no  depfile='.deps/callbacks.Po' tmpdepfile='.deps/callbacks.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I../gtkopts -I. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f callbacks.c || echo './'`callbacks.c
rm -f libglade.a
ar cru libglade.a support.o interface.o  callbacks.o 
ranlib libglade.a
Making all in gtkopts
source='gtkopts.c' object='gtkopts.o' libtool=no  depfile='.deps/gtkopts.Po' tmpdepfile='.deps/gtkopts.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f gtkopts.c || echo './'`gtkopts.c
rm -f libgtkopts.a
ar cru libgtkopts.a gtkopts.o 
ranlib libgtkopts.a
Making all in cmz80
source='z80.c' object='z80.o' libtool=no  depfile='.deps/z80.Po' tmpdepfile='.deps/z80.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f z80.c || echo './'`z80.c
z80.c:8720:14: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (buf,"$%02x",buffer[i++]);
             ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
z80.c:8721:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8724:14: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (buf,"$%04x",(PC+2+(signed char)buffer[i])&0xFFFF);
             ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
z80.c:8726:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8729:14: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (buf,"$%04x",buffer[i]+buffer[i+1]*256);
             ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
z80.c:8731:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8734:14: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i]));
             ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
z80.c:8736:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8739:14: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset));
             ^~~
/usr/include/stdio.h:275:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
z80.c:8740:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8760:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
z80.c:8765:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcat (dest,buf);
                 ^~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
12 warnings generated.
rm -f libcmz80.a
ar cru libcmz80.a z80.o 
ranlib libcmz80.a
Making all in cpu68k
source='def68k.c' object='def68k.o' libtool=no  depfile='.deps/def68k.Po' tmpdepfile='.deps/def68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f def68k.c || echo './'`def68k.c
def68k.c:721:19: warning: implicit conversion from enumeration type 't_eatypes' to different enumeration type 't_datatype' [-Wconversion]
      for (ea_e = ea_Dreg;
                ~ ^~~~~~~
def68k.c:726:14: warning: implicit conversion from enumeration type 't_eatypes' to different enumeration type 't_datatype' [-Wconversion]
        for (ea_f = ea_Dreg;
                  ~ ^~~~~~~
2 warnings generated.
source='tab68k.c' object='tab68k.o' libtool=no  depfile='.deps/tab68k.Po' tmpdepfile='.deps/tab68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f tab68k.c || echo './'`tab68k.c
gcc  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o def68k  def68k.o tab68k.o  
./def68k
Writing CPU definitions... done.
source='gen68k.c' object='gen68k.o' libtool=no  depfile='.deps/gen68k.Po' tmpdepfile='.deps/gen68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f gen68k.c || echo './'`gen68k.c
gen68k.c:71:7: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
      exit(1);
      ^
gen68k.c:71:7: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
gcc  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o gen68k  gen68k.o tab68k.o  
./gen68k
Writing C files... 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. done.
/usr/bin/make  all-am
source='cpu68k-0.c' object='cpu68k-0.o' libtool=no  depfile='.deps/cpu68k-0.Po' tmpdepfile='.deps/cpu68k-0.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-0.c || echo './'`cpu68k-0.c
source='cpu68k-1.c' object='cpu68k-1.o' libtool=no  depfile='.deps/cpu68k-1.Po' tmpdepfile='.deps/cpu68k-1.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-1.c || echo './'`cpu68k-1.c
source='cpu68k-2.c' object='cpu68k-2.o' libtool=no  depfile='.deps/cpu68k-2.Po' tmpdepfile='.deps/cpu68k-2.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-2.c || echo './'`cpu68k-2.c
source='cpu68k-3.c' object='cpu68k-3.o' libtool=no  depfile='.deps/cpu68k-3.Po' tmpdepfile='.deps/cpu68k-3.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-3.c || echo './'`cpu68k-3.c
source='cpu68k-4.c' object='cpu68k-4.o' libtool=no  depfile='.deps/cpu68k-4.Po' tmpdepfile='.deps/cpu68k-4.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-4.c || echo './'`cpu68k-4.c
cpu68k-4.c:4848:3: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
  exit(1);
  ^
cpu68k-4.c:4848:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
source='cpu68k-5.c' object='cpu68k-5.o' libtool=no  depfile='.deps/cpu68k-5.Po' tmpdepfile='.deps/cpu68k-5.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-5.c || echo './'`cpu68k-5.c
source='cpu68k-6.c' object='cpu68k-6.o' libtool=no  depfile='.deps/cpu68k-6.Po' tmpdepfile='.deps/cpu68k-6.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-6.c || echo './'`cpu68k-6.c
source='cpu68k-7.c' object='cpu68k-7.o' libtool=no  depfile='.deps/cpu68k-7.Po' tmpdepfile='.deps/cpu68k-7.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-7.c || echo './'`cpu68k-7.c
source='cpu68k-8.c' object='cpu68k-8.o' libtool=no  depfile='.deps/cpu68k-8.Po' tmpdepfile='.deps/cpu68k-8.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-8.c || echo './'`cpu68k-8.c
source='cpu68k-9.c' object='cpu68k-9.o' libtool=no  depfile='.deps/cpu68k-9.Po' tmpdepfile='.deps/cpu68k-9.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-9.c || echo './'`cpu68k-9.c
source='cpu68k-a.c' object='cpu68k-a.o' libtool=no  depfile='.deps/cpu68k-a.Po' tmpdepfile='.deps/cpu68k-a.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-a.c || echo './'`cpu68k-a.c
source='cpu68k-b.c' object='cpu68k-b.o' libtool=no  depfile='.deps/cpu68k-b.Po' tmpdepfile='.deps/cpu68k-b.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-b.c || echo './'`cpu68k-b.c
source='cpu68k-c.c' object='cpu68k-c.o' libtool=no  depfile='.deps/cpu68k-c.Po' tmpdepfile='.deps/cpu68k-c.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-c.c || echo './'`cpu68k-c.c
source='cpu68k-d.c' object='cpu68k-d.o' libtool=no  depfile='.deps/cpu68k-d.Po' tmpdepfile='.deps/cpu68k-d.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-d.c || echo './'`cpu68k-d.c
source='cpu68k-e.c' object='cpu68k-e.o' libtool=no  depfile='.deps/cpu68k-e.Po' tmpdepfile='.deps/cpu68k-e.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-e.c || echo './'`cpu68k-e.c
source='cpu68k-f.c' object='cpu68k-f.o' libtool=no  depfile='.deps/cpu68k-f.Po' tmpdepfile='.deps/cpu68k-f.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k-f.c || echo './'`cpu68k-f.c
rm -f lib68k.a
ar cru lib68k.a cpu68k-0.o cpu68k-1.o  cpu68k-2.o cpu68k-3.o cpu68k-4.o  cpu68k-5.o cpu68k-6.o cpu68k-7.o  cpu68k-8.o cpu68k-9.o cpu68k-a.o  cpu68k-b.o cpu68k-c.o cpu68k-d.o  cpu68k-e.o cpu68k-f.o 
ranlib lib68k.a
Making all in ym2612
source='fm.c' object='fm.o' libtool=no  depfile='.deps/fm.Po' tmpdepfile='.deps/fm.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f fm.c || echo './'`fm.c
fm.c:1233:3: warning: implicit declaration of function 'state_transfer32' is invalid in C99 [-Wimplicit-function-declaration]
                state_save_register_INT32(state_name, num, "feedback" , CH->op1_out , 2);
                ^
./genstate.h:13:3: note: expanded from macro 'state_save_register_INT32'
  state_transfer32(mod, name, ins, val, size);
  ^
fm.c:1242:4: warning: implicit declaration of function 'state_transfer8' is invalid in C99 [-Wimplicit-function-declaration]
                        state_save_register_UINT8 (state_name, num, "state"      , &SLOT->state , 1);
                        ^
./genstate.h:2:3: note: expanded from macro 'state_save_register_UINT8'
  state_transfer8(mod, name, ins, val, size);
  ^
fm.c:1455:27: warning: expression result unused [-Wunused-value]
                if(v&0x08) LOG(LOG_ERR,("OPN %d,%d,%d :SSG-TYPE envelope selected (not supported )\n",OPN->ST.index,c,OPN_SLOT(r)));
                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fm.c:393:48: note: expanded from macro 'LOG'
#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
                                               ^
fm.c:1455:97: warning: expression result unused [-Wunused-value]
                if(v&0x08) LOG(LOG_ERR,("OPN %d,%d,%d :SSG-TYPE envelope selected (not supported )\n",OPN->ST.index,c,OPN_SLOT(r)));
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
fm.c:393:48: note: expanded from macro 'LOG'
#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
                                               ^
fm.c:1455:103: warning: expression result unused [-Wunused-value]
                if(v&0x08) LOG(LOG_ERR,("OPN %d,%d,%d :SSG-TYPE envelope selected (not supported )\n",OPN->ST.index,c,OPN_SLOT(r)));
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
fm.c:393:48: note: expanded from macro 'LOG'
#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
                                               ^
fm.c:1455:105: warning: expression result unused [-Wunused-value]
                if(v&0x08) LOG(LOG_ERR,("OPN %d,%d,%d :SSG-TYPE envelope selected (not supported )\n",OPN->ST.index,c,OPN_SLOT(r)));
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
fm.c:226:28: note: expanded from macro 'OPN_SLOT'
#define OPN_SLOT(N) ((N>>2)&3)
                           ^
fm.c:393:48: note: expanded from macro 'LOG'
#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
                                               ^
fm.c:3716:16: warning: expression result unused [-Wunused-value]
                LOG(LOG_WAR,("YM2612 #%d:A=%d read unmapped area\n"));
                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fm.c:393:48: note: expanded from macro 'LOG'
#define LOG(n,x) if( (n)>=LOG_LEVEL ) logerror x
                                               ^
7 warnings generated.
rm -f libym2612.a
ar cru libym2612.a fm.o 
ranlib libym2612.a
Making all in sn76496
source='sn76496.c' object='sn76496.o' libtool=no  depfile='.deps/sn76496.Po' tmpdepfile='.deps/sn76496.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I.   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f sn76496.c || echo './'`sn76496.c
rm -f libsn76496.a
ar cru libsn76496.a sn76496.o 
ranlib libsn76496.a
Making all in main
source='cpu68k.c' object='cpu68k.o' libtool=no  depfile='.deps/cpu68k.Po' tmpdepfile='.deps/cpu68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpu68k.c || echo './'`cpu68k.c
source='mem68k.c' object='mem68k.o' libtool=no  depfile='.deps/mem68k.Po' tmpdepfile='.deps/mem68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f mem68k.c || echo './'`mem68k.c
mem68k.c:172:3: warning: implicitly declaring C library function 'memset' with type 'void *(void *, int, unsigned long)'
  memset(&mem68k_cont, 0, sizeof(mem68k_cont));
  ^
mem68k.c:172:3: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
1 warning generated.
source='reg68k.c' object='reg68k.o' libtool=no  depfile='.deps/reg68k.Po' tmpdepfile='.deps/reg68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f reg68k.c || echo './'`reg68k.c
source='event.c' object='event.o' libtool=no  depfile='.deps/event.Po' tmpdepfile='.deps/event.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f event.c || echo './'`event.c
source='generator.c' object='generator.o' libtool=no  depfile='.deps/generator.Po' tmpdepfile='.deps/generator.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f generator.c || echo './'`generator.c
generator.c:304:14: warning: assigning to 'uint8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  cpu68k_rom = (char *)rom; /* I won't alter it, promise */
             ^ ~~~~~~~~~~~
1 warning generated.
source='state.c' object='state.o' libtool=no  depfile='.deps/state.Po' tmpdepfile='.deps/state.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f state.c || echo './'`state.c
state.c:228:42: warning: passing 'int *' to parameter of type 'uint32 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  state_transfer32("vdp", "dmabytes", 0, &vdp_dmabytes, 1);
                                         ^~~~~~~~~~~~~
state.c:160:31: note: passing argument to parameter 'data' here
                      uint32 *data, uint32 size)
                              ^
state.c:392:5: warning: assigning to 'uint8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  p = blk;
    ^ ~~~
state.c:393:5: warning: assigning to 'uint8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  e = blk + statbuf.st_size;
    ^ ~~~~~~~~~~~~~~~~~~~~~
state.c:411:14: warning: assigning to 'char *' from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    ent->mod = p;
             ^ ~
state.c:415:15: warning: assigning to 'char *' from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    ent->name = p;
              ^ ~
5 warnings generated.
source='cpuz80.c' object='cpuz80.o' libtool=no  depfile='.deps/cpuz80.Po' tmpdepfile='.deps/cpuz80.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f cpuz80.c || echo './'`cpuz80.c
source='vdp.c' object='vdp.o' libtool=no  depfile='.deps/vdp.Po' tmpdepfile='.deps/vdp.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f vdp.c || echo './'`vdp.c
source='gensound.c' object='gensound.o' libtool=no  depfile='.deps/gensound.Po' tmpdepfile='.deps/gensound.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f gensound.c || echo './'`gensound.c
gensound.c:364:11: warning: assigning to 'sint16 *' (aka 'short *') from 'uint16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
  tbuf[0] = sound_soundbuf[0] + s1;
          ^ ~~~~~~~~~~~~~~~~~~~~~~
gensound.c:365:11: warning: assigning to 'sint16 *' (aka 'short *') from 'uint16 *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign]
  tbuf[1] = sound_soundbuf[1] + s1;
          ^ ~~~~~~~~~~~~~~~~~~~~~~
gensound.c:395:7: warning: implicitly declaring C library function 'memset' with type 'void *(void *, int, unsigned long)'
      memset(tbuf[0], 0, 2 * samples);
      ^
gensound.c:395:7: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
3 warnings generated.
source='memz80.c' object='memz80.o' libtool=no  depfile='.deps/memz80.Po' tmpdepfile='.deps/memz80.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f memz80.c || echo './'`memz80.c
source='snprintf.c' object='snprintf.o' libtool=no  depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f snprintf.c || echo './'`snprintf.c
source='ui-gtk.c' object='ui-gtk.o' libtool=no  depfile='.deps/ui-gtk.Po' tmpdepfile='.deps/ui-gtk.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f ui-gtk.c || echo './'`ui-gtk.c
ui-gtk.c:304:20: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    gen_loadmemrom(initcart, initcart_len);
                   ^~~~~~~~
../hdr/generator.h:14:33: note: passing argument to parameter 'rom' here
void gen_loadmemrom(const char *rom, int romlen);
                                ^
ui-gtk.c:2125:15: warning: implicit declaration of function 'diss68k_getdumpline' is invalid in C99 [-Wimplicit-function-declaration]
      words = diss68k_getdumpline(mem_start + offset, mem_where + offset, p);
              ^
2 warnings generated.
source='uiplot.c' object='uiplot.o' libtool=no  depfile='.deps/uiplot.Po' tmpdepfile='.deps/uiplot.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f uiplot.c || echo './'`uiplot.c
source='gensoundp-unix.c' object='gensoundp-unix.o' libtool=no  depfile='.deps/gensoundp-unix.Po' tmpdepfile='.deps/gensoundp-unix.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f gensoundp-unix.c || echo './'`gensoundp-unix.c
gensoundp-unix.c:99:9: warning: implicit declaration of function 'abs' is invalid in C99 [-Wimplicit-function-declaration]
    if (abs(soundp_speed - sound_speed) < 100) {
        ^
1 warning generated.
source='initcart.c' object='initcart.o' libtool=no  depfile='.deps/initcart.Po' tmpdepfile='.deps/initcart.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f initcart.c || echo './'`initcart.c
source='patch.c' object='patch.o' libtool=no  depfile='.deps/patch.Po' tmpdepfile='.deps/patch.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f patch.c || echo './'`patch.c
source='dib.c' object='dib.o' libtool=no  depfile='.deps/dib.Po' tmpdepfile='.deps/dib.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f dib.c || echo './'`dib.c
source='avi.c' object='avi.o' libtool=no  depfile='.deps/avi.Po' tmpdepfile='.deps/avi.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f avi.c || echo './'`avi.c
avi.c:102:3: warning: implicitly declaring C library function 'memset' with type 'void *(void *, int, unsigned long)'
  memset(&h, 0, sizeof(t_avi_header));
  ^
avi.c:102:3: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
avi.c:113:3: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
  memcpy(&avi->info, info, sizeof(avi->info));
  ^
avi.c:113:3: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 warnings generated.
source='diss68k.c' object='diss68k.o' libtool=no  depfile='.deps/diss68k.Po' tmpdepfile='.deps/diss68k.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80  -I../sn76496 -I../gtkopts  -DFNAME_TCLSCRIPT=\"/usr/pkg/share/generator/gen.tcl\"  -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer -c `test -f diss68k.c || echo './'`diss68k.c
gcc  -O2 -I/usr/pkg/include -I/usr/include -O3 -ffast-math -fomit-frame-pointer  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o generator-gtk  cpu68k.o mem68k.o  reg68k.o event.o generator.o  state.o cpuz80.o vdp.o  gensound.o memz80.o snprintf.o  ui-gtk.o uiplot.o gensoundp-unix.o  initcart.o patch.o dib.o avi.o  diss68k.o ../cpu68k/lib68k.a ../ym2612/libym2612.a ../cmz80/libcmz80.a   ../sn76496/libsn76496.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread ../glade/libglade.a ../gtkopts/libgtkopts.a ../cpu68k/tab68k.o 
event.o: In function `event_doframe':
event.c:(.text+0x34): undefined reference to `event_nextevent'
event.o: In function `event_dostep':
event.c:(.text+0x71): undefined reference to `event_nextevent'
event.o: In function `event_freeze_clocks':
event.c:(.text+0x121): undefined reference to `event_nextevent'
vdp.o: In function `vdp_layer_simple':
vdp.c:(.text+0x27bc): undefined reference to `vdp_plotcell'
vdp.o: In function `vdp_sprite_simple':
vdp.c:(.text+0x3339): undefined reference to `vdp_plotcell'
vdp.c:(.text+0x3419): undefined reference to `vdp_plotcell'
vdp.c:(.text+0x34fa): undefined reference to `vdp_plotcell'
vdp.c:(.text+0x35ea): undefined reference to `vdp_plotcell'
../ym2612/libym2612.a(fm.o): In function `YM2612UpdateOne':
fm.c:(.text+0x102): undefined reference to `OPN_CALC_FCOUNT'
fm.c:(.text+0x10e): undefined reference to `OPN_CALC_FCOUNT'
fm.c:(.text+0x3a0): undefined reference to `OPN_CALC_FCOUNT'
fm.c:(.text+0x3b0): undefined reference to `OPN_CALC_FCOUNT'
fm.c:(.text+0x3bc): undefined reference to `OPN_CALC_FCOUNT'
../ym2612/libym2612.a(fm.o):fm.c:(.text+0x3c8): more undefined references to `OPN_CALC_FCOUNT' follow
../ym2612/libym2612.a(fm.o): In function `YM2612UpdateOne':
fm.c:(.text+0x4f5): undefined reference to `FM_CALC_CH'
fm.c:(.text+0x501): undefined reference to `FM_CALC_CH'
fm.c:(.text+0x50d): undefined reference to `FM_CALC_CH'
fm.c:(.text+0x519): undefined reference to `FM_CALC_CH'
fm.c:(.text+0x525): undefined reference to `FM_CALC_CH'
../ym2612/libym2612.a(fm.o):fm.c:(.text+0x549): more undefined references to `FM_CALC_CH' follow
../ym2612/libym2612.a(fm.o): In function `OPNWriteMode':
fm.c:(.text+0x190c): undefined reference to `FMSetMode'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/emulators/generator/work/generator-0.35/main
*** Error code 1

Stop.
make: stopped in /scratch/emulators/generator/work/generator-0.35
*** Error code 1

Stop.
make: stopped in /scratch/emulators/generator/work/generator-0.35
*** Error code 1

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

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