Author Topic: compiling problems on opensuse 10.0  (Read 756 times)

Ratten

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
compiling problems on opensuse 10.0
« on: April 25, 2006, 08:35:13 pm »
first i thought that its maybe only a crystal space problem, then i thought it could be a gcc version problem  but now i think that maybe reiserFS cant deal with the compiling.

my setup atm in 3 lines(more will come):
opensuse 10.0
gcc 4.02
/ =reiserfs formatted


what does happen?---sometimes only errors while compiling and compile abort but often(2of 5times) complete freeze of the OS.
first it happened only when i ried to compile Crystal space but now also sometimes when i go through compiling other components, for example cal3d.
smaller packages like jam never made problems while compiling.


My questions to all who build succesfully and want to answer:
1.What version gcc did you use?
2.what filesystem is your install directory running on?
3.did you experience simmiliar problems while compiling Planeshift.
4. last but not least? what distro did you use?


my ram is ok....... i allready checked it..so..its nmot the ram....please ...if someone compiles PS under reiserfs succesfully please tell me.

cause this installation is only a testionstallation i will install today OS on other Filesystem and then check this...







.................i think i have to edit this post
If I\'ve made one person happy, it\'s all been worth it.
Tony Clifton

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: compiling problems on opensuse 10.0
« Reply #1 on: April 25, 2006, 08:46:52 pm »
Most likely a gcc 4.0.2 issue.

Answers to your questions:
1. gcc 3.4.5
2. ReiserFS
3. No
4. Gentoo
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
Re: compiling problems on opensuse 10.0
« Reply #2 on: April 25, 2006, 10:01:37 pm »
what does happen?---sometimes only errors while compiling and compile abort...

What errors ?
Does compilation end at the same stage every time or at random points ?

Quote
...but often(2of 5times) complete freeze of the OS.

Total freezes usually are caused by hardware problems. Maybe CPU is overheating ? Compilation process causes high, long-lasting cpu load.

You can use the following script to do simple CPU stress test:
Code: [Select]
awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<100000;j++);}' &It will run in background (thanks to "&"), so You can run several (for example 10 or more) parallel instances. This little script does not do anything useful, but it causes big cpu load. If Your machine freezes while running this, You must buy bigger cooler ;)

Use command
Code: [Select]
killall awk to quickly end all started scripts.

WARNING: I take no responsibility for cpu meltdown  :innocent: (but I have never experienced such thing)
And I really doubt Your problem is related to filesystem type.
"Close the world, txEn eht nepO."

Ratten

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: compiling problems on opensuse 10.0
« Reply #3 on: April 26, 2006, 08:55:10 pm »
You are right.

It was a temperature problem.
I was shocked when i put the cooler of the CPU.
It really looked od...it was an aluminium cooler and his color on the Processor side was not silver anymore.
I pput in my old but a bit to heavy coppercooler.....this helped....
i also have a damaged Ram-socket.....didn`t recognized when i tested the ram cause i was putting them(1x512 + 2x256) in a working slot...anyway...
worked well....with gcc4.02 ..............me happy more Ratten now :)

oki.....now this:
updater was not build, i dont know why.(i dont fix fast if no help.....copying world folder from binary)
client has no laanx.fragnetics.com server in the login window.(i may fix fast)
and database makes problems( this i fix fast)...


thanks for responding


the reason i was going after reiserfs as problem is this:
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
.............i got this several times when building cal3d but also when building PS


.................but as i said....build ok now  .)
If I\'ve made one person happy, it\'s all been worth it.
Tony Clifton

Ratten

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
oki, several questions.
« Reply #4 on: April 29, 2006, 01:10:23 pm »
1 question:
my psclient application is after building 54 mb big...compared to the one in the binary is this 5 times as big....is this normal?

2 question:
my psserver application is after building 52 mb big....is this normal?

3.question:
my updater is after building 24 MB big....is this normal?

4.question:
cant get server to work and spawn command doesn`t work at all.
Spawn errormessage from console-----------------------------------------------
linux:~/develps/stabletest # ./planeshiftserver.sh

crystalspace.render3d.null:
  Using windowed mode 640x480.
-Server Console initialized (./psserver-V0.1)-
All LOGS are off.

<src/server/cachemanager.cpp:2051> PreloadUpdateInfo:
  Missing /this/version.dat!  Cannot send update notifications to clients.

<src/server/bulkobjects/dictionary.cpp:337> LoadTriggers:
  Found equal trigger(about you) in triggers
Skipping disallowed word 'i' in trigger 'i bring glyph from maleenki' at position 0.
Trigger without dissallowed words: bring glyph from maleenki

<src/server/progressionmanager.cpp:2118> Load:
  NULL psDBMovement (3) found in SpeedOp
  NULL psDBMovement (3) found in SpeedOp
PS Server: loadmap npcroom
Cleaning map file.
Region npcroom loaded successfully in 19ms
PS Server: spawn

crystalspace.maploader.parse:
  Could not open map file '/planeshift/models/enkim/enkim.cal3d' on VFS!

cel.pfmesh.loadmeshfactory:
  Error loading mesh object factory or library
  '/planeshift/models/enkim/enkim.cal3d'!

<src/server/gem.cpp:737> InitMesh:
  Could not set mesh with factname=enkim and
  filename=/planeshift/models/enkim/enkim.cal3d. Trying dummy model

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'

crystalspace.maploader.parse.meshfact:
  Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'![node:
  meshfact(name=stonebm),plugin]

cel.pfmesh.loadmeshfactory:
  Error loading mesh object factory or library
  '/planeshift/models/stonebm/stonebm.cal3d'!

<src/server/gem.cpp:744> InitMesh:
  Could not use dummy CVS mesh with factname=stonebm and
  filename=/planeshift/models/stonebm/stonebm.cal3d

<src/server/gem.cpp:645> gemObject:
  Could not create Item because mesh could not be Init'd.

<src/server/gem.cpp:646> gemObject:
  Name: MaleEnki Factory: enkim File: /planeshift/models/enkim/enkim.cal3d

<src/server/gem.cpp:2202> InitLinMove:
  No entity!  Actor not created.

<src/server/gem.cpp:1533> gemActor:
  Could not initialize LinMove prop class, so actor not created.

<src/server/gem.cpp:3026> gemNPC:
  Error in GemNPC enkim constructor File: /planeshift/models/enkim/enkim.cal3d
Error while creating Entity for NPC '4'
./planeshiftserver.sh: line 6: 10082 Segmentation fault      ./psserver $@


NOW ---------Consoleoutput of own build client when trying to connect---------------
linux:~/develps/stabletest # ./planeshiftclient.sh

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 0x00000021, 24bit TrueColor
  R8:G8:B8:A0,
  level 0, double buffered

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce4 Ti 4200/AGP/3DNOW! (vendor: NVIDIA Corporation)
  version 1.5.3 NVIDIA 76.76
  Using windowed mode at resolution 640x480.
  Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 48
  AccumAlpha: 16 MultiSamples: 0
  Multisample: disabled

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/cvs.zip
Skipping 'InfoButton' because it's already loaded
Skipping 'InfoButton_over' because it's already loaded
Skipping 'InfoButton_active' because it's already loaded
Mounting skin: /planeshift/art/skins/base/client_base.zip

<src/common/util/psxmlparser.cpp:282> ParseFile:
  Could not find file: /paws/temp_skin/skin.xml

<src/common/paws/pawsmanager.cpp:323> LoadAdditionalSkin:
  Could not read skin info on /planeshift/art/skins/base/client_base.zip!

<src/client/psengine.cpp:391> Initialize:
  Couldn't load base skin '/planeshift/art/skins/base/client_base.zip'!

planeshift.application.client:
  psEngine initialized.
Using fontsize 10 for resolution 640x480

<src/common/paws/pawswidget.cpp:483> LoadAttributes:
  GUI image 'radiooff2' not found.
  GUI image 'radiooff2' not found.
  GUI image 'radiooff2' not found.
  GUI image 'radiooff2' not found.

<src/common/paws/pawstexturemanager.cpp:371> CreateTexture:
  Could not open image: >/paws/skin/backdrop/charborder.png<

<src/common/paws/pawswidget.cpp:2402> SetMaskingImage:
  Could not locate masking image charborder for widget PaperDollView

crystalspace.thingloader.parse:
  Bad UV coordinates for polygons in this thing![node:
  meshfact(name=weapons#doubleaxe01a),params]
  Bad UV coordinates for polygons in this thing![node:
  meshfact(name=weapons#jug01a),params]
  'moveable' is not for factories![node:
  meshfact(name=weapons#normalaxe01a),params,moveable]
  Bad UV coordinates for polygons in this thing![node:
  meshfact(name=weapons#normalaxe01a),params]
  'moveable' is not for factories![node:
  meshfact(name=items#chest1),params,moveable]
  Bad UV coordinates for polygons in this thing![node:
  meshfact(name=items#chest1),params]

<src/common/paws/pawswidget.cpp:798> SetBackground:
  Widget: ImgCharacter0 (Parent: CharPickerWindow) Could Not load image:
  radioon2
  Widget: ImgCharacter1 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
  Widget: ImgCharacter2 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
  Widget: ImgCharacter3 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
  Widget: ImgCharacter0 (Parent: CharPickerWindow) Could Not load image:
  radioon2
  Widget: ImgCharacter1 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
  Widget: ImgCharacter2 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
  Widget: ImgCharacter3 (Parent: CharPickerWindow) Could Not load image:
  radiooff2
WARNING! Object '_s_sigil_04' is not closed!
WARNING! Object 'spikes_01' is not closed!
WARNING! Object '_s_sigil_02' is not closed!
WARNING! Object 'spikes_05' is not closed!
WARNING! Object 'spikes_03' is not closed!
WARNING! Object '_s_walls_01' is not closed!
...

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.graphics3d.shader.glcg'

crystalspace.graphics3d.shader.fixed:
  Multitexture units: moderate 4
psEngine destroyed.
./planeshiftclient.sh: line 6: 10159 Segmentation fault      ./psclient $@


NOW i connect from official released  Client-----------after chosing a character server crashes...:
linux:~/develps/stabletest # ./planeshiftserver.sh

crystalspace.render3d.null:
  Using windowed mode 640x480.
-Server Console initialized (./psserver-V0.1)-
All LOGS are off.

<src/server/cachemanager.cpp:2051> PreloadUpdateInfo:
  Missing /this/version.dat!  Cannot send update notifications to clients.

<src/server/bulkobjects/dictionary.cpp:337> LoadTriggers:
  Found equal trigger(about you) in triggers
Skipping disallowed word 'i' in trigger 'i bring glyph from maleenki' at position 0.
Trigger without dissallowed words: bring glyph from maleenki

<src/server/progressionmanager.cpp:2118> Load:
  NULL psDBMovement (3) found in SpeedOp
  NULL psDBMovement (3) found in SpeedOp
PS Server: loadmap npcroom
Cleaning map file.
Region npcroom loaded successfully in 22ms
PS Server: ready
Server is now ready
PS Server: Remove player 'guest' (3223358)

<src/server/msgmanager.cpp:59> Verify:
  MessageManager got unknown client 3223358!
Remove player 'guest' (3380714)
  MessageManager got unknown client 3380714!

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'

crystalspace.maploader.parse.meshfact:
  Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'![node:
  meshfact(name=stonebm),plugin]

cel.pfmesh.loadmeshfactory:
  Error loading mesh object factory or library
  '/planeshift/models/stonebm/stonebm.cal3d'!

<src/server/gem.cpp:737> InitMesh:
  Could not set mesh with factname=stonebm and
  filename=/planeshift/models/stonebm/stonebm.cal3d. Trying dummy model

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'

crystalspace.maploader.parse.meshfact:
  Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'![node:
  meshfact(name=stonebm),plugin]

cel.pfmesh.loadmeshfactory:
  Error loading mesh object factory or library
  '/planeshift/models/stonebm/stonebm.cal3d'!

<src/server/gem.cpp:744> InitMesh:
  Could not use dummy CVS mesh with factname=stonebm and
  filename=/planeshift/models/stonebm/stonebm.cal3d

<src/server/gem.cpp:645> gemObject:
  Could not create Item because mesh could not be Init'd.

<src/server/gem.cpp:646> gemObject:
  Name: Guest Char Factory: stonebm File:
  /planeshift/models/stonebm/stonebm.cal3d

<src/server/gem.cpp:2202> InitLinMove:
  No entity!  Actor not created.

<src/server/gem.cpp:1533> gemActor:
  Could not initialize LinMove prop class, so actor not created.

<src/server/entitymanager.cpp:269> CreatePlayer:
  Error while creating gemActor for Character 'Guest'
Remove player 'Guest' (1348982)
./planeshiftserver.sh: line 6: 10143 Segmentation fault      ./psserver $@




....................means...server runs without spawn command and does not crash if i try to connect from own build client, but as i said...client stops with segfault after choosing character.
Server crashes when i try to conntect from official build client. see my consoleoutput.
spawn command doesnt work at all.


anyone had same problems maybe and got them solved?
Thanks for reading this mess.
If I\'ve made one person happy, it\'s all been worth it.
Tony Clifton

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: oki, several questions.
« Reply #5 on: April 29, 2006, 01:23:27 pm »
Quote
1 question:
my psclient application is after building 54 mb big...compared to the one in the binary is this 5 times as big....is this normal?

2 question:
my psserver application is after building 52 mb big....is this normal?

3.question:
my updater is after building 24 MB big....is this normal?

It is normal to have such large binaries because of the debug information added to them. My binaries are the same size.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
Re: oki, several questions.
« Reply #6 on: April 29, 2006, 02:54:39 pm »
1 question:
my psclient application is after building 54 mb big...compared to the one in the binary is this 5 times as big....is this normal?
...

Use "strip psclient" etc. to remove debugging symbols from executables if it bothers You. Or build planeshift in release mode, instructions are there -> Compiling without needing CRYSTAL and CEL?

Quote
crystalspace.maploader.parse:
  Could not open map file '/planeshift/models/enkim/enkim.cal3d' on VFS!

cel.pfmesh.loadmeshfactory:
  Error loading mesh object factory or library
  '/planeshift/models/enkim/enkim.cal3d'!

<src/server/gem.cpp:737> InitMesh:
  Could not set mesh with factname=enkim and
  filename=/planeshift/models/enkim/enkim.cal3d. Trying dummy model

For above and all similar warnings - replace "art" and "data" directories with those from official binary distribution and add to them all files/folders from CVS version which are not in official version.

Quote
crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'

crystalspace.maploader.parse.meshfact:
  Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'![node:
  meshfact(name=stonebm),plugin]

CS was build without cal3d support or cal3d runtime libraries can not be found by dynamic linker (check LD_LIBRARY_PATH environmental variable). You should supply "--with-cal3d=/path/to/cal3d" to configure script.

Quote
crystalspace.pluginmgr.loadplugin:
  could not load plugin 'crystalspace.graphics3d.shader.glcg'

CS was build without CG support or CG runtime libraries can not be found by dynamic linker (see above). You need to install Nvidia CG toolkit properly before running configure script. Download CG toolkit from http://developer.nvidia.com.

Quote
NOW i connect from official released  Client-----------after chosing a character server crashes...:

Reasons are probably the same as above.

Good luck.
"Close the world, txEn eht nepO."

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
Re: oki, several questions.
« Reply #7 on: April 29, 2006, 04:28:52 pm »
1. Yes
2. Yes
3. Yes

For above and all similar warnings - replace "art" and "data" directories with those from official binary distribution and add to them all files/folders from CVS version which are not in official version.

Hopefully the prospect of any and all added crashes when doing so is gone now.
« Last Edit: April 29, 2006, 04:37:18 pm by StarsAndBars_1018 »
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.