Crystal Space
Welcome, Guest. Please login or register.
July 23, 2014, 05:07:19 pm

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8220 Members
Latest Member: Igymatta
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Compilation problem
« previous next »
Pages: [1] Print
Author Topic: Compilation problem  (Read 3345 times)
trigger-happy
Newbie
*
Posts: 9


trigger_happy_elite
View Profile
« 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: 294


View Profile
« 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


trigger_happy_elite
View Profile
« 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: 294


View Profile
« 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


trigger_happy_elite
View Profile
« 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


trigger_happy_elite
View Profile
« 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] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.226 seconds with 17 queries.