[En-Nut-Discussion] Problems compiling NutOS with actual debian unstable avr-gcc / Confusing sleep modes

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Mon Jan 10 13:47:00 CET 2005


Hi again,

I found the problem by my self and also understood that sleep_mode is an
overloaded identifier :-)

Ok for all of you with the same problem:

The bug is located in /usr/avr/include/avr/sleep.h (part of avr-libc)
Affected version of the debian package: avr-libc_1%3a1.0.5-1_all.deb

See the attached patch to correct the problem.

Second thing:

avr-libc now defines atof by it's own. There's no need to define it in
include/arch/avr.h anymore. I added a check if it's just defined. It's
checked in into CVS HEAD.

Regards,

Ole Reinhardt


-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sleep.h.diff
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20050110/2aa81d2c/attachment-0001.bin>


More information about the En-Nut-Discussion mailing list