Author Topic: Building Planeshift from Source  (Read 616 times)

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
Building Planeshift from Source
« on: February 14, 2005, 04:30:35 pm »
hi all!

i know that there are many, many threads about planeshift and linux BUT: i can\'t get this thing running!!!

using this howto:
http://laanx.fragnetics.com/gentoo.php
with the latest cvs check-outs of cel, CS and planeshift and cal3d (1 week old!) i allways get this error:

DLERROR (/home/test/crystal/CS/sprcal3d.csplugin):
/home/test/crystal/CS/sprcal3d.so: undefined symbol:
_ZN8CalMixer13setTimeFactorEf

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'crystalspace.mesh.object.sprite.cal3d\'
Error ID: crystalspace.spritecal3dfactoryloader.setup.objecttype
Description: Could not load the sprite.cal3d mesh object plugin!
[node: meshfact(name=carkarass),params]
DLERROR (/home/test/crystal/CS/sprcal3d.csplugin):
/home/test/crystal/CS/sprcal3d.so: undefined symbol:
_ZN8CalMixer13setTimeFactorEf
  WARNING: could not load plugin \'crystalspace.mesh.object.sprite.cal3d\'
Error ID: crystalspace.spritecal3dfactoryloader.setup.objecttype
Description: Could not load the sprite.cal3d mesh object plugin!
[node: meshfact(name=clacker),params]



crystalspace.graphics3d.shader.fixed:
  Multitexture units: whopping 8
DLERROR (/home/test/crystal/CS/sprcal3d.csplugin):
/home/test/crystal/CS/sprcal3d.so: undefined symbol:
_ZN8CalMixer13setTimeFactorEf

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'crystalspace.mesh.object.sprite.cal3d\'
Error ID: crystalspace.spritecal3dfactoryloader.setup.objecttype
Description: Could not load the sprite.cal3d mesh object plugin!
[node: meshfact(name=ylianm),params]

i could compile everything without any error!

is someone using the CVS version of planeshift, CS, cal3d and cel?
what gcc version are you using? (because there is a bug in gcc-3.4.3)

greetings,
treb

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #1 on: February 14, 2005, 05:16:15 pm »
I\'m using gcc 3.4.3 and I don\'t have any problems. Get fresh checkouts of cal3d and CS and try to compile them again. But try \'jam -a\' on every project first, it may solve it.


Back to Planeshift again \\o/

trebiani

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #2 on: February 14, 2005, 05:28:59 pm »
Quote
Originally posted by Karosh_Steinkatz
I\'m using gcc 3.4.3 and I don\'t have any problems. Get fresh checkouts of cal3d and CS and try to compile them again. But try \'jam -a\' on every project first, it may solve it.

i\'m not able to compile everything from the CVS and with a cal3d which is one week old i get many errors (see first posting in this thread) in planeshift.
from the crystalspace mailing list:
Quote

>> hi all!



>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
>> `.L245\' referenced in section `.rodata\' of
>> ./out/linuxx86/debug/libs/csutil/libcsutil.a(plugmgr.o): defined in
>> discarded section
>> `.gnu.linkonce.t._ZN16csReporterHelper7ReportVEP15iObjectRegistryiPKcS3_Pc\'
>> of ./out/linuxx86/debug/libs/csutil/libcsutil.a(plugmgr.o)


I\'ve been wrestling with this problem on and off for the last few days. It\'s a
bug in gcc and apparently it\'s currently fixed in gcc4.0 (which is currently
unreleased) or in gcc3.4.4, (which is also unreleased). I\'m not sure as to
the status of the gcc3.3 tree, but according to these bug reports it is also
affected:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16276
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625

Though there\'s apparently a patch that will fix it on gcc3.4.x, your distro
may or may not include the patch if they\'re distributing gcc3.4.3. By the
fact your current version is failing, it would appear they don\'t.  :)