Howdy all. I'm not as experienced with C as I'd like to be, and I'm working on merging the updated mappers with 0.98.17. I figure this is good practice, but I need a hand deciphering make errors.
What I'm essentially doing is merging changes from fceu-mm-june16-2006 to the existing source one file at a time (this way I can see what's changed and how).
I've currently updated all the mappers/boards, and am making changes to the main source files that reference these changes, but when I build, I get the following error:
$ make
Making all in src
make[1]: Entering directory `/home/Maximus/fceu-0.98.17-wip/src'
source='general.c' object='general.o' libtool=no \
depfile='.deps/general.Po' tmpdepfile='.deps/general.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"fceu\" -DVERSION=\"0.98.17\" -D_GNU_SOURCE=1 -DHAVE_LIBZ=1 -DNETWORK=1 -DPSS_STYLE=2 -DWIN32=1 -DC80x86=1 -DLSB_FIRST=1 -DFCEU_VERSION=\"0.98.17\" -DFCEU_VERSION_NUMERIC=9817 -DFRAMESKIP=1 -g -O2 -c -o general.o `test -f 'general.c' || echo './'`general.c
In file included from general.c:37:
driver.h:196: error: conflicting types for 'MOVIE_INFO'
driver.h:196: error: previous declaration of 'MOVIE_INFO' was here
driver.h:203: error: conflicting types for 'FCEUI_MovieGetInfo'
driver.h:203: error: previous declaration of 'FCEUI_MovieGetInfo' was here
driver.h:203: error: conflicting types for 'FCEUI_MovieGetInfo'
driver.h:203: error: previous declaration of 'FCEUI_MovieGetInfo' was here
driver.h:290: error: redefinition of typedef 'TestCommandState'
driver.h:290: error: previous declaration of 'TestCommandState' was here
driver.h:296: error: redeclaration of `enum EMUSPEED_SET'
driver.h:297: error: conflicting types for 'EMUSPEED_SLOWEST'
driver.h:297: error: previous definition of 'EMUSPEED_SLOWEST' was here
driver.h:298: error: conflicting types for 'EMUSPEED_SLOWER'
driver.h:298: error: previous definition of 'EMUSPEED_SLOWER' was here
driver.h:299: error: conflicting types for 'EMUSPEED_NORMAL'
driver.h:299: error: previous definition of 'EMUSPEED_NORMAL' was here
driver.h:300: error: conflicting types for 'EMUSPEED_FASTER'
driver.h:300: error: previous definition of 'EMUSPEED_FASTER' was here
driver.h:302: error: conflicting types for 'EMUSPEED_FASTEST'
driver.h:302: error: previous definition of 'EMUSPEED_FASTEST' was here
make[1]: *** [general.o] Error 1
Any pointers as to what I should be looking for would be appreciated (may have bit off more than I can chew with this one)