rrtoolset-5.0.0 compile error gcc 4.7.1

Darren Baginski kickbsd at yandex.ru
Fri Jul 13 17:40:44 UTC 2012


Hi list!

While compiling irrtoolset-5.0.0 I've got an error:


libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c cache_value.cc -o cache_value.o >/dev/null 2>&1
source='irr.cc' object='irr.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
        /bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src     -g -O2  -c -o irr.lo irr.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c irr.cc  -fPIC -DPIC -o .libs/irr.o
In file included from irr.cc:57:0:
cache.hh: In member function 'bool Cache<K, V>::add(K, V)':
cache.hh:74:26: error: 'intptr_t' was not declared in this scope
cache.hh:74:35: error: expected ']' before 'aKey'
cache.hh:74:35: error: expected ';' before 'aKey'
cache.hh: In member function 'bool Cache<K, V>::query(K, V&)':
cache.hh:80:49: error: 'intptr_t' was not declared in this scope
cache.hh:80:58: error: expected ']' before 'aKey'
cache.hh:80:58: error: expected ',' or ';' before 'aKey'
cache.hh: In member function 'void Cache<K, V>::nullify(K)':
cache.hh:94:49: error: 'intptr_t' was not declared in this scope
cache.hh:94:58: error: expected ']' before 'aKey'
cache.hh:94:58: error: expected ',' or ';' before 'aKey'
make[3]: *** [irr.lo] Error 1
make[3]: Leaving directory `/root/irrtoolset-5.0.0/src/irr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/irrtoolset-5.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/irrtoolset-5.0.0/src'
make: *** [all-recursive] Error 1

Is there a known fix for that ?


More information about the irrtoolset mailing list