Author Topic: Running MB under Debian Sid (unstable)  (Read 2096 times)

scrythe

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #15 on: June 20, 2003, 02:21:27 pm »
Vengeance, it did find the .so files, but it did not find some symbols in them.

I just tried to use gcc-3.2 instead of gcc-2.95.4 at it seems some of the problems are away.

scrythe

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #16 on: June 20, 2003, 04:11:54 pm »
Regarding the crash - there is a bug in

void *csSCF::CreateInstance (const char *iClassID, const char *iInterface,  int iVersion)

in file CS/libs/csutil/scf.cpp

here:

instance = object->QueryInterface (GetInterfaceID (iInterface), iVersion);
object->DecRef ();

\'instance\' is not checked for NULL

(my assert says \"Assertion `instance!=__null\' failed.\")

In my case \'instance\' is null when calling with these arguments:

iClassID = \"iCelPlLayer\"
iInterface = \"4\"
iVersion = 1

scrythe

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #17 on: June 21, 2003, 03:00:55 pm »
It\'s running ! :)) This worked for me: install gcc-3.2 and make it default compiler (i symlinked gcc-3.2 and g++-3.2 as \"gcc\" and \"g++\" to /bin). Then run jam clean in all directories: CS, cel and planeshift. Then jam it all. If \"LinkApplication psclient\" complains about unresolved references then remove ps/out/linuxx86/pscomp.o and run jam again (because now the right pscomp.cpp will get compiled instead of the wrong pscomp.cpp - there are two with same name). Now you are nearly done :) It still crashes on world initialization screen though.

scrythe

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #18 on: June 21, 2003, 08:34:39 pm »
Awww ..... forget my silly bug report, there _is_ a check :-/

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #19 on: June 24, 2003, 01:10:30 pm »
YESSSSS, it works for me too!
You don\'t even have to make 3.2 your default compiler, adding:
CC=gcc-3.2 CXX=g++-3.2 CPP=cpp-3.2
to each \'./configure ......\' line does the trick.

Thanks scrythe for finding the sollution. :)
The two most common things in the Universe are hydrogen and stupidity. Just look at the number of Windoze users ;)
     -- Harlan Ellison (Edited by me)

--->  Join the BISM  <---