[En-Nut-Discussion] (no subject)

Marton Zoltan zoltan.marton at siemens.com
Tue Dec 6 18:14:03 CET 2005


Hello everybody,

I have the following problem.

Does anybody know what I can do?

We have bought an Ethernut Starter kit and we are not able configure the NUT/OS with gcc (winavr-20030913)because we got the following error:

(if I look into gcc string.h and nut string.h the mentioned functions really different)

14:37:21: ----- Running 'make clean' -----

14:37:24: ----- 'make clean' terminated successfully -----

14:37:24: ----- Running 'make all' -----

In file included from D:/Progra~1/ethernut-3.9.8/nut/os/heap.c:95:

D:/Progra~1/ethernut-3.9.8/nut/include/string.h:25: warning: conflicting types for built-in function `memcpy'

D:/Progra~1/ethernut-3.9.8/nut/include/string.h:28: warning: conflicting types for built-in function `memcmp'

make[1]: *** [heap.o] Error 1

make: *** [all] Error 2

14:37:24: ----- 'make all' failed with error 2 -----

 

I have the following error with winavr-20050214:

18:03:56: Nut/OS Configurator Version 1.2.2

18:03:56: Linked to wxWidgets 2.6.0

18:03:56: Running on Windows XP (build 2600, Service Pack 2)

18:04:01: Loading D:/Progra~1/ethernut-3.9.8/nut/conf/repository.nut

18:04:01: Loading D:/Program Files/ethernut-3.9.8/nut/conf/ethernut21b.conf

18:04:01: OK

18:04:27: Creating Makefiles for avr-gcc in D:/Progra~1/ethernut-3.9.8/nutbld

18:04:27: Creating header files in D:/Progra~1/ethernut-3.9.8/nutbld

18:04:27: OK

18:04:34: ----- Running 'make clean' -----

18:05:09: ----- 'make clean' terminated successfully -----

18:05:09: ----- Running 'make all' -----

avr-ar: creating libnutarch.a

avr-ar: creating libnutos.a

avr-ar: creating libnutdev.a

avr-ar: creating libnutc.a

D:/Progra~1/ethernut-3.9.8/nut/crt/vsprintf.c: In function `_sputb':

D:/Progra~1/ethernut-3.9.8/nut/crt/vsprintf.c:60: warning: passing arg 2 of `memcpy' discards qualifiers from pointer target type

make[1]: *** [vsprintf.o] Error 1

make: *** [all] Error 2

18:05:59: ----- 'make all' failed with error 2 -----

Thank in advance

Mit freundlichen Grüssen / Best regards / Üdvözlettel, 

Zoltán MARTON

 
Mit freundlichen Grüssen / Best regards / Üdvözlettel, 
 
Zoltán MARTON
Siemens PSE Kft.
ECT MSP
1143, Budapest Gizella út. 51-57.
Tel: +36 1471 3526; Fax: +36 1471 3002
zoltan.marton at siemens.com
 



More information about the En-Nut-Discussion mailing list