Running make aborts with:
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr-1.0.0/src
-I/local/gnu/build/binutils-master-avr/bfd// -g -O2 -Icmd -Iui -Ihwtimer
-MT systemclock.lo -MD -MP -MF .deps/systemclock.Tpo -c -o
systemclock.lo ../../../source/simulavr-1.0.0/src/systemclock.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr-1.0.0/src
-I/local/gnu/build/binutils-master-avr/bfd// -g -O2 -Icmd -Iui -Ihwtimer
-MT systemclock.lo -MD -MP -MF .deps/systemclock.Tpo -c
../../../source/simulavr-1.0.0/src/systemclock.cpp -fPIC -DPIC -o
.libs/systemclock.o
../../../source/simulavr-1.0.0/src/systemclock.cpp: In instantiation of
‘void MinHeap<Key, Value>::Insert(Key, Value) [with Key = long long int;
Value = SimulationMember*]’:
../../../source/simulavr-1.0.0/src/systemclock.cpp:135:40: required
from here
../../../source/simulavr-1.0.0/src/systemclock.cpp:70:8: error: ‘resize’
was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
resize(this->size()+1);
^
../../../source/simulavr-1.0.0/src/systemclock.cpp:70:8: note:
declarations in dependent base ‘std::vector<std::pair<long long int,
SimulationMember*>, std::allocator<std::pair<long long int,
SimulationMember*> > >’ are not found by unqualified lookup
../../../source/simulavr-1.0.0/src/systemclock.cpp:70:8: note: use
‘this->resize’ instead
Makefile:706: recipe for target 'systemclock.lo' failed
make[3]: *** [systemclock.lo] Error 1
make[3]: Leaving directory '/srv/local/gnu/build/simulavr/src'
Makefile:933: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/srv/local/gnu/build/simulavr/src'
Makefile:467: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/srv/local/gnu/build/simulavr/src'
Makefile:409: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
System information:
$ ../../source/simulavr-1.0.0/configure --prefix
/local/gnu/install/simulavr
--with-bfd=/local/gnu/build/binutils-master-avr/bfd/
-with-libiberty=/local/gnu/build/binutils-master-avr/libiberty/
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Moreover, it took me a while to work out how to twiddle with bfd
and libiberty. What did not work:
* install binutils-dev
* configure / build simularv from within binutils source tree so
that it has the complete SRCROOT stuff available.
Would be nice if your "Prerequisites"
http://www.nongnu.org/simulavr/build_simple.html#prerequisites
would shed some light on this and how to get across according
configure hick-ups.
Johann
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel