What version of avr-libc goes with 011?

I have a Debian unstable system, which has avr-gcc 4.3.0 and avr-libc 1.6.0-cvs20080610. Using this with 011 I get errors at line 439 of math.h (which looks quite valid to me) when I try to load in the reprap firmware. Someone running windows gets the same error when running 012, but it works with 011. I think I am right in saying that in Windows the avr bits are shipped with the sketchpad, so it would suggest that the problem is with the levels the avr code I am getting from the Debian unstable repository.

Is there any further info anywhere? Does anyone know what this math.h error is all about?

Can you post the error message?

In file included from ThermoplastExtruder_SNAP_v1.h:37,
from ThermoplastExtruder_SNAP_v1.cpp:1:
/usr/lib/gcc/avr/4.3.1/../../../avr/include/math.h:439: error: expected unqualified-id before 'double'
/usr/lib/gcc/avr/4.3.1/../../../avr/include/math.h:439: error: expected )' before 'double' /usr/lib/gcc/avr/4.3.1/../../../avr/include/math.h:439: error: expected )' before 'double'

FYI, line 439 of math.h in my system reads:

double round (double __x) ATTR_CONST;

Sorry, I guess this is in the wrong forum, I thought I had selected the software troubleshooting forum, it appears I selected the hardware. If it can be moved (by come admin function) feel free to move it.

Arduino's wiring.h module #defines an alternative to round(), so this may be causing the problem. If you are manually #include'ing math.h, you might try

#undef round

beforehand.

Alternatively, it might be a problem with line 438 of math.h.
Mikal

thank you, that works a treat.