Author Topic: Problem running Linux port  (Read 1956 times)

0 Members and 1 Guest are viewing this topic.

Offline Gustra

  • 22
Problem running Linux port
Hi,

I checked out the Icculus port but cannot get it to run properly on my host (Debian sarge, Linux 2.4.24, Geforce 2 (ASUS v7700), gcc 3.3.3). I had to move -lGL to the end of the link line in the Makefile to get it to link properly, and I use a CVS version of OpenAL as well. After I start the executable, it does seem to manipulate the video settings but all I get is a screen with "noice" on it, just as if the video memory is filled with random data.

Checking the log, everything seem to load fine for a while, but then it starts getting a lot of things like this:
Code: [Select]
General: Bitmap is to small at 0x0.
General: Not rendering a texture because it didn't fit in VRAM!
...
BmpMan: Loading cursor1.ani[1] for the first time.
Paging: Loading cursor1.ani[1] (5x7x16x--)
Error: !!DEBUG!! t->texture_handle == 0
...
General: WARNING: Error setting aabitmap texture!

Then I tried running the Icculus installer but got a segfault:
Code: [Select]
Verifying archive integrity... All good.
Uncompressing Freespace 2 for Linux........
./setup.sh: line 250: 19750 Segmentation fault      "$setup" "$@"
This could be the result of a library version incompatibily, I suppose. The setup file appears to be linked against glibc2.1 and I got 2.2 (a CVS release according to the debian packager).

I thought perhaps the FSO would work better but after running configure no makefile.linux was produced (as described in the README) and using the ordinary Makefile did not work either.

Everybody else seem to have no problem so what I am missing?

Regards,

/Gunnar
Edit: trimmed a line
Good? Bad? I'm the guy with the GUN. -Ash

 

Offline Kamikaze

  • A Complacent Wind
  • 29
    • http://www.nodewar.com
Problem running Linux port
The ordinary Makefile should work for FSO, any particular errors?
Science alone of all the subjects contains within itself the lesson of the danger of belief in the infallibility of the greatest teachers in the preceding generation . . .Learn from science that you must doubt the experts. As a matter of fact, I can also define science another way: Science is the belief in the ignorance of experts. - Richard Feynman

 

Offline Gustra

  • 22
Problem running Linux port
I got compilation errors:
Code: [Select]
In file included from ddsutils/ddsutils.h:8,
                 from bmpman/bmpman.cpp:608:
directx/vddraw.h:72: error: syntax error before `*' token
And a lot of similar errors, i.e. as if a file is missing. The Makefile does contain i686-pc-linux-gnu settings, e.g. "build".

/Gunnar
Good? Bad? I'm the guy with the GUN. -Ash

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Problem running Linux port
our Linux build is still more theoretical than actual, but I beleve it was compileing a while ago.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Gustra

  • 22
Problem running Linux port
Ok, I wasn't actually thinking there was anything wrong with it. My first guess is that there is something wrong here on my end, but I was hoping somebody else might've recognized some error. It seems a little odd to me that directx-files would be part of the compilation for Linux, but I don't really know anything about how SDL and OpenGL, so I couldn't rule it out. I'll continue to try to see if I can work it out.

/Gunnar
Good? Bad? I'm the guy with the GUN. -Ash

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Problem running Linux port
See if there is anything strange in your config.log file.  Also are you using FSO CVS or the version from bKtHeG?  I don't think the CVS version will work yet but someone can correct me if I'm wrong, I haven't done an update in a while.  Look in the "FS2_Open Linux Discussion" thread for my last post on the last page to find a download link if you don't have bKtHeG's code.

 

Offline Gustra

  • 22
Problem running Linux port
I used the CVS version so that is probably it, then. I'll try the other one, cheers. There are a few suspicious lines in the log:
Code: [Select]
conftest.cc:16: error: `exit' undeclared (first use this function)But I think that the Makefile looked o.k.

/Gunnar
Good? Bad? I'm the guy with the GUN. -Ash

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Problem running Linux port
Forget i said something...

Cheers
« Last Edit: February 16, 2004, 04:17:30 pm by 1139 »
Sig? What sig?

 

Offline Inquisitor

Problem running Linux port
Yeah, need to get bk to commit his stuff :)
No signature.