When I simply ran "./configure" and then "make", I got th following error:
echo "Error: SWIG version >= 1.3.18 is required. You have 2.0.4. You should look at http://www.swig.org" ; false -c++ -o simulavr_wrap.cxx ./simulavr.i Error: SWIG version >= 1.3.18 is required. You have 2.0.4. You should look at http://www.swig.org make[3]: *** [simulavr_wrap.cxx] Error 1 However, when I modified the configure.ac file, replacing: AC_PROG_SWIG(1.3.18) with: AC_PROG_SWIG(2.0.4) and then ran "autoconf; ./configure; make", the simulavr started to compile. However then the compilation failed with another error: /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:153:28: error: __builtin_avr_delay_cycles expects an integer constant. To clean the last problem (well, rather to hide it), I have simply removed changes introduced by K. Schwichtenberg, changing the definition of msleep function as below: // Delay in 1/10's of a millisecond void msleep(INT16U ms) { /* This loop does not work with optimization != 0. Therefore we use avr-libc _delay routines K. Schwichtenberg */ INT16S i,j; for (i = 1; i < ms; i++) for (j = 1; j < ONETENTH_MS; j++); /* to give 1/10 ms*/ //_delay_ms(ms); // Changed K. Schwichtenberg } Of course the second problem should be fixed in the avr-libc. This is only a "dirty" workaround :-(. After that the simulavr compiled cleanly. I hope, that the above may be useful for packaging of simulavr. BTW my system is current debian/testing. -- Regards, WZab -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org