Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 7:56 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: problem to compiling ode
PostPosted: Mon Oct 16, 2006 8:39 am 
Offline

Joined: Mon Oct 16, 2006 8:18 am
Posts: 2
i've this problem to compiling ode. it seem is related to the 64 bit arch. someone can help me?

[code]
10:24:31 /data/games/raydium/raydium/ode $ make
g++ -c -Wall -fno-rtti -fno-exceptions -Wall -fomit-frame-pointer -ffast-math -Iinclude -IOPCODE -DdTRIMESH_ENABLED -DdNODEBUG -O1 -o OPCODE/OPC_AABBTree.o OPCODE/OPC_AABBTree.cpp
OPCODE/OPC_AABBTree.h: In constructor 'Opcode::AABBTreeNode::AABBTreeNode()':
OPCODE/OPC_AABBTree.h:88: warning: 'Opcode::AABBTreeNode::mNbPrimitives' will be initialized after
OPCODE/OPC_AABBTree.h:87: warning: 'udword* Opcode::AABBTreeNode::mNodePrimitives'
OPCODE/OPC_AABBTree.cpp:56: warning: when initialized here
OPCODE/OPC_AABBTree.cpp: In destructor 'Opcode::AABBTreeNode::~AABBTreeNode()':
OPCODE/OPC_AABBTree.cpp:78: warning: unused variable 'Neg'
OPCODE/OPC_AABBTree.cpp: In member function 'bool Opcode::AABBTreeNode::Subdivide(Opcode::AABBTreeBuilder*)':
OPCODE/OPC_AABBTree.cpp:295: error: cast from 'Opcode::AABBTreeNode*' to 'udword' loses precision
OPCODE/OPC_AABBTree.cpp:309: error: cast from 'Opcode::AABBTreeNode*' to 'udword' loses precision
OPCODE/OPC_AABBTree.h: In constructor 'Opcode::AABBTree::AABBTree()':
OPCODE/OPC_AABBTree.h:134: warning: 'Opcode::AABBTree::mTotalNbNodes' will be initialized after
OPCODE/OPC_AABBTree.h:132: warning: 'Opcode::AABBTreeNode* Opcode::AABBTree::mPool'
OPCODE/OPC_AABBTree.cpp:373: warning: when initialized here
make: *** [OPCODE/OPC_AABBTree.o] Error 1
10:24:35 /data/games/raydium/raydium/ode $ g++ --version
g++ (GCC) 4.1.1 (Gentoo 4.1.1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

10:24:56 /data/games/raydium/raydium/ode $ uname -srmpo
Linux 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/Linux
[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 7:01 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Hi,

Try replacing the provided ODE release by an new "official" one (0.7 for example), it should help (and report the result back here, if possible ;) )


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 8:42 am 
Offline

Joined: Mon Oct 16, 2006 8:18 am
Posts: 2
i have compiled ode 0.7 and now the libphp5 tell me some errors:

[code]
10:38:52 /data/games/raydium $ make
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: raydium/php/libs/libphp5.a(lt30-main.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
raydium/php/libs/libphp5.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libraydium.so.0.0] Error 1

[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 10:04 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Trusting a PHP bug report ( http://bugs.php.net/bug.php?id=37427 ), you should try to call ./configure with "--libdir=/usr/lib64" command line switch.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group