Results 1 to 3 of 3

Thread: Compiling MAME4all in an ARM-based laptop running Linux

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Compiling MAME4all in an ARM-based laptop running Linux

    Hi all,

    this is my first post so I hope I'm not off-topic here.

    I´m trying to compile MAME4all in a prototype of the upcoming OLPC laptop. It features a 800MHz ARMv7 processor.

    I've downloaded the source from here, uncompressed it and simply ran make.

    It does take some time, but seems to build all modules in compilation and gets to ld time. Unfortunately it's not able to get past there and I get these messages:


    Code:
    [olpc@xo-6d-61-b9 mame4all]$ sudo makecc `sdl-config --cflags` -O3 -DDATA_PREFIX=\"data/\"  -DROM_PREFIX=\"example\" -O3 -fstrict-aliasing -fexpensive-optimizations -falign-functions -fweb -frename-registers -fomit-frame-pointer -ffast-math -finline -finline-functions -fno-builtin -fno-common -Isrc -Isrc/sdl -DLSB_FIRST -DSIGNED_SAMPLES -DACORN -DINLINE="static __inline__" -Isrc/z80 -Isrc/m6502 -Isrc/m6809 -Isrc/i86 -Isrc/tms34010 -Isrc/tms9900  -DUSE_Z80_GP -DUSE_M6809_GP -DUSE_M6502_GP -DUSE_M6805_GP -DUSE_I8085_GP -DUSE_I8039_GP -DUSE_M6808_GP -DUSE_S2650_GP -DUSE_I86_GP -DUSE_T11_GP -DUSE_YM2151_GP -DUSE_YM2XXX_GP -DUSE_AY8910_GP -DUSE_OKIM6295_GP -DUSE_MSM5205_GP -DNO_DRIVER_TMS -DUSE_RAZE -DUSE_SEGAPCM_GP -DUSE_RF5C68_GP -DUSE_TMS32010_GP -DUSE_ADPCM_GP -DUSE_H6280_GP -DUSE_QSOUND_GP -DNO_DRIVER_NEOGEO -DUSE_M68000_GP -DUSE_FAME -DMITSHM -DUSE_FILECACHE -DGP2X_SDLWRAPPER_NODOUBLEBUFFER -DNO_Z80_BIG_FLAGS_ARRAY -DUSE_CPLUS -DMAME4ALL_AGED -DMAME4ALL_CPU_CLOCK=100 -DUNZIP_SUPPORT -DZLIB -DHAVE_MKSTEMP -DHAVE_STRINGS_H '-DACCEPT_SIZE_T=int' -o mame4all src/raze/raze/raze_1.o src/raze/raze/raze_2.o src/raze/raze/raze_3.o src/raze/raze/raze_4.o src/raze/mamez80/z80.o src/raze/z80intrf.o src/m6502/m6502.o src/h6280/h6280.o src/tms32010/tms32010.o src/m6809/m6809.o src/fame/fame.o src/fame/musashi.o src/fame/m68000.o src/m6805/m6805.o  src/i8039/i8039.o src/m6808/m6808.o src/s2650/s2650.o src/i86/i86.o src/t11/t11.o src/i8085/i8085.o  src/vidhrdw/ambush.o src/drivers/ambush.o src/machine/pacman.o src/drivers/pacman.o src/machine/pacplus.o src/machine/theglob.o src/drivers/maketrax.o src/machine/jrpacman.o src/drivers/jrpacman.o src/vidhrdw/jrpacman.o src/vidhrdw/pengo.o src/drivers/pengo.o src/vidhrdw/galaxian.o src/drivers/galaxian.o src/sndhrdw/mooncrst.o src/drivers/mooncrst.o  src/machine/scramble.o src/sndhrdw/scramble.o src/drivers/scramble.o src/vidhrdw/frogger.o src/sndhrdw/frogger.o src/drivers/frogger.o src/drivers/ckongs.o src/drivers/scobra.o src/vidhrdw/amidar.o src/drivers/amidar.o src/vidhrdw/jumpbug.o src/drivers/jumpbug.o src/vidhrdw/fastfred.o src/drivers/fastfred.o  src/vidhrdw/cclimber.o src/sndhrdw/cclimber.o src/drivers/cclimber.o src/vidhrdw/seicross.o src/drivers/seicross.o  src/vidhrdw/phoenix.o src/sndhrdw/phoenix.o src/drivers/phoenix.o src/sndhrdw/pleiads.o src/vidhrdw/naughtyb.o src/drivers/naughtyb.o src/vidhrdw/rallyx.o src/drivers/rallyx.o src/drivers/locomotn.o src/machine/bosco.o src/sndhrdw/bosco.o src/vidhrdw/bosco.o src/drivers/bosco.o src/machine/galaga.o src/vidhrdw/galaga.o src/drivers/galaga.o src/machine/digdug.o src/vidhrdw/digdug.o src/drivers/digdug.o src/vidhrdw/xevious.o src/machine/xevious.o src/drivers/xevious.o src/machine/superpac.o src/vidhrdw/superpac.o src/drivers/superpac.o src/machine/mappy.o src/vidhrdw/mappy.o src/drivers/mappy.o src/vidhrdw/pacland.o src/drivers/pacland.o src/vidhrdw/rthunder.o src/drivers/rthunder.o src/machine/gaplus.o src/vidhrdw/gaplus.o src/drivers/gaplus.o src/vidhrdw/cosmica.o src/drivers/cosmica.o src/vidhrdw/cheekyms.o src/drivers/cheekyms.o src/machine/panic.o src/vidhrdw/panic.o src/drivers/panic.o src/vidhrdw/ladybug.o src/drivers/ladybug.o src/vidhrdw/mrdo.o src/drivers/mrdo.o src/machine/docastle.o src/vidhrdw/docastle.o src/drivers/docastle.o src/drivers/dowild.o src/vidhrdw/dkong.o src/sndhrdw/dkong.o src/drivers/dkong.o src/vidhrdw/mario.o src/sndhrdw/mario.o src/drivers/mario.o src/vidhrdw/popeye.o src/drivers/popeye.o src/vidhrdw/punchout.o src/sndhrdw/punchout.o src/drivers/punchout.o src/machine/8080bw.o src/vidhrdw/8080bw.o src/sndhrdw/8080bw.o src/drivers/8080bw.o src/vidhrdw/m79amb.o src/drivers/m79amb.o  src/machine/z80bw.o src/vidhrdw/z80bw.o src/sndhrdw/z80bw.o src/drivers/z80bw.o src/drivers/lazercmd.o src/vidhrdw/lazercmd.o src/drivers/meadows.o src/sndhrdw/meadows.o src/vidhrdw/meadows.o src/drivers/medlanes.o src/vidhrdw/medlanes.o  src/machine/wow.o src/vidhrdw/wow.o src/sndhrdw/wow.o src/drivers/wow.o src/sndhrdw/gorf.o  src/vidhrdw/mpatrol.o src/drivers/mpatrol.o src/vidhrdw/yard.o src/drivers/yard.o src/vidhrdw/kungfum.o src/drivers/kungfum.o src/vidhrdw/travrusa.o src/drivers/travrusa.o src/vidhrdw/ldrun.o src/drivers/ldrun.o src/vidhrdw/kncljoe.o src/drivers/kncljoe.o src/vidhrdw/crbaloon.o src/drivers/crbaloon.o src/machine/qix.o src/vidhrdw/qix.o src/drivers/qix.o src/machine/taito.o src/vidhrdw/taito.o src/drivers/taito.o src/machine/williams.o src/vidhrdw/williams.o src/drivers/williams.o src/machine/capbowl.o src/vidhrdw/capbowl.o src/vidhrdw/tms34061.o src/drivers/capbowl.o src/vidhrdw/blockade.o src/drivers/blockade.o src/vidhrdw/vicdual.o src/sndhrdw/vicdual.o src/drivers/vicdual.o src/vidhrdw/sega.o src/sndhrdw/sega.o src/machine/sega.o src/drivers/sega.o src/vidhrdw/segar.o src/sndhrdw/segar.o src/machine/segar.o src/drivers/segar.o src/sndhrdw/monsterb.o src/vidhrdw/zaxxon.o src/sndhrdw/zaxxon.o src/drivers/zaxxon.o src/sndhrdw/congo.o src/drivers/congo.o src/vidhrdw/system8.o src/drivers/system8.o src/vidhrdw/btime.o src/drivers/btime.o src/vidhrdw/tagteam.o src/drivers/tagteam.o src/vidhrdw/astrof.o src/sndhrdw/astrof.o src/drivers/astrof.o src/vidhrdw/kchamp.o src/drivers/kchamp.o src/vidhrdw/firetrap.o src/drivers/firetrap.o src/vidhrdw/brkthru.o src/drivers/brkthru.o src/vidhrdw/shootout.o src/drivers/shootout.o src/vidhrdw/sidepckt.o src/drivers/sidepckt.o src/vidhrdw/exprraid.o src/drivers/exprraid.o src/vidhrdw/dec8.o src/drivers/dec8.o src/vidhrdw/pooyan.o src/drivers/pooyan.o src/vidhrdw/timeplt.o src/drivers/timeplt.o src/sndhrdw/timeplt.o src/vidhrdw/rocnrope.o src/drivers/rocnrope.o src/sndhrdw/gyruss.o src/vidhrdw/gyruss.o src/drivers/gyruss.o src/machine/konami.o src/vidhrdw/trackfld.o src/sndhrdw/trackfld.o src/drivers/trackfld.o src/vidhrdw/circusc.o src/drivers/circusc.o src/machine/tp84.o src/vidhrdw/tp84.o src/drivers/tp84.o src/vidhrdw/hyperspt.o src/drivers/hyperspt.o src/vidhrdw/sbasketb.o src/drivers/sbasketb.o src/vidhrdw/mikie.o src/drivers/mikie.o src/vidhrdw/yiear.o src/drivers/yiear.o src/vidhrdw/shaolins.o src/drivers/shaolins.o src/vidhrdw/pingpong.o src/drivers/pingpong.o src/vidhrdw/gberet.o src/drivers/gberet.o src/vidhrdw/jailbrek.o src/drivers/jailbrek.o src/vidhrdw/ironhors.o src/drivers/ironhors.o src/machine/jackal.o src/vidhrdw/jackal.o src/drivers/jackal.o src/vidhrdw/contra.o src/drivers/contra.o src/vidhrdw/mainevt.o src/drivers/mainevt.o src/machine/combatsc.o src/vidhrdw/combatsc.o src/drivers/combatsc.o src/machine/ddrible.o src/vidhrdw/ddrible.o src/drivers/ddrible.o src/machine/exidy.o src/vidhrdw/exidy.o src/sndhrdw/exidy.o src/drivers/exidy.o src/sndhrdw/targ.o src/vidhrdw/circus.o src/drivers/circus.o src/machine/starfire.o src/vidhrdw/starfire.o src/drivers/starfire.o src/machine/kangaroo.o src/vidhrdw/kangaroo.o src/drivers/kangaroo.o src/machine/arabian.o src/vidhrdw/arabian.o src/drivers/arabian.o src/machine/missile.o src/vidhrdw/missile.o src/drivers/missile.o src/machine/sprint2.o src/vidhrdw/sprint2.o src/drivers/sprint2.o src/machine/sbrkout.o src/vidhrdw/sbrkout.o src/drivers/sbrkout.o src/machine/dominos.o src/vidhrdw/dominos.o src/drivers/dominos.o src/vidhrdw/nitedrvr.o src/machine/nitedrvr.o src/drivers/nitedrvr.o src/vidhrdw/bsktball.o src/machine/bsktball.o src/drivers/bsktball.o src/vidhrdw/copsnrob.o src/machine/copsnrob.o src/drivers/copsnrob.o src/machine/avalnche.o src/vidhrdw/avalnche.o src/drivers/avalnche.o src/machine/subs.o src/vidhrdw/subs.o src/drivers/subs.o src/machine/atarisy2.o src/vidhrdw/atarisy2.o src/drivers/atarisy2.o src/vidhrdw/rockola.o src/sndhrdw/rockola.o src/drivers/rockola.o src/vidhrdw/warpwarp.o src/sndhrdw/warpwarp.o src/drivers/warpwarp.o src/machine/berzerk.o src/vidhrdw/berzerk.o src/sndhrdw/berzerk.o src/drivers/berzerk.o src/vidhrdw/gameplan.o src/drivers/gameplan.o src/vidhrdw/route16.o src/drivers/route16.o src/vidhrdw/zaccaria.o src/drivers/zaccaria.o src/vidhrdw/nova2001.o src/drivers/nova2001.o src/vidhrdw/pkunwar.o src/drivers/pkunwar.o src/vidhrdw/ninjakd2.o src/drivers/ninjakd2.o src/vidhrdw/jack.o src/drivers/jack.o src/vidhrdw/thepit.o src/drivers/thepit.o src/vidhrdw/gottlieb.o src/sndhrdw/gottlieb.o src/drivers/gottlieb.o src/machine/bagman.o src/vidhrdw/bagman.o src/drivers/bagman.o src/vidhrdw/tmnt.o src/drivers/tmnt.o  src/machine/system16.o src/vidhrdw/system16.o src/sndhrdw/system16.o src/sndhrdw/segapcm.o src/sndhrdw/rf5c68.o src/drivers/system16.o  src/vidhrdw/bking2.o src/drivers/bking2.o src/vidhrdw/gsword.o src/drivers/gsword.o src/vidhrdw/gladiatr.o src/drivers/gladiatr.o src/vidhrdw/tokio.o src/drivers/tokio.o src/machine/bublbobl.o src/vidhrdw/bublbobl.o src/drivers/bublbobl.o src/vidhrdw/rastan.o src/sndhrdw/rastan.o src/drivers/rastan.o src/machine/rainbow.o src/drivers/rainbow.o src/machine/arkanoid.o src/vidhrdw/arkanoid.o src/drivers/arkanoid.o src/vidhrdw/superqix.o src/drivers/superqix.o src/machine/twincobr.o src/vidhrdw/twincobr.o src/drivers/twincobr.o src/machine/tnzs.o src/vidhrdw/tnzs.o src/drivers/tnzs.o src/drivers/arkanoi2.o src/machine/slapfght.o src/vidhrdw/slapfght.o src/drivers/slapfght.o src/vidhrdw/superman.o src/drivers/superman.o src/machine/cchip.o src/vidhrdw/taitof2.o src/drivers/taitof2.o src/vidhrdw/ssi.o src/drivers/ssi.o src/machine/atari_vg.o src/machine/asteroid.o src/sndhrdw/asteroid.o src/vidhrdw/llander.o src/drivers/asteroid.o src/drivers/bwidow.o src/sndhrdw/bzone.o src/drivers/bzone.o src/sndhrdw/redbaron.o src/drivers/tempest.o src/machine/starwars.o src/machine/swmathbx.o src/drivers/starwars.o src/sndhrdw/starwars.o src/machine/mhavoc.o src/drivers/mhavoc.o src/machine/quantum.o src/drivers/quantum.o src/machine/centiped.o src/vidhrdw/centiped.o src/drivers/centiped.o src/machine/milliped.o src/vidhrdw/milliped.o src/drivers/milliped.o src/vidhrdw/qwakprot.o src/drivers/qwakprot.o src/vidhrdw/warlord.o src/drivers/warlord.o src/vidhrdw/nemesis.o src/drivers/nemesis.o src/machine/mcr.o src/vidhrdw/mcr1.o src/vidhrdw/mcr2.o src/vidhrdw/mcr3.o src/drivers/mcr1.o src/drivers/mcr2.o src/drivers/mcr3.o src/machine/mcr68.o src/vidhrdw/mcr68.o src/drivers/mcr68.o  src/vidhrdw/bombjack.o src/drivers/bombjack.o src/sndhrdw/starforc.o src/vidhrdw/starforc.o src/drivers/starforc.o src/vidhrdw/pbaction.o src/drivers/pbaction.o src/vidhrdw/tehkanwc.o src/drivers/tehkanwc.o src/vidhrdw/solomon.o src/drivers/solomon.o src/vidhrdw/tecmo.o src/drivers/tecmo.o src/vidhrdw/gaiden.o src/drivers/gaiden.o src/vidhrdw/wc90.o src/drivers/wc90.o src/vidhrdw/wc90b.o src/drivers/wc90b.o src/vidhrdw/karnov.o src/drivers/karnov.o src/machine/dec0.o src/vidhrdw/dec0.o src/drivers/dec0.o src/vidhrdw/darkseal.o src/drivers/darkseal.o src/vidhrdw/tumblep.o src/drivers/tumblep.o src/vidhrdw/cninja.o src/drivers/cninja.o  src/machine/gauntlet.o src/vidhrdw/gauntlet.o src/drivers/gauntlet.o src/vidhrdw/atetris.o src/drivers/atetris.o src/machine/toobin.o src/vidhrdw/toobin.o src/drivers/toobin.o src/vidhrdw/vindictr.o src/drivers/vindictr.o src/vidhrdw/klax.o src/drivers/klax.o src/machine/blstroid.o src/vidhrdw/blstroid.o src/drivers/blstroid.o src/vidhrdw/eprom.o src/drivers/eprom.o src/vidhrdw/xybots.o src/drivers/xybots.o  src/vidhrdw/mystston.o src/drivers/mystston.o src/vidhrdw/matmania.o src/drivers/matmania.o src/vidhrdw/renegade.o src/drivers/renegade.o src/vidhrdw/xain.o src/drivers/xain.o src/vidhrdw/ddragon.o src/drivers/ddragon.o src/vidhrdw/blockout.o src/drivers/blockout.o src/vidhrdw/vulgus.o src/drivers/vulgus.o src/vidhrdw/sonson.o src/drivers/sonson.o src/vidhrdw/higemaru.o src/drivers/higemaru.o src/vidhrdw/1942.o src/drivers/1942.o src/vidhrdw/exedexes.o src/drivers/exedexes.o src/vidhrdw/commando.o src/drivers/commando.o src/vidhrdw/gng.o src/drivers/gng.o src/vidhrdw/gunsmoke.o src/drivers/gunsmoke.o src/vidhrdw/srumbler.o src/drivers/srumbler.o src/machine/lwings.o src/vidhrdw/lwings.o src/drivers/lwings.o src/vidhrdw/sidearms.o src/drivers/sidearms.o src/vidhrdw/bionicc.o src/drivers/bionicc.o src/vidhrdw/1943.o src/drivers/1943.o src/vidhrdw/blktiger.o src/drivers/blktiger.o src/vidhrdw/tigeroad.o src/drivers/tigeroad.o src/vidhrdw/lastduel.o src/drivers/lastduel.o src/vidhrdw/sf1.o src/drivers/sf1.o  src/machine/cps1.o src/vidhrdw/cps1.o src/sndhrdw/qsound.o src/drivers/cps1.o src/machine/atarisy1.o src/vidhrdw/atarisy1.o src/drivers/atarisy1.o src/vidhrdw/wiz.o src/drivers/wiz.o  src/vidhrdw/cop01.o src/drivers/cop01.o src/vidhrdw/terracre.o src/drivers/terracre.o src/vidhrdw/galivan.o src/drivers/galivan.o src/vidhrdw/armedf.o src/drivers/armedf.o  src/machine/spacefb.o src/vidhrdw/spacefb.o src/sndhrdw/spacefb.o src/drivers/spacefb.o src/vidhrdw/tutankhm.o src/drivers/tutankhm.o src/drivers/junofrst.o src/vidhrdw/ccastles.o src/drivers/ccastles.o src/vidhrdw/blueprnt.o src/drivers/blueprnt.o src/drivers/omegrace.o src/vidhrdw/bankp.o src/drivers/bankp.o src/machine/espial.o src/vidhrdw/espial.o src/drivers/espial.o src/machine/cloak.o src/vidhrdw/cloak.o src/drivers/cloak.o src/vidhrdw/champbas.o src/drivers/champbas.o src/drivers/sinbadm.o src/vidhrdw/exerion.o src/drivers/exerion.o src/machine/foodf.o src/vidhrdw/foodf.o src/drivers/foodf.o src/machine/vastar.o src/vidhrdw/vastar.o src/drivers/vastar.o src/vidhrdw/aeroboto.o src/drivers/aeroboto.o src/vidhrdw/citycon.o src/drivers/citycon.o src/vidhrdw/psychic5.o src/drivers/psychic5.o src/machine/jedi.o src/vidhrdw/jedi.o src/sndhrdw/jedi.o src/drivers/jedi.o src/vidhrdw/tankbatt.o src/drivers/tankbatt.o src/vidhrdw/liberatr.o src/machine/liberatr.o src/drivers/liberatr.o src/vidhrdw/dday.o src/sndhrdw/dday.o src/drivers/dday.o src/vidhrdw/toki.o src/drivers/toki.o src/vidhrdw/snowbros.o src/drivers/snowbros.o src/vidhrdw/gundealr.o src/drivers/gundealr.o src/machine/leprechn.o src/vidhrdw/leprechn.o src/drivers/leprechn.o src/vidhrdw/hexa.o src/drivers/hexa.o src/vidhrdw/redalert.o src/sndhrdw/redalert.o src/drivers/redalert.o src/machine/irobot.o src/vidhrdw/irobot.o src/drivers/irobot.o src/machine/spiders.o src/vidhrdw/crtc6845.o src/vidhrdw/spiders.o src/drivers/spiders.o src/machine/stactics.o src/vidhrdw/stactics.o src/drivers/stactics.o src/vidhrdw/goldstar.o src/drivers/goldstar.o src/vidhrdw/vigilant.o src/drivers/vigilant.o src/vidhrdw/sharkatt.o src/drivers/sharkatt.o src/machine/turbo.o src/vidhrdw/turbo.o src/drivers/turbo.o src/vidhrdw/kingobox.o src/drivers/kingobox.o src/vidhrdw/zerozone.o src/drivers/zerozone.o src/machine/exctsccr.o src/vidhrdw/exctsccr.o src/drivers/exctsccr.o src/vidhrdw/speedbal.o src/drivers/speedbal.o src/vidhrdw/sauro.o src/drivers/sauro.o src/vidhrdw/pow.o src/drivers/pow.o src/machine/kabuki.o src/vidhrdw/pang.o src/drivers/pang.o src/vidhrdw/pcktgal.o src/drivers/pcktgal.o src/vidhrdw/snk.o src/drivers/snk.o src/vidhrdw/galpanic.o src/drivers/galpanic.o src/vidhrdw/aerofgt.o src/drivers/aerofgt.o src/vidhrdw/toaplan1.o src/drivers/zerowing.o src/vidhrdw/prehisle.o src/drivers/prehisle.o src/vidhrdw/megasys1.o src/drivers/megasys1.o src/vidhrdw/sichuan2.o src/sndhrdw/sichuan2.o src/drivers/sichuan2.o src/vidhrdw/cabal.o src/drivers/cabal.o src/vidhrdw/goindol.o src/drivers/goindol.o src/vidhrdw/megazone.o src/drivers/megazone.o src/vidhrdw/troangel.o src/drivers/troangel.o src/vidhrdw/marineb.o src/drivers/marineb.o src/vidhrdw/canyon.o src/drivers/canyon.o src/drivers/funkybee.o src/vidhrdw/funkybee.o src/drivers/pandoras.o src/vidhrdw/pandoras.o src/drivers/wardner.o src/mame.o src/common.o src/driver.o src/cpuintrf.o src/memory.o src/timer.o src/palette.o src/inptport.o src/unzip.o src/inflate.o src/tilemap.o src/sprite.o src/sndhrdw/irem.o src/sndhrdw/3812intf.o src/sndhrdw/tms5220.o src/sndhrdw/5220intf.o src/sndhrdw/vlm5030.o src/sndhrdw/pokey.o src/sndhrdw/sn76496.o src/sndhrdw/nes.o src/sndhrdw/nesintf.o src/sndhrdw/astrocde.o src/sndhrdw/votrax.o src/sndhrdw/dac.o src/sndhrdw/samples.o src/sndhrdw/streams.o src/machine/z80fmly.o src/machine/6821pia.o src/vidhrdw/generic.o src/sndhrdw/generic.o src/vidhrdw/vector.o src/vidhrdw/avgdvg.o src/machine/mathbox.o src/sndhrdw/namco.o src/sndhrdw/namcos1.o src/machine/segacrpt.o src/machine/atarigen.o src/machine/slapstic.o src/machine/ticket.o src/sndhrdw/upd7759.o src/sndhrdw/k007232.o src/sndhrdw/msm5205i.o src/sdl/fastmem.o src/sdl/minimal.o src/sdl/gp2x.o src/sdl/gp2x_menu.o src/sdl/video.o src/sdl/video16.o src/sdl/input.o src/sdl/sound.o src/sdl/audio.o src/sdl/filecache.o src/sdl/fileio.o src/sndhrdw/adpcm.o  src/sndhrdw/fm.o src/sndhrdw/2151intf.o src/sndhrdw/ym2151.o src/sndhrdw/ym3812.o  src/sndhrdw/ay8910.o src/sndhrdw/psgintf.o src/sndhrdw/2610intf.o src/sndhrdw/2612intf.o src/sndhrdw/ym2413.o `sdl-config --libs` -lSDL_mixer -lz
    /usr/bin/ld: src/raze/raze/raze_1.o: Relocations in generic ELF (EM: 3)
    src/raze/raze/raze_1.o: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make: *** [mame4all] Error 1
    [olpc@xo-6d-61-b9 mame4all]$

    any ideas on what those "Relocations in generic ELF" errors could mean?


    Thanks!!!

    F

  2. #2
    DCEmu Newbie
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default MAME4ALL ARM compilation - relocations in generic ELF problem

    An update:

    On the errors I'm getting when compiling -or more specifically, when linking- MAME4ALL (src/raze/raze/raze_1.o: Relocations in generic ELF (EM: 3)), this is not due to crosscompiling an .o file that was produced for a different architecture. This seems to be produced by modules written in assembler (src/raze/raze/raze_1.asm and more on that subdirectory) that are compiled along with the C and C++ modules upon running "make". Before doing this, there is no .o file in that directory, so these are produced in compilation time.

    This puzzles me even more, as the compiler seems to be accepting these modules, but the code produced (the .o files) is producing that error, as if the compiled code was not understood by the CPU.

    Does anyone know:
    - What this code does?
    - Is there any way to produce these .o files in a form acceptable to an ARM processor? (I guess this should've appeared when compiling MAME4ALL for any non-x86 architecture such as the iPhone or iPad?
    - Any chance of simply removing these modules and compiling a version without them? How would this be made?

    thanks a lot
    f

  3. #3
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    39

    Default

    I suppose that XO-Platform uses VIA-C7 x86 processor so Raze Z80 assembler core must compile it. Can you compile Fame M68K assembler core without linking problem? This message appear when you try to add a module for other architecture, for example when you try to link with a ELF module for X86 on ARM target.



    Send me your Makefile that you use.



    Anyway, you can compile without assembler changing disabling (no defining) M68000_ASM_CORE and Z80_ASM_CORE at Makefile/config.mk.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installing Linux on a 386 laptop
    By wraggster in forum PC News Forum
    Replies: 0
    Last Post: August 14th, 2011, 17:59
  2. HP slips out stylish, Core i3-based G62t laptop
    By allaboutsymbian in forum Off Topic Forum
    Replies: 0
    Last Post: February 4th, 2010, 18:20
  3. Compiling Mame4All
    By Guaripolo in forum Chuis's Dev & Discussion Forum
    Replies: 0
    Last Post: August 5th, 2007, 16:33
  4. can't get 3 wonders or SF2 running on Mame4all /ver 3!! help!
    By sosambora in forum DCEmu Handheld/Mobile Gaming & General Discussion Forum
    Replies: 0
    Last Post: July 23rd, 2006, 13:42
  5. Compiling MAME4ALL for Dreamcast with DCDev R2 ISO
    By marton in forum DCEmu Console/PC Homebrew, Emulation, Hacking and Development Forum
    Replies: 17
    Last Post: May 11th, 2006, 13:47

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •