Hi Johann,
as Klaus wrote, version 1.0 is just a little bit outdated :-) So, with
the current versions of gcc you'll get errors just because of newer
version of gcc!
But if I understand your "No avail." right, you're pinned on version
1.0? Why, what's your scope to use simulavr? (just curious)
On the other hand, that hwtimer.h isn't found is not because of newer
gcc version. How do you get the package? Cloned from git repo? Or dist
package (tar.gz)? Could you check, if the file hwtimer.h is contained in
your package and where?
cu, Thomas
Am 10.07.2017 um 10:06 schrieb Georg-Johann Lay:
On 10.07.2017 10:02, Georg-Johann Lay wrote:
On 07.07.2017 22:29, Klaus wrote:
Please use git master. Version 1.0.0 is broken in so many things...
This message is posted also on the main page of the project ;)
Regards
Klaus
No avail.
After figuring out that I hat to run "bootstrap" in the sources...
$ ../../source/simulavr/configure --prefix /local/gnu/install/simulavr
$ make -j 8
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr/src -Ielfio -g -O2 -fPIC -Icmd -Iui
-Ihwtimer -g -O2 -MT externalirq.lo -MD -MP -MF .deps/externalirq.Tpo
-c ../../../source/simulavr/src/externalirq.cpp -fPIC -DPIC -o
.libs/externalirq.o
In file included from ../../../source/simulavr/src/attiny2313.h:38:0,
from ../../../source/simulavr/src/attiny2313.cpp:26:
../../../source/simulavr/src/hwusi.h:36:21: fatal error: hwtimer.h:
No such file or directory
compilation terminated.
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr/src -Ielfio -g -O2 -fPIC -Icmd -Iui
-Ihwtimer -g -O2 -MT atmega1284abase.lo -MD -MP -MF
.deps/atmega1284abase.Tpo -c
../../../source/simulavr/src/atmega1284abase.cpp -fPIC -DPIC -o
.libs/atmega1284abase.o
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr/src -Ielfio -g -O2 -fPIC -Icmd -Iui
-Ihwtimer -g -O2 -MT application.lo -MD -MP -MF .deps/application.Tpo
-c ../../../source/simulavr/src/application.cpp -fPIC -DPIC -o
.libs/application.o
Makefile:926: recipe for target 'attiny2313.lo' failed
make[3]: *** [attiny2313.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from
../../../source/simulavr/src/attiny25_45_85.h:39:0,
from
../../../source/simulavr/src/attiny25_45_85.cpp:26:
../../../source/simulavr/src/hwusi.h:36:21: fatal error: hwtimer.h:
No such file or directory
compilation terminated.
In addition, I also tried non-parallel make after clean:
$ make
Same error:
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../source/simulavr/src -Ielfio -g -O2 -fPIC -Icmd -Iui
-Ihwtimer -g -O2 -MT attiny25_45_85.lo -MD -MP -MF
.deps/attiny25_45_85.Tpo -c
../../../source/simulavr/src/attiny25_45_85.cpp -fPIC -DPIC -o
.libs/attiny25_45_85.o
In file included from ../../../source/simulavr/src/attiny25_45_85.h:39:0,
from ../../../source/simulavr/src/attiny25_45_85.cpp:26:
../../../source/simulavr/src/hwusi.h:36:21: fatal error: hwtimer.h: No
such file or directory
compilation terminated.
Johann
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel