avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] Error building avr-libc 1.6.8 and with gcc 4.5.0


From: Vidar Vidnes
Subject: [avr-libc-dev] Error building avr-libc 1.6.8 and with gcc 4.5.0
Date: Tue, 27 Apr 2010 14:12:08 +0000 (GMT)

I am currently experimenting installing the toolchain for building AVR
apps using GCC 4.5.0 , binutils 2.20 and avr-libc 1.6.8.

When configuring avr-libc I first had to set the ld library part to make
configure succeed like:  
export LD_LIBRARY_PATH=/usr/local/lib

Then I run make and got the following problem:
[CODE]
In file included from ../../../../common/macros.inc:39:0,
                 from ../../../../crt1/gcrt1.S:38:
../../../../include/avr/io.h:404:6: warning: #warning "device type not
defined"
../../../../crt1/gcrt1.S: Assembler messages:
../../../../crt1/gcrt1.S:53: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:54: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:55: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:56: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:57: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:58: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:59: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:60: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:61: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:62: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:63: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:64: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:65: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:66: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:67: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:68: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:69: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:70: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:71: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:72: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:73: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:74: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:75: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:76: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:77: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:78: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:79: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:80: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:81: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:82: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:83: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:84: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:85: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:86: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:87: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:88: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:89: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:90: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:91: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:92: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:93: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:94: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:95: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:96: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:97: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:98: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:99: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:100: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:101: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:102: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:103: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:104: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:105: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:106: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:107: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:108: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:109: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:110: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:111: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:112: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:113: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:114: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:115: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:116: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:117: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:118: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:119: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:120: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:121: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:122: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:123: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:124: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:125: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:126: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:127: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:128: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:129: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:130: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:131: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:132: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:133: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:134: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:135: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:136: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:137: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:138: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:139: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:140: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:141: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:142: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:143: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:144: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:145: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:146: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:147: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:148: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:149: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:150: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:151: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:152: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:153: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:154: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:155: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:156: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:157: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:158: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:159: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:160: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:161: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:162: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:163: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:164: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:165: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:166: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:167: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:168: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:169: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:170: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:171: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:172: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:173: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:174: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:175: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:176: Error: non-constant expression in ".if"
statement
../../../../crt1/gcrt1.S:177: Error: non-constant expression in ".if"
statement
make[5]: *** [gcrt1.o] Error 1
make[5]: Leaving directory
`/home/ubuntu/toolchain/workspace_delete/avr-libc-1.6.8/avr/lib/avr25/attiny2313a'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/ubuntu/toolchain/workspace_delete/avr-libc-1.6.8/avr/lib/avr25'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/ubuntu/toolchain/workspace_delete/avr-libc-1.6.8/avr/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/ubuntu/toolchain/workspace_delete/avr-libc-1.6.8/avr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/ubuntu/toolchain/workspace_delete/avr-libc-1.6.8'
make: *** [all] Error 2
[/CODE]

This error is regarding function __vectors.

Anyone with similar issues?







reply via email to

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