User Tools

Site Tools


mspacman:pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
mspacman:pi [2013/10/03 04:36]
ben
mspacman:pi [2013/10/03 07:46]
ben
Line 768: Line 768:
 make: *** [mame] Error 1 make: *** [mame] Error 1
 </​code>​ </​code>​
 +
 +Checked and the includes look good for devcb.h, added it explicitly anyway to ay8910.c, no change.
 +
 +Commented out the four lines, which will likely mean something very important is broken.
 +
 +Commened out unidasm.o from tools.mak, since that has tons of references to various CPUs.
 +
 +And finally a binary is born:
 +<​code>​
 +obj/​sdl/​mame/​tools/​unidasm.o:​(.rodata+0x75c):​ undefined reference to `cpu_disassemble_z180'​
 +obj/​sdl/​mame/​tools/​unidasm.o:​(.rodata+0x77c):​ undefined reference to `cpu_disassemble_z8'​
 +collect2: ld returned 1 exit status
 +make: *** [unidasm] Error 1
 +pi@pi ~/​src/​sdlmame0136 $ vi src/tools/
 +chdcd.c ​      ​chdman.c ​     ldresample.c ​ regrep.c ​     runtest.cmd ​  ​src2html.c ​   tools.mak ​    
 +chdcd.h ​      ​jedutil.c ​    ​ldverify.c ​   romcmp.c ​     split.c ​      ​srcclean.c ​   unidasm.c ​    
 +pi@pi ~/​src/​sdlmame0136 $ vi src/​tools/​tools.mak ​
 +pi@pi ~/​src/​sdlmame0136 $ make
 +Compiling src/​tools/​ldresample.c...
 +Linking ldresample...
 +Compiling src/​tools/​ldverify.c...
 +Linking ldverify...
 +Compiling src/​tools/​regrep.c...
 +Linking regrep...
 +Compiling src/​tools/​srcclean.c...
 +Linking srcclean...
 +Compiling src/​tools/​src2html.c...
 +Linking src2html...
 +Compiling src/​tools/​split.c...
 +src/​tools/​split.c:​ In function ‘split_file’:​
 +src/​tools/​split.c:​101:​9:​ warning: variable ‘totalparts’ set but not used [-Wunused-but-set-variable]
 +src/​tools/​split.c:​ In function ‘main’:
 +src/​tools/​split.c:​421:​6:​ warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
 +Linking split...
 +pi@pi ~/​src/​sdlmame0136 $ ls
 +artwork ​ chdman ​   diff  ini      keymaps ​    ​ldverify ​ mame   ​obj ​    ​romcmp ​ runtest ​     split  src2html ​ testkeys
 +cfg      comments ​ docs  jedutil ​ ldresample ​ makefile ​ nvram  regrep ​ roms    SDLMAME.txt ​ src    srcclean ​ ui.bdf
 +pi@pi ~/​src/​sdlmame0136 $ ./​mame ​
 +Loading BDF font... (256 characters loaded)
 +Loading BDF font... (512 characters loaded)
 +Loading BDF font... (768 characters loaded)
 +Loading BDF font... (1024 characters loaded)
 +Loading BDF font... (1280 characters loaded)
 +Loading BDF font... (1536 characters loaded)
 +Generating cached BDF font...
 +Could not initialize SDL Unable to open a console terminal
 +
 +</​code>​
 +
 +Went looking to see if there might be a compiler issue with the undefined references, running "gcc version 4.6.3 (Debian 4.6.3-14+rpi1)",​ there'​s a 4.7 version available, installing it via ''​sudo apt-get install gcc-4.7''​.
 +
 +Re-instated the devcb_read lines in ay8910.c, make clean, make.
 +
 +No difference, and everything I try to do gets a "Bus error"​. ​ Boo.
mspacman/pi.txt · Last modified: 2013/10/06 08:40 by ben