Compiling for AVR targets with autoconf 2.64 broken in 9.10 (Karmic).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autoconf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This problem exists on fully up-to-date versions of 9.10. There do not
seem to be any bugs reported on this issue in Launchpad (searching for
combinations of "autoconf", "2.64", "2.65", "9.10").
autoconf 2.64 introduced a change to the AC_PROG_CC macro that breaks
compiling for the AVR (the processor used in the popular Arduino
project). The macro attempted to compile a small program that uses
"fopen", which is not included in avr-libc. While this is not
standards compliant, it makes sense: most AVR microcontrollers have
between 2K and 32K of flash.
The result of this macro change is that compiling for the AVR using
the autotools is broken in Ubuntu 9.10. Until this is fixed/updates,
projects that build code for the AVR cannot be built on Ubuntu 9.10.
The problem was reported against autoconf, and the discussion thread
can be found here:
http://
The patch against 2.64 that fixed the problem is here:
http://
The problem no longer exists/was fixed in autoconf 2.65. Or, if you
prefer, it is possible to compile code using the autotools for the AVR
series of microcontrollers using autoconf 2.65.
Many thanks,
Matt
affects ubuntu/autoconf
subscribe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iF4EAREIAAYFAkt
rjk56kalSNt0Jre
=rVMJ
-----END PGP SIGNATURE-----
2.65 is now in Lucid