Hi Joerg,
>> ../../../../crt1/gcrt1.S:53: Error: non-constant expression in ".if" >statement >> >> All statements with 'vector' in gcrt1.S are shown as errors > >Doesn't happen for me, I can compile the SVN trunk without problems. > >I guess you have to analyze that within your environment then. You could >start with analyzing the output from C preprocessing the gcrt1.S file >(which is supposed to replace the _VECTORS_SIZE CPP macro). True. _VECTORS_SIZE is not replaced and hence the error. But this happens for m3000 only. From what I observe, all avr/include/io*.h files except iom3000.h define _VECTORS_SIZE. Since iom3000.h doesn't have this definition, the variable should be defined somewhere. In file included from ../../../../include/avr/io.h:419, from ../../../../common/macros.inc:39, from ../../../../crt1/gcrt1.S:38: ../../../../include/avr/iom3000.h:171:1: warning: "VELCVEL" redefined ../../../../include/avr/iom3000.h:170:1: warning: this is the location of the previous definition ../../../../include/avr/iom3000.h:172:1: warning: "VELCVEL" redefined ../../../../include/avr/iom3000.h:171:1: warning: this is the location of the previous definition ../../../../include/avr/iom3000.h:174:1: warning: "VELTVEL" redefined ../../../../include/avr/iom3000.h:173:1: warning: this is the location of the previous definition ../../../../include/avr/iom3000.h:175:1: warning: "VELTVEL" redefined ../../../../include/avr/iom3000.h:174:1: warning: this is the location of the previous definition ../../../../crt1/gcrt1.S: Assembler messages: ../../../../crt1/gcrt1.S:53: Error: non-constant expression in ".if" statement ... Maybe I have to update my working copy. It is 4 days old. Will have to do that from home again. Thanks Anitha _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev