iXalance: Midas problems

Hi all,

I downloaded the iXalance demo loader but am unable to compile due to
Midas problems. I installed Midas 1.12 by putting libmidas.a in
/usr/local/lib and doing ldconfig, also putting midasdll.h in
/usr/local/include, but I get these errors when I try to make:

d32load.o: In function ResumePart': iXalance-1.0.5/d32load.c:260: undefined reference toMIDASresume’
d32load.o: In function PausePart': iXalance-1.0.5/d32load.c:269: undefined reference toMIDASsuspend’

Anyone know what I need to do to get this working? Thanks for any
suggestions or hints.–
Steve Madsen
H2Eye Ltd.
24-28 Hatton Wall
London EC1N 8JH
United Kingdom (UK)
Tel: +44 (0) 207 404 9600
Fax: +44 (0) 207 404 9490
Email: @Steve_Madsen

Hi all,

I downloaded the iXalance demo loader but am unable to compile due to
Midas problems. I installed Midas 1.12 by putting libmidas.a in
/usr/local/lib and doing ldconfig, also putting midasdll.h in
/usr/local/include, but I get these errors when I try to make:

d32load.o: In function ResumePart': iXalance-1.0.5/d32load.c:260: undefined reference to MIDASresume’
d32load.o: In function PausePart': iXalance-1.0.5/d32load.c:269: undefined reference to MIDASsuspend’

Anyone know what I need to do to get this working? Thanks for any
suggestions or hints.

You need the port of MIDAS to SDL:
http://www.devolution.com/~slouken/SDL/projects/midas/

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hmmm,

I have a different set of problems - when I compile Midas and iXalance
with SDL 1.0.6, I run ixalance on a sample demo (jizz.ixa or something)
and it shows the progress bar loading the demo. When the loading reaches
completion I get a segmentation fault (SDL parachute deployed) and that’s
it. The big fat demo (I forget it’s name) won’t even load.

Anyone else seen this?

MarcusOn Thu, 2 Mar 2000, Steve Madsen wrote:

Hi all,

I downloaded the iXalance demo loader but am unable to compile due to
Midas problems. I installed Midas 1.12 by putting libmidas.a in
/usr/local/lib and doing ldconfig, also putting midasdll.h in
/usr/local/include, but I get these errors when I try to make:

d32load.o: In function ResumePart': iXalance-1.0.5/d32load.c:260: undefined reference toMIDASresume’
d32load.o: In function PausePart': iXalance-1.0.5/d32load.c:269: undefined reference toMIDASsuspend’

Anyone know what I need to do to get this working? Thanks for any
suggestions or hints.


Steve Madsen
H2Eye Ltd.
24-28 Hatton Wall
London EC1N 8JH
United Kingdom (UK)
Tel: +44 (0) 207 404 9600
Fax: +44 (0) 207 404 9490
Email: steve at h2eye.com

Hmmm,

I have a different set of problems - when I compile Midas and iXalance
with SDL 1.0.6, I run ixalance on a sample demo (jizz.ixa or something)
and it shows the progress bar loading the demo. When the loading reaches
completion I get a segmentation fault (SDL parachute deployed) and that’s
it. The big fat demo (I forget it’s name) won’t even load.

Try SDL 1.0.7

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Same here (upgrading to 1.0.7 doesn’t help).

Some quick debugging has shown that MIDASloadModule(tempname)
in d32load.c always returns NULL.

MarkusOn 02-Mar-2000 M. R. Brown wrote:

Hmmm,

I have a different set of problems - when I compile Midas and iXalance
with SDL 1.0.6, I run ixalance on a sample demo (jizz.ixa or something)
and it shows the progress bar loading the demo. When the loading reaches
completion I get a segmentation fault (SDL parachute deployed) and that’s
it. The big fat demo (I forget it’s name) won’t even load.

Anyone else seen this?

Marcus

On Thu, 2 Mar 2000, Steve Madsen wrote:

Hi all,

I downloaded the iXalance demo loader but am unable to compile due to
Midas problems. I installed Midas 1.12 by putting libmidas.a in
/usr/local/lib and doing ldconfig, also putting midasdll.h in
/usr/local/include, but I get these errors when I try to make:

d32load.o: In function ResumePart': iXalance-1.0.5/d32load.c:260: undefined reference toMIDASresume’
d32load.o: In function PausePart': iXalance-1.0.5/d32load.c:269: undefined reference toMIDASsuspend’

Anyone know what I need to do to get this working? Thanks for any
suggestions or hints.


Steve Madsen
H2Eye Ltd.
24-28 Hatton Wall
London EC1N 8JH
United Kingdom (UK)
Tel: +44 (0) 207 404 9600
Fax: +44 (0) 207 404 9490
Email: steve at h2eye.com

---- Markus F.X.J. Oberhumer @ http://oberhumer.tsx.org ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                  3 WARPS TO URANUS

Same here (upgrading to 1.0.7 doesn’t help).

Some quick debugging has shown that MIDASloadModule(tempname)
in d32load.c always returns NULL.

Make sure that you are using the supplied configure script for MIDAS
which sets the -fpack-struct compiler flags. Otherwise your compiler
will pad where it shouldn’t.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

I just verified I did, and as I think of it I find using
this option very suspicious as it changes all offsets
of system library structures (e.g. the hidden fields
that macros/inline functions access in the FILE struct).

The correct way would be to use a __attribute__((packed))' where needed. Or - if I remember correctly - gcc also accepts#pragma pack(1)’

MarkusOn 03-Mar-2000 Sam Lantinga wrote:

Same here (upgrading to 1.0.7 doesn’t help).

Some quick debugging has shown that MIDASloadModule(tempname)
in d32load.c always returns NULL.

Make sure that you are using the supplied configure script for MIDAS
which sets the -fpack-struct compiler flags. Otherwise your compiler
will pad where it shouldn’t.

  -Sam Lantinga                           (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

---- Markus F.X.J. Oberhumer @ http://oberhumer.tsx.org ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                  3 WARPS TO URANUS

Hmm, I always start with configure, could it possibly have something to do
with the fact that I use pgcc-2.95.2 (Pentium GCC) which is known for
sometimes breaking stuff?

I don’t specify any CFLAGS when calling configure (i.e. any
Pentium-specific optimizations) so this shouldn’t be the problem - should
it? Although I haven’t tried upgrading to 1.0.7 yet so…

Anyone else use pgcc+SDL?

MarcusOn Thu, 2 Mar 2000, Sam Lantinga wrote:

Same here (upgrading to 1.0.7 doesn’t help).

Some quick debugging has shown that MIDASloadModule(tempname)
in d32load.c always returns NULL.

Make sure that you are using the supplied configure script for MIDAS
which sets the -fpack-struct compiler flags. Otherwise your compiler
will pad where it shouldn’t.

-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec