Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 25, 2013, 11:07:40 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5390
Members
Latest Member:
Okvepkke6
Crystal Space
Crystal Space Development
Support
Compilation problem
« previous
next »
Pages:
[
1
]
Author
Topic: Compilation problem (Read 3060 times)
trigger-happy
Newbie
Posts: 9
Compilation problem
«
on:
October 27, 2005, 02:00:06 pm »
I've already checked the sticky post so i can assure you that this is not another problem like gcc 4.0 or similar. My problem is that somewhere in the make process. i end up with the ff:
g++32 -c -o ./out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.o -I. -I./include -I./include -Wall -Wno-unknown-pragmas -pipe -march=i586 -I/usr/local/include -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I/usr/include/python2.4 -DSWIG_GLOBAL -Wno-unused -Wno-uninitialized -I/usr/include/python2.4 ./out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp
out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3448: syntax error
before `*' token
out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3451: `objectptr'
was not declared in this scope
out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3451: `ti' was not
declared in this scope
out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3451: `own' was not
declared in this scope
out/linuxx86/optimize/plugins/cscript/cspython/cs_pyth.cpp:3452: syntax error
before `return'
...skipped cspython.so for lack of <plugins!cscript!cspython!>cs_pyth.o...
...skipped _cspace.so for lack of <plugins!cscript!cspython!>cs_pyth.o...
make: *** [all] Error 1
I'm running Fedora Core 4 P3 with 256MB or ram and a ton of swap space that i turn on when needed. Any ideas?
Logged
What meaning does one's existence have when one is insignifacant to this universe.
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compilation problem
«
Reply #1 on:
October 27, 2005, 04:10:37 pm »
You'll want to provide more information, such as which version of CS you are using, the date of the CVS snapshot (if using CVS), whether or not you have Swig installed, which version of Swig (if installed), etc.
Also, since different version of Swig emit different code, you may want to post the exact code about which the compiler is complaining (including enough lines of surrounding context to make it meaninful).
Logged
trigger-happy
Newbie
Posts: 9
Re: Compilation problem
«
Reply #2 on:
October 27, 2005, 11:09:41 pm »
The version of crystalspace is the stable cs98_004. swig version is swig-1.3.24-2 and here's the code block that it's complaining about.
#ifdef __cplusplus
extern "C" {
#endif
SWIGRUNTIME(PyObject *) csWrapTypedObject (void* objectptr, const char *typetag, int own)
{
swig_type_info *ti = SWIG_TypeQuery (typetag);
PyObject *obj = SWIG_NewPointerObj (objectptr, ti, own);
return obj;
}
#ifdef __cplusplus
}
#endif
Logged
What meaning does one's existence have when one is insignifacant to this universe.
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compilation problem
«
Reply #3 on:
October 28, 2005, 03:53:15 am »
CS 0.98 predates Swig 1.3.24 by quite a bit. I believe that I fixed this problem in the CVS version of CS some time ago. Try the CS CVS snapshot and see if it works for you:
http://www.crystalspace3d.org/cvs-snapshots/
Logged
trigger-happy
Newbie
Posts: 9
Re: Compilation problem
«
Reply #4 on:
October 28, 2005, 06:14:35 am »
Ok, i'll try
Logged
What meaning does one's existence have when one is insignifacant to this universe.
trigger-happy
Newbie
Posts: 9
Re: Compilation problem
«
Reply #5 on:
October 28, 2005, 10:23:09 am »
Ok, thnx for all the help, i got it working using the pseudo-stable version
Logged
What meaning does one's existence have when one is insignifacant to this universe.
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...