Ubuntu64 problem

Ok, I am trying to compile this…I have gone through the entire process
up to this point:

cd ~/panda3d/dtool (That part works)
ppremake (That part works)
make (This is the problem)
make[1]: Entering directory /home/slyf/panda3d/dtool/src/cppparser' g++ -ftemplate-depth-30 -c -o Opt3-Linux/cppParser_cppParser_composite2.o -I. -I/home/slyf/panda3d/dtool -I../dtoolbase -I../dtoolutil -I/usr/include/python2.4 -g -O2 cppParser_composite2.cxx cppExpression.cxx: In member function ‘int CPPExpression::Result::as_integer() const’: cppExpression.cxx:95: error: cast from ‘void*’ to ‘int’ loses precision cppExpression.cxx: In member function ‘double CPPExpression::Result::as_real() const’: cppExpression.cxx:119: error: cast from ‘void*’ to ‘int’ loses precision make[1]: *** [Opt3-Linux/cppParser_cppParser_composite2.o] Error 1 make[1]: Leaving directory/home/slyf/panda3d/dtool/src/cppparser’
make: *** [cppparser] Error 2

Does it compile on 64bit? What is the problem

gcc --version: gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

Thanks, bmn

Hmm, those should be ignorable warnings. Wonder why they’re being reported as errors?

In any case, it should build with the latest version from CVS.