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 Both sides next revision
mspacman:pi [2013/10/03 04:36]
ben
mspacman:pi [2013/10/03 05:17]
ben
Line 767: Line 767:
 collect2: ld returned 1 exit status collect2: ld returned 1 exit status
 make: *** [mame] Error 1 make: *** [mame] Error 1
 +</​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>​ </​code>​
mspacman/pi.txt · Last modified: 2013/10/06 08:40 by ben