logo       

New package sdlmame: msg#00020

t2.devel

Subject: New package sdlmame


This is a multi-part message in MIME format. Hi,

I am trying to get SDLMame[1] to build in T2.

SDLMame is the successor and a replacement for xmame, which has fallen into
disrepair and is not very up to date at all.

Target is a small 500MHz Geode LX-based 3.5"-PC that I have been given as
a leftover from an evaluation at a client of mine. I hope to get it running
using a purpose-built distribution using SDL on top of Framebuffer or maybe
directFB to minimize resource requirements and hopefully get a few of the
classic games to run. I have also been given a 6.5" LCD display, so if this
works out it may turn into a working 1:4 scale arcade cabinet as a winter
project :-).

Starting from a minimal selection of packages I got libsdl, esound and their
various requirements to build almost immediately. I managed to configure
libsdl to not require X11 at all, that was the only target-specific adaption
I did.

SDLName itself fails to build, however. I traced the problem to the fact that
the makefile passes the parameter -Wl to calls of the just the linker (not the
compiler, for wich it seems to be intended):

> Archiving obj/sdl/mame/libz.a...
> i686-t2-linux-uclibc-ar -cr obj/sdl/mame/libz.a obj/sdl/mame/lib/zlib/adler32.o obj/sdl/mame/lib/zlib/compress.o obj/sdl/mame/lib/zlib/crc32.o obj/sdl/mame/lib/zlib/deflate.o obj/sdl/mame/lib/zlib/gzio.o obj/sdl/mame/lib/zlib/inffast.o obj/sdl/mame/lib/zlib/inflate.o obj/sdl/mame/lib/zlib/infback.o obj/sdl/mame/lib/zlib/inftrees.o obj/sdl/mame/lib/zlib/trees.o obj/sdl/mame/lib/zlib/uncompr.o obj/sdl/mame/lib/zlib/zutil.o
> Linking obj/sdl/mame/build/verinfo...
> i686-t2-linux-uclibc-ld -Wl,--warn-common -s obj/sdl/mame/build/verinfo.o obj/sdl/mame/libocore.a -lm `sdl-config --libs` -o obj/sdl/mame/build/verinfo
> i686-t2-linux-uclibc-ld: unrecognized option '-Wl,--warn-common'
> i686-t2-linux-uclibc-ld: use the --help option for usage information
> make: *** [obj/sdl/mame/build/verinfo] Error 1
> make: *** Waiting for unfinished jobs....
> Due to previous errors, no 1-sdlmame.log file!

What could be the reason for this and what options are there to fix it?

Ciao, MM

[1] http://rbelmont.mameworld.info/?page_id=163
--
Marian Aldenhövel, Rosenhain 23, 53123 Bonn
http://www.marian-aldenhoevel.de
"I ran some quick calculations on it. He's about 80% on the right
track. That leaves him only 20% dead when he crashes." Bob C

Attachment: sdlmame-package.zip
Description: Zip compressed data



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise