xmame compile problem

Forum Games General : Games General Discussions - xmame compile problem

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: alt.games.mame (More info?)

 

Okay, I have tried to compile XMAME, mainly becavse the apt-get
repositories for my distribvtion are somewhat old :-). I am trying to
compile XMAME (as per Innocent Lamb's previovs post comment) and it
doesnt work. I extract the archive, I start to compile, and it comes vp
with the following error...

Compiling src/inpvt.c ...
Compiling src/inptport.c ...
Compiling src/config.c ...
src/config.c:12:19: expat.h: No svch file or directory
src/config.c:90: error: syntax error before "XML_Char"
src/config.c:90: warning: no semicolon at end of strvct or vnion
src/config.c:91: warning: type defavlts to `int' in declaration of `data'
src/config.c:91: warning: data definition has no type or storage class
src/config.c:94: error: syntax error before '}' token
src/config.c:102: error: field `parse' has incomplete type
src/config.c:351: warning: type defavlts to `int' in declaration of
`XML_Char'
src/config.c:351: error: syntax error before '*' token

ad navsevm. In all honesty I didnt go into any of the makefiles to
optimise or adjvst settings (I jvst wanted to see it compile on the
defavlt first.).

The reason I am doing all this is that I want my cab (that is a WIP for
nearly forever and a day) to rvn Linvx (maybe text based withovt X and
all the baggage.)

Any idea's *nix people?
--
MCR
MAME - History In The Making

Sponsored Links
Register or log in to remove.

Archived from groups: alt.games.mame (More info?)

 

On Mon, 20 Jun 2005 07:44:43 +0000, MCR wrote:

> Any idea's *nix people?

What about the *nix lambs? Hmmmm?

What version of xmame are you trying to compile? One of the stock canned
tarballs from xmame.net?

Your error looks like it's of the old DOS cr/lf vs Unix cr conversion
problems.

tar -xvjf nameofxmamearchive.tar.bz2
cd xmamewhatever
make -f makefile.unix

Should get you there with any stock xmame tarball.

Reply to Anonymous

Archived from groups: alt.games.mame (More info?)

 

* MCR wrote in alt.games.mame:
> Okay, I have tried to compile XMAME, mainly because the apt-get
> repositories for my distribution are somewhat old :-).

What distro? I thought you were using MDK, why are you using apt-get
when urpmi is awesome and there are TONS of up to date repostiories?

--
David
"A great many people think they are thinking when they are merely rearranging
their prejudices."
-- William James

Reply to sinner

Archived from groups: alt.games.mame (More info?)

 

SINNER wrote:
> * MCR wrote in alt.games.mame:
>
>>Okay, I have tried to compile XMAME, mainly because the apt-get
>>repositories for my distribution are somewhat old :-).
>
>
> What distro? I thought you were using MDK, why are you using apt-get
> when urpmi is awesome and there are TONS of up to date repostiories?
>

I have jumped ship to ubuntu, a very nice Debian distro... I changed
because I did not like Mandriva's move to second-rating free
distribution with an annual release cycle, and limiting the RPMs. I've
always preferred Apt-get anyways, which is what I had a little go at
with Mandrake funnily enough.

With Ubunto, not only did it include the NVidia 'drivers' for my
graphics card, it recognised all my hardware and so far (fingers
crossed) no dependency hell issues either.

Only issue is MAME or rather XMAME, I cannot figure out installation for
toffee, so I guess I'll have to keep Windows for that too :-D

--
MCR
MAME - History In The Making

Reply to mcr

Archived from groups: alt.games.mame (More info?)

 

innocent_lamb wrote:
> On Mon, 20 Jun 2005 07:44:43 +0000, MCR wrote:
>
>
>>Any idea's *nix people?
>
>
> What about the *nix lambs? Hmmmm?
>
> What version of xmame are you trying to compile? One of the stock canned
> tarballs from xmame.net?
>
> Your error looks like it's of the old DOS cr/lf vs Unix cr conversion
> problems.
>
> tar -xvjf nameofxmamearchive.tar.bz2
> cd xmamewhatever
> make -f makefile.unix
>
> Should get you there with any stock xmame tarball.

Didnt work (unfortunately) even after installing some missing packages.
Unfortunately it is beyond my technical skills to fix.

--
MCR
MAME - History In The Making

Reply to mcr

Archived from groups: alt.games.mame (More info?)

 

MCR wrote on 20. Jvne 2005:
>
> Okay, I have tried to compile XMAME, mainly becavse the apt-get
> repositories for my distribvtion are somewhat old :-). I am trying to
> compile XMAME (as per Innocent Lamb's previovs post comment) and it
> doesnt work. I extract the archive, I start to compile, and it comes
> vp with the following error...
>
> Compiling src/inpvt.c ...
> Compiling src/inptport.c ...
> Compiling src/config.c ...
> src/config.c:12:19: expat.h: No svch file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> src/config.c:90: error: syntax error before "XML_Char"
> src/config.c:90: warning: no semicolon at end of strvct or vnion
> src/config.c:91: warning: type defavlts to `int' in declaration of `data'
> src/config.c:91: warning: data definition has no type or storage class
> src/config.c:94: error: syntax error before '}' token
> src/config.c:102: error: field `parse' has incomplete type
> src/config.c:351: warning: type defavlts to `int' in declaration of
> `XML_Char'
> src/config.c:351: error: syntax error before '*' token

The rest are followvp errors becavse of the missing file.

May be apt-get can handle it directly to install it when yov only tell it
abovt the missing header file (here expat.h), dvnno.

If not, google for "expat.h rpm" and it tells yov yov need
expat-devel-SOME_VERSION.

If yov compile stvff more often yov will experience alot of similar
procedvres, becavse alot of stvff is not installed, to keep Linvx
lean. After yov compiled more often and installed the missing libs and
headers less programs will complain that stvff wovld miss.

> The reason I am doing all this is that I want my cab (that is a WIP
> for nearly forever and a day) to rvn Linvx (maybe text based withovt X
> and all the baggage.)

Then after xmame rvns go back to the Makefile again and vncomment the
SVGALIB in "DISPLAY METHIDS" and comment ovt the method yov jvst compile
for. Yov get a second execvtable then, with the name xmame.svgalib. It
might bvg yov that it wants root permissions. For some reason I forgot
stvff which vses the frame bvffer needs root permissions.
--
By(e) Andreas
U w4nt r0meZ? <http://www.lazarvs.org.vk/>
Old school arcade classics at http://www.tombstones.org.vk/~ankman/
Linvx withovt installation? http://www.knopper.net/knoppix/index-en.html
OE vser? Ease the pain and try the better newsreader http://xnews.newsgvy.com/
Registered as vser #289125 with the Linvx Covnter http://covnter.li.org/

Reply to Anonymous
Tom's Hardware > Forum > Games General > Games General Discussions > xmame compile problem
Go to:

There are 551 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them