[En-Nut-Discussion] problem quick start ICCAVR
lieven.broucke at kahosl.be
lieven.broucke at kahosl.be
Sun Apr 13 13:17:14 CEST 2008
Hello,
I receive errors in the NUT/OS configurator when I follow the walktrough "Quick Start with ICCAVR" from the Ethernut Software Manual.
I really don't know how to solve them, so this is my last resort :-)
When I press "Build NUT/OS", 'make clean' is terminated succesfully but 'make all' fails. (cfr. first error report)
The configurator fails to create the library files found on P7 of the "Ethernut software manual".
I also tried the DOS window as suggested in the manual (cfr. second error report) As far as I can see the error has something to do with the "ide.c" file.
I double checked the settings but they seem OK, even the path of the include directory for Imagecraft 6.31a is entered.
If you require more information, please let me know.
Thanks in advance for helping me with my problem,
Lieven
SOFTWARE USED:
Ethernut 1.3G
NUT/OS configurator 4.4.1
Imagecraft 6.31a / demoversion v7.03c (both installed)
Windows XP Pro service pack 2
ERROR REPORT: with Imagecraft 6.31a / NUT/OS configurator 4.4.1
10:08:48: Nut/OS Configurator Version 1.4.3
10:08:48: Linked to wxWidgets 2.8.3
10:08:48: Running on Windows XP (build 2600, Service Pack 2)
10:08:48: Working in C:\ethernut-4.4.1
10:08:52: Loading C:/ethernut-4.4.1/nut/conf/repository.nut
10:08:52: Loading C:/ethernut-4.4.1/nut/conf/ethernut13g.conf
10:08:52: OK
10:12:11: Creating Makefiles for avr-icc in C:/ethernut-4.4.1/nutbld
10:12:11: Creating header files in C:/ethernut-4.4.1/nutbld
10:12:11: OK
10:12:17: ----- Running 'make clean' -----
10:12:17: Located c:\ethernut-4.4.1\nut\tools\win32\make.exe
10:12:19: ----- 'make clean' terminated successfully -----
10:12:19: ----- Running 'make all' -----
10:12:19: Located c:\ethernut-4.4.1\nut\tools\win32\make.exe
!E C:/ethernut-4.4.1/nut/arch/avr/dev/ide.c(1177): Register not allocated to variable sreg
~Ð referenced in inline asm. Please simplify function or delete reference in inline asm.make[1]: *** [avr/dev/ide.o] Error 1
make: *** [all] Error 2
10:12:30: ----- 'make all' failed with error 2 -----
ERROR REPORT in DOS
iccavr -c -IC:/ethernut-4.4.1/nutbld/include -I. -IC:/ethernut-4.4.1/nut/includ
e -IC:/icc/include -e -DATMEGA -D_MCU_enhanced -DETHERNUT1 -D__HARVARD_ARCH__ -l
-Mavr_enhanced C:/ethernut-4.4.1/nut/arch/avr/dev/ide.c
!E C:/ethernut-4.4.1/nut/arch/avr/dev/ide.c(1177): Register not allocated to var
iable sreg?~ð referenced in inline asm. Please simplify function or delete refer
ence in inline asm.make[1]: *** [avr/dev/ide.o] Error 1
make[1]: Leaving directory `C:/ethernut-4.4.1/nutbld/arch'
make: *** [install] Error 2
C:\ethernut-4.4.1\nutbld>
More information about the En-Nut-Discussion
mailing list