Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get Crossfire running on a Sun 4?



In message <9409141439.AA11108@oregon.hasler.ascom.ch>, Dierk Brunner writes:
>Hi!
>
>I have got some problems getting Crossfire running on a Sun 4 using SunOS.
>Everything is compiled and installed without error messages (after I did some
>small changes to the files in the subdirectory config), but when I try to star
>t
>the programs I get a core dump.

I have 91.4 running on a sun4/260 running sunos4.1.1, no problem, no
special work done.

>>Do you have config files for Sun 4 computers? Is it possible, that you send me
>some binary files that are ready to be used on Sun 4 SPARCstations?

I can do that, but i'll have to keep doing that everytime a new version
comes out.  Not only that, but the binaries have the libdirectories 
hardwired into them.  Let's see if i can help you compile.

>  o What windowing system are you using (Ie, openwindows, X11R6, etc)
>
>    X11R5 with the OpenWindows window manager olvwm

Humm.  I'm using X11R6 and xdm/twm.  I never had any problem with X11R5 though.


>  o What compiler (and its version) did you use (ie, gcc, acc, etc)?
>
>    gcc 2.2.2 together with ld from SunOS 4.1.3

2.5.8 here, or maybe 2.6.0

>  o Which flags did you give it?
>
>    #define ForceCCOPTIONS -ansi -O -g -fno-builtin -Wall -nostdinc -I/usr/loc
>al/apstools/external/cygnus/devo/H-sun4/lib/gcc-lib/sun4/ericsson/include -I/u
>sr/include -I/usr/local/include -I/usr/openwin/include -DStupidSunHeaders

Wow.  I give it -O and -g and it works fine.  Humm.

>  o If the bug happened while running crossfire:
>    - Include any output before to the bug.

Sheesh!  Can you give a description of any output it gave at all???

>  o If you managed to compile Crossfire, include the output of
>    "crossfire -o".
>
>    Segmentation fault (core dumped)
>

If that's the output, I don't know what's wrong.  I suggest running it
under gdb and seeing where it barfs.  I can get you a binary, but it'll
be something of a hassle for you to get it to use the proper libdir,
etc.  See what you can find out about the problem with gdb....


PeterM