Error building 0.4.3 under FreeBSD5.4-stable
Posted: Sat Oct 08, 2005 9:07 pm
subj.
gcc --version
gcc (GCC) 3.4.2 [FreeBSD] 20040728
python-2.4.2
jpeg-6b_3
png-1.2.8_1
libvorbis-1.0.1,3
libogg-1.1.2_1,3
openal-20050202
libglut-6.0.1
sdl-1.2.7_1,1
nvidia-driver-1.0.7174
make
make all-recursive
Making all in src
Making all in cmd
Making all in ai
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include -DJPEG_SUPPORT -DUSE_STENCIL_BUFFER=1 -DDATA_DIR=\"/home/root/Dev/Vegastrike/data.4x\" -I/usr/local/include/python2.4 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../../src/boost129 -I../../../src -pipe -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -pthread -pipe -MT hard_coded_scripts.o -MD -MP -MF ".deps/hard_coded_scripts.Tpo" -c -o hard_coded_scripts.o hard_coded_scripts.cpp; then mv -f ".deps/hard_coded_scripts.Tpo" ".deps/hard_coded_scripts.Po"; else rm -f ".deps/hard_coded_scripts.Tpo"; exit 1; fi
In file included from ../../../src/boost129/boost/config.hpp:57,
from ../../../src/boost129/boost/python/detail/config.hpp:15,
from ../../../src/boost129/boost/python/detail/prefix.hpp:14,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
In file included from ../../../src/boost129/boost/python/detail/prefix.hpp:14,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/detail/config.hpp:103:2: warning: #warning BOOST_PYTHON_OFFSETOF set to not offsetof
In file included from ../../../src/boost129/boost/python/to_python_indirect.hpp:13,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/object/instance.hpp:47: error: a casts to a type other than an integral or enumeration type cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:47: error: '->' cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:47: error: `&' cannot appear in a constant-expression
In file included from ../../../src/boost129/boost/python/converter/registry.hpp:10,
from ../../../src/boost129/boost/python/converter/registered.hpp:9,
from ../../../src/boost129/boost/python/to_python_indirect.hpp:14,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: '->' cannot appear in a constant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: `&' cannot appear in a constant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: ISO C++ forbids declaration of `type name' with no type
*** Error code 1
gcc --version
gcc (GCC) 3.4.2 [FreeBSD] 20040728
python-2.4.2
jpeg-6b_3
png-1.2.8_1
libvorbis-1.0.1,3
libogg-1.1.2_1,3
openal-20050202
libglut-6.0.1
sdl-1.2.7_1,1
nvidia-driver-1.0.7174
make
make all-recursive
Making all in src
Making all in cmd
Making all in ai
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/libpng -I/usr/local/include -DJPEG_SUPPORT -DUSE_STENCIL_BUFFER=1 -DDATA_DIR=\"/home/root/Dev/Vegastrike/data.4x\" -I/usr/local/include/python2.4 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../../src/boost129 -I../../../src -pipe -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -pthread -pipe -MT hard_coded_scripts.o -MD -MP -MF ".deps/hard_coded_scripts.Tpo" -c -o hard_coded_scripts.o hard_coded_scripts.cpp; then mv -f ".deps/hard_coded_scripts.Tpo" ".deps/hard_coded_scripts.Po"; else rm -f ".deps/hard_coded_scripts.Tpo"; exit 1; fi
In file included from ../../../src/boost129/boost/config.hpp:57,
from ../../../src/boost129/boost/python/detail/config.hpp:15,
from ../../../src/boost129/boost/python/detail/prefix.hpp:14,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
In file included from ../../../src/boost129/boost/python/detail/prefix.hpp:14,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/detail/config.hpp:103:2: warning: #warning BOOST_PYTHON_OFFSETOF set to not offsetof
In file included from ../../../src/boost129/boost/python/to_python_indirect.hpp:13,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/object/instance.hpp:47: error: a casts to a type other than an integral or enumeration type cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:47: error: '->' cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:47: error: `&' cannot appear in a constant-expression
In file included from ../../../src/boost129/boost/python/converter/registry.hpp:10,
from ../../../src/boost129/boost/python/converter/registered.hpp:9,
from ../../../src/boost129/boost/python/to_python_indirect.hpp:14,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: '->' cannot appear in a constant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: `&' cannot appear in a constant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: ISO C++ forbids declaration of `type name' with no type
*** Error code 1