[En-Nut-Discussion] Ethernut 4.6.4 build error

Nicolas Bataillé nicolas.bataille at hgh.fr
Tue Dec 23 17:43:18 CET 2008


Hi everyone !

Since I tried to install Nut/OS on a new computer, I have problems to bluid it.
I'm using Ethernut 4.6.4, IccAVR v7.18 and a CHARON2 board.
In the configurator, wich platform should I select ? avr-icc or avr-icc7 ?

If I select avr-icc7, building ends successfully but with a lot of warnings, and then I have a lot of errors while building Ethernut samples with IccAVR.
If I select avr-icc, I have this error report:

16:52:42: Nut/OS Configurator Version 2.0.5
16:52:42: Linked to wxWidgets 2.8.7
16:52:42: Running on Windows XP (build 2600, Service Pack 2)
16:52:42: Working in C:\ethernut
16:52:45: Loading nut/conf/repository.nut
16:52:45: Loading C:/ethernut/nut/conf/charon2.conf
16:52:45: OK
16:53:38: Creating Makefiles for avr-icc in nutbld
16:53:38: Creating header files in nutbld
16:53:38: OK
16:53:39: ----- Running 'make clean' -----
16:53:39: Located c:\ethernut\nut\tools\win32\make.exe
16:53:41: ----- 'make clean' terminated successfully -----
16:53:41: ----- Running 'make all' -----
16:53:41: Located c:\ethernut\nut\tools\win32\make.exe
!W C:\ethernut\nut\arch\avr\dev\ahdlcavr.c: [warning] in function 'AhdlcAvrOpen', argument 'name' has no use.
!W C:\ethernut\nut\arch\avr\dev\ahdlcavr.c: [warning] in function 'AhdlcAvrOpen', argument 'mode' has no use.
!W C:\ethernut\nut\arch\avr\dev\ahdlcavr.c: [warning] in function 'AhdlcAvrOpen', argument 'acc' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugIOCtl', argument 'dev' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugInit', argument 'dev' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugWrite', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugWrite_P', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugOpen', argument 'name' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugOpen', argument 'mode' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugOpen', argument 'acc' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug0.c: [warning] in function 'DebugClose', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugIOCtl', argument 'dev' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugInit', argument 'dev' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugWrite', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugWrite_P', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugOpen', argument 'name' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugOpen', argument 'mode' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugOpen', argument 'acc' has no use.
!W C:\ethernut\nut\arch\avr\dev\debug1.c: [warning] in function 'DebugClose', argument 'fp' has no use.
!W C:\ethernut\nut\arch\avr\dev\uartavr.c: [warning] in function 'UartAvrOpen', argument 'name' has no use.
!W C:\ethernut\nut\arch\avr\dev\uartavr.c: [warning] in function 'UartAvrOpen', argument 'acc' has no use.
!W C:\ethernut\nut\arch\avr\dev\ide.c: [warning] in function 'CFInterrupt', argument 'p' has no use.
!W C:\ethernut\nut\arch\avr\dev\ide.c: [warning] in function 'IDEInterrupt', argument 'p' has no use.
!W C:\ethernut\nut\arch\avr\dev\ide.c: [warning] in function 'CFChange', argument 'arg' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioRegisterIrqHandler', argument 'sig' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioRegisterIrqHandler', argument 'bit' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioRegisterIrqHandler', argument 'handler' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioRegisterIrqHandler', argument 'arg' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioIrqEnable', argument 'sig' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioIrqEnable', argument 'bit' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioIrqDisable', argument 'sig' has no use.
!W C:\ethernut\nut\arch\avr\dev\gpio_avr.c: [warning] in function 'GpioIrqDisable', argument 'bit' has no use.
!W C:\ethernut\nut\arch\avr\dev\twif.c: [warning] in function 'TwInterrupt', argument 'arg' has no use.
!W C:\ethernut\nut\arch\avr\dev\vs1001k.c: [warning] in function 'VsPlayerFeed', argument 'arg' has no use.
!W C:\ethernut\nut\os\thread.c: [warning] in function 'NutThreadWake', argument 'timer' has no use.
!W C:\ethernut\nut\os\timer.c: [warning] in function 'NutTimerIntr', argument 'arg' has no use.
!W C:\ethernut\nut\os\msg.c: [warning] in function 'NutMsgQTimerCb', argument 'hndl' has no use.
!W C:\ethernut\nut\arch\avr\os\nutinit.c: [warning] in function 'NutIdle', argument 'arg' has no use.
!W C:\ethernut\nut\dev\usart.c: [warning] in function 'UsartOpen', argument 'name' has no use.
!W C:\ethernut\nut\dev\usart.c: [warning] in function 'UsartOpen', argument 'acc' has no use.
!E C:\ethernut\nut\dev\chat.c(686): type error in argument 1 to `cstrlen'; found `pointer to const char' expected `pointer to __flash char'
!E C:\ethernut\nut\dev\chat.c(687): type error in argument 2 to `cstrcpy'; found `pointer to const char' expected `pointer to __flash char'
make[1]: *** [chat.o] Error 1
make: *** [all] Error 2
16:53:54: ----- 'make all' failed with error 2 -----




Thanks in advance for your help.


More information about the En-Nut-Discussion mailing list