simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] build fails


From: D. Laszlo Sitzer
Subject: [Simulavr-devel] build fails
Date: Mon, 12 Dec 2011 15:12:20 +0100

Hi everyone,

I have a problem building simulavr source if copied from git repo
git://git.savannah.nongnu.org/simulavr.git (currently at "9712eea").
I simply ran "./configure" and then "make" which fails with:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -MT specialmem.lo -MD -MP -MF .deps/specialmem.Tpo -c
specialmem.cpp  -fPIC -DPIC -o .libs/specialmem.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -MT specialmem.lo -MD -MP -MF .deps/specialmem.Tpo -c
specialmem.cpp -o specialmem.o >/dev/null 2>&1
mv -f .deps/specialmem.Tpo .deps/specialmem.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I.    -I/usr/include -g -O2 -Icmd -Iui -Ihwtimer -MT string2.lo -MD
-MP -MF .deps/string2.Tpo -c -o string2.lo string2.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -MT string2.lo -MD -MP -MF .deps/string2.Tpo -c
string2.cpp  -fPIC -DPIC -o .libs/string2.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -MT string2.lo -MD -MP -MF .deps/string2.Tpo -c
string2.cpp -o string2.o >/dev/null 2>&1
mv -f .deps/string2.Tpo .deps/string2.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I.    -I/usr/include -g -O2 -Icmd -Iui -Ihwtimer -MT systemclock.lo
-MD -MP -MF .deps/systemclock.Tpo -c -o systemclock.lo systemclock.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -MT systemclock.lo -MD -MP -MF .deps/systemclock.Tpo -c
systemclock.cpp  -fPIC -DPIC -o .libs/systemclock.o
systemclock.cpp: In constructor ‘MinHeap<Key, Value>::MinHeap()’:
systemclock.cpp:42: error: there are no arguments to ‘reserve’ that
depend on a template parameter, so a declaration of ‘reserve’ must be
available
systemclock.cpp:42: note: (if you use ‘-fpermissive’, G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
systemclock.cpp: In member function ‘void MinHeap<Key, Value>::RemoveMinimum()’:
systemclock.cpp:48: error: there are no arguments to ‘empty’ that
depend on a template parameter, so a declaration of ‘empty’ must be
available
systemclock.cpp:49: error: there are no arguments to ‘back’ that
depend on a template parameter, so a declaration of ‘back’ must be
available
systemclock.cpp:50: error: there are no arguments to ‘back’ that
depend on a template parameter, so a declaration of ‘back’ must be
available
systemclock.cpp:52: error: there are no arguments to ‘pop_back’ that
depend on a template parameter, so a declaration of ‘pop_back’ must be
available
systemclock.cpp: In member function ‘bool MinHeap<Key,
Value>::ContainsValue(Value) const’:
systemclock.cpp:58: error: there are no arguments to ‘size’ that
depend on a template parameter, so a declaration of ‘size’ must be
available
systemclock.cpp: In member function ‘void MinHeap<Key,
Value>::Insert(Key, Value)’:
systemclock.cpp:70: error: there are no arguments to ‘size’ that
depend on a template parameter, so a declaration of ‘size’ must be
available
systemclock.cpp:71: error: there are no arguments to ‘size’ that
depend on a template parameter, so a declaration of ‘size’ must be
available
systemclock.cpp: In member function ‘void MinHeap<Key,
Value>::RemoveMinimumAndInsert(Key, Value)’:
systemclock.cpp:89: error: there are no arguments to ‘empty’ that
depend on a template parameter, so a declaration of ‘empty’ must be
available
systemclock.cpp:95: error: there are no arguments to ‘size’ that
depend on a template parameter, so a declaration of ‘size’ must be
available
systemclock.cpp:97: error: there are no arguments to ‘size’ that
depend on a template parameter, so a declaration of ‘size’ must be
available
systemclock.cpp: In member function ‘void
SystemClock::SetTraceModeForAllMembers(int)’:
systemclock.cpp:124: error: ISO C++ forbids declaration of ‘mi’ with no type
systemclock.cpp:124: error: cannot convert
‘__gnu_cxx::__normal_iterator<std::pair<long long int,
SimulationMember*>*, std::vector<std::pair<long long int,
SimulationMember*>, std::allocator<std::pair<long long int,
SimulationMember*> > > >’ to ‘int’ in initialization
systemclock.cpp:124: error: no match for ‘operator!=’ in ‘mi !=
((SystemClock*)this)->SystemClock::syncMembers.MinHeap<long long int,
SimulationMember*>::<anonymous>.std::vector<_Tp, _Alloc>::end [with
_Tp = std::pair<long long int, SimulationMember*>, _Alloc =
std::allocator<std::pair<long long int, SimulationMember*> >]()’
systemclock.cpp:126: error: base operand of ‘->’ is not a pointer
make[3]: *** [systemclock.lo] Error 1
make[3]: Leaving directory
`/home/lazlo/Workspace/Embedded/Tools/Simulation/simulavr.git/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/lazlo/Workspace/Embedded/Tools/Simulation/simulavr.git/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/lazlo/Workspace/Embedded/Tools/Simulation/simulavr.git/src'
make: *** [all-recursive] Error 1

I'm using the following software/versions:

kernel 2.6.35-31-generic x86_64
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
autoconf (GNU Autoconf) 2.67
automake (GNU automake) 1.11.1
GNU Make 3.81
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)

Is there anything else I could provide (files, information) that might
be helpful to identify the problem?

The last version I have successfully built was "a49e8da". I will try
to run some builds on revisions just before "9712eea" (latest) an see
if that might help.

Lazlo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]