My machine is gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
The package does not build on my machine.
Linux Xeon 2.6.24-23-generic #1 SMP Wed Apr 1 21:47:28 UTC 2009 i686 GNU/Linu
Following error message is shown:
kaustubh@Xeon:~/t/clint-0.1.2$ make
make all-recursive
make[1]: Entering directory `/home/kaustubh/t/clint-0.1.2'
Making all in doc
make[2]: Entering directory `/home/kaustubh/t/clint-0.1.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kaustubh/t/clint-0.1.2/doc'
Making all in lib
make[2]: Entering directory `/home/kaustubh/t/clint-0.1.2/lib'
Making all in python
make[3]: Entering directory `/home/kaustubh/t/clint-0.1.2/lib/python'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -foperator-names -Wall -pedantic -ansi -g -O2 -I/usr/include/python2.5 -c -o module.lo `test -f module.cc || echo './'`module.cc
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -foperator-names -Wall -pedantic -ansi -g -O2 -I/usr/include/python2.5 -c module.cc -fPIC -DPIC -o .libs/module.lo
In file included from /usr/include/c++/4.2/backward/strstream:51,
from python.h:10,
from module.cc:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/python2.5/Python.h:84,
from python.h:6,
from module.cc:1:
/usr/include/python2.5/intobject.h:44: error: ISO C++ does not support 'long long'
In file included from /usr/include/python2.5/Python.h:86,
from python.h:6,
from module.cc:1:
/usr/include/python2.5/longobject.h:43: error: ISO C++ does not support 'long long'
/usr/include/python2.5/longobject.h:44: error: ISO C++ does not support 'long long'
/usr/include/python2.5/longobject.h:45: error: ISO C++ does not support 'long long'
/usr/include/python2.5/longobject.h:46: error: ISO C++ does not support 'long long'
/usr/include/python2.5/longobject.h:47: error: ISO C++ does not support 'long long'
In file included from module.cc:1:
python.h:469: error: expected template-name before '<' token
python.h:469: error: expected `{' before '<' token
python.h:469: error: expected unqualified-id before '<' token
python.h:513: error: expected template-name before '<' token
python.h:513: error: expected `{' before '<' token
python.h:513: error: expected unqualified-id before '<' token
module.cc: In member function 'python::Object python::Module::run_method(std::string, std::string, ...)':
module.cc:34: warning: second parameter of 'va_start' not last named argument
make[3]: *** [module.lo] Error 1
make[3]: Leaving directory `/home/kaustubh/t/clint-0.1.2/lib/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kaustubh/t/clint-0.1.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kaustubh/t/clint-0.1.2'
make: *** [all-recursive-am] Error 2
Same here with
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3