On Mandrake close-to-9.2 (using cooker, the frozen develoment version), there is a syntax error problem :
Code: Select all
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c hard_coded_scripts.cpp
In file included from /usr/include/python2.3/Python.h:8,
from ../../../src/python/python_class.h:3,
from hard_coded_scripts.cpp:9:
/usr/include/python2.3/pyconfig.h:844:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from ../../../src/gfx/vec.h:4,
from order.h:32,
from script.h:3,
from hard_coded_scripts.cpp:1:
/usr/include/features.h:131:1: warning: this is the location of the previous definition
In file included from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:22,
from ../../../src/boost129/boost/python/call.hpp:14,
from ../../../src/boost129/boost/python/object_core.hpp:11,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:13,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `const'
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `const'
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `const'
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `const'
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:104: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:105: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:106: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:107: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:108: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:109: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:110: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:111: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:112: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `to_python_value' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `detail' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `builtin_to_python' is not a class or namespace
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: invalid base-class specification
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: can't make `operator()' into a method -- not in a class
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: `arg_to_python' is not a template
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: syntax error before `<' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:113: error: syntax error before `}' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:122: error: syntax error before `}' token
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool, int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned integer expressions
make[4]: *** [hard_coded_scripts.o] Erreur 1
make[4]: Leaving directory `/usr/local/src/vegastrike-0.4.1-installer/vegastrike/src/cmd/ai'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/usr/local/src/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/usr/local/src/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/local/src/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Erreur 2
Thanks for this great game