Hy zusammen ich bin ein Noobi in sachen WinAVR und C, habe sonst meine µCs immer mit Bascom programmiert , doch habe ich mir in den letzten Tagen mal den WebServer von H.Buss zusammen gebaut. wenn ich jetzt diese Sample Files nehme und sie mit WinAVR ändern möchte kann ich diese nicht mehr in ein HEX File umwandeln wenn ich im Menu auf Make ALL gehe kommen viel viel fehler wie diese hier: > "make.exe" all set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=dump.lst -std=gnu99 dump.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > dump.d; \ [ -s dump.d ] || rm -f dump.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=OWISWBitFunctions.lst -std=gnu99 OWISWBitFunctions.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWISWBitFunctions.d; \ [ -s OWISWBitFunctions.d ] || rm -f OWISWBitFunctions.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=OWIHighLevelFunctions.lst -std=gnu99 OWIHighLevelFunctions.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWIHighLevelFunctions.d; \ [ -s OWIHighLevelFunctions.d ] || rm -f OWIHighLevelFunctions.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=OWIcrc.lst -std=gnu99 OWIcrc.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWIcrc.d; \ [ -s OWIcrc.d ] || rm -f OWIcrc.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=OWImain.lst -std=gnu99 OWImain.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWImain.d; \ [ -s OWImain.d ] || rm -f OWImain.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=fat.lst -std=gnu99 fat.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > fat.d; \ [ -s fat.d ] || rm -f fat.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > mmc.d; \ [ -s mmc.d ] || rm -f mmc.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > webpage.d; \ [ -s webpage.d ] || rm -f webpage.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > telnet.d; \ [ -s telnet.d ] || rm -f telnet.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > tcp.d; \ [ -s tcp.d ] || rm -f tcp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > uart.d; \ [ -s uart.d ] || rm -f uart.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > clock.d; \ [ -s clock.d ] || rm -f clock.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > interrupt4.d; \ [ -s interrupt4.d ] || rm -f interrupt4.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > icmp.d; \ [ -s icmp.d ] || rm -f icmp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ip.d; \ [ -s ip.d ] || rm -f ip.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > httpd.d; \ [ -s httpd.d ] || rm -f httpd.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ftpd.d; \ [ -s ftpd.d ] || rm -f ftpd.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > checksum.d; \ [ -s checksum.d ] || rm -f checksum.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > arp.d; \ [ -s arp.d ] || rm -f arp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > rtl8019.d; \ [ -s rtl8019.d ] || rm -f rtl8019.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \ [ -s main.d ] || rm -f main.d -------- begin -------- avr-gcc (GCC) 4.1.2 (WinAVR 20070525) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o In file included from main.h:17, from main.c:29: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from main.c:29: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from main.c:29: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition main.c: In function 'main': main.c:82: warning: implicit declaration of function 'enable_external_int' Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o In file included from main.h:17, from rtl8019.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from rtl8019.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from rtl8019.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o In file included from main.h:17, from arp.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from arp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from arp.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o In file included from main.h:17, from checksum.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from checksum.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from checksum.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o In file included from main.h:17, from ftpd.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from ftpd.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ftpd.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o In file included from main.h:17, from httpd.c:10: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from httpd.c:10: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from httpd.c:10: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition httpd.c: In function 'searchParameter': httpd.c:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness httpd.c:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c: In function 'searchName': httpd.c:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness httpd.c:73: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c: In function 'httpd': httpd.c:124: warning: pointer targets in passing argument 1 of 'printf' differ in signedness httpd.c:156: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:156: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:157: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:157: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:158: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:158: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:160: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:160: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:161: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:161: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:163: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:163: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:164: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:164: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:166: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:166: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:167: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:167: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:169: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:169: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:170: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:170: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:172: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:172: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:173: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:173: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:174: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:174: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:175: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:175: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:177: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:177: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:178: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:178: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:180: warning: pointer targets in passing argument 1 of 'searchName' differ in signedness httpd.c:180: warning: pointer targets in passing argument 2 of 'searchName' differ in signedness httpd.c:182: warning: pointer targets in passing argument 1 of 'searchParameter' differ in signedness httpd.c:182: warning: pointer targets in passing argument 2 of 'searchParameter' differ in signedness httpd.c:198: warning: pointer targets in passing argument 1 of 'eeprom_read_byte' differ in signedness httpd.c:199: warning: pointer targets in passing argument 1 of 'eeprom_read_byte' differ in signedness httpd.c:200: warning: pointer targets in passing argument 1 of 'eeprom_read_byte' differ in signedness httpd.c:201: warning: pointer targets in passing argument 1 of 'eeprom_read_byte' differ in signedness httpd.c:202: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c:203: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c:204: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c:205: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c:208: warning: pointer targets in passing argument 1 of 'eeprom_read_byte' differ in signedness httpd.c:209: warning: pointer targets in passing argument 1 of 'eeprom_write_byte' differ in signedness httpd.c:223: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness httpd.c:226: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o In file included from main.h:17, from ip.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from ip.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ip.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o In file included from main.h:17, from icmp.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from icmp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from icmp.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o In file included from main.h:17, from interrupt4.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from interrupt4.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from interrupt4.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition interrupt4.c: In function 'get': interrupt4.c:69: warning: pointer targets in passing argument 1 of 'Read_Ethernet_Frame' differ in signedness interrupt4.c:73: warning: pointer targets in passing argument 1 of 'ARP_Reply' differ in signedness interrupt4.c:73: warning: pointer targets in passing argument 2 of 'ARP_Reply' differ in signedness interrupt4.c:80: warning: pointer targets in passing argument 1 of 'ICMP_Reply' differ in signedness interrupt4.c:87: warning: pointer targets in passing argument 1 of 'httpd' differ in signedness interrupt4.c:87: warning: pointer targets in passing argument 2 of 'httpd' differ in signedness interrupt4.c:90: warning: pointer targets in passing argument 1 of 'ftpd' differ in signedness interrupt4.c:90: warning: pointer targets in passing argument 2 of 'ftpd' differ in signedness interrupt4.c:94: warning: pointer targets in passing argument 1 of 'telnet' differ in signedness interrupt4.c:94: warning: pointer targets in passing argument 2 of 'telnet' differ in signedness Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o In file included from main.h:17, from clock.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from clock.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from clock.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition clock.c: In function 'Start_Clock': clock.c:42: warning: implicit declaration of function 'timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o In file included from main.h:17, from uart.c:8: c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from uart.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from uart.c:8: c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning: this is the location of the previous definition uart.c: In function 'UART_Init': uart.c:29: warning: passing argument 1 of 'fdevopen' from incompatible pointer type uart.c:29: error: too many arguments to function 'fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:04
Und hier noch eine andere Variante von einem dem File SourceCodeCPP_V1.40_IB -------- begin -------- avr-gcc (GCC) 4.1.2 (WinAVR 20070525) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o In file included from main.h:57, from main.c:27: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" main.c: In function 'InitFat': main.c:140: warning: pointer targets in assignment differ in signedness main.c: In function 'SaveCamToSD': main.c:156: warning: pointer targets in assignment differ in signedness main.c:165: warning: pointer targets in passing argument 1 of 'FileOpen' differ in signedness main.c: In function 'ShowConfig': main.c:212: warning: suggest parentheses around comparison in operand of & main.c: In function 'test': main.c:260: warning: pointer targets in assignment differ in signedness main.c:263: warning: pointer targets in passing argument 1 of 'FileOpen' differ in signedness main.c:259: warning: unused variable 't' main.c: In function 'main': main.c:307: warning: pointer targets in assignment differ in signedness main.c:277: warning: unused variable 'Minuten_Timer' Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o In file included from main.h:57, from 3c5x9.c:49: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o In file included from main.h:57, from rtl8019.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o In file included from main.h:57, from analog.c:1: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o In file included from main.h:57, from arp.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o In file included from main.h:57, from checksum.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o In file included from main.h:57, from ftpd.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o In file included from main.h:57, from httpd.c:10: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" httpd.c: In function 'httpd': httpd.c:82: warning: pointer targets in assignment differ in signedness httpd.c:86: warning: pointer targets in assignment differ in signedness httpd.c:100: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:103: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:106: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:109: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:109: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:113: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:115: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:115: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c:133: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness httpd.c:135: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness httpd.c:132: warning: suggest explicit braces to avoid ambiguous 'else' httpd.c:139: warning: pointer targets in passing argument 1 of 'printf' differ in signedness httpd.c:221: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness httpd.c:224: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness httpd.c:227: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness httpd.c:255:1: warning: "BLOCK_SIZE" redefined httpd.c:16:1: warning: this is the location of the previous definition httpd.c:262: warning: pointer targets in initialization differ in signedness httpd.c:326: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness httpd.c: In function 'substitute': httpd.c:440: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness httpd.c:440: warning: pointer targets in passing argument 3 of 'snprintf' differ in signedness httpd.c:443: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness httpd.c:443: warning: pointer targets in passing argument 3 of 'snprintf' differ in signedness httpd.c:448: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness httpd.c:449: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o In file included from main.h:57, from ip.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o In file included from main.h:57, from icmp.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o In file included from main.h:57, from interrupt4.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" interrupt4.c: In function 'get': interrupt4.c:87: warning: pointer targets in passing argument 2 of 'ARP_Reply' differ in signedness interrupt4.c:109: warning: pointer targets in passing argument 2 of 'ntpc' differ in signedness interrupt4.c:119: warning: pointer targets in passing argument 2 of 'httpd' differ in signedness interrupt4.c:123: warning: pointer targets in passing argument 2 of 'smtp' differ in signedness interrupt4.c:126: warning: pointer targets in passing argument 2 of 'auth' differ in signedness interrupt4.c:139: warning: pointer targets in passing argument 2 of 'ftpc' differ in signedness interrupt4.c:144: warning: pointer targets in passing argument 2 of 'ftp_store' differ in signedness Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o In file included from main.h:57, from clock.c:8: c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" clock.c: In function '__vector_9': clock.c:22: warning: unused variable 't2' clock.c: In function 'Start_Clock': clock.c:53: error: 'TIMSK1' undeclared (first use in this function) clock.c:53: error: (Each undeclared identifier is reported only once clock.c:53: error: for each function it appears in.) make.exe: *** [clock.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:05
a) Wo sind da viele Fehler ? Ich sehe nur einen. b) Kann es sein, dass die Software für einen mega48 ist und du diese auf einem mega32 laufen lassen willst ?
eigentlich nicht sollte für einen MEGA32 sein , denn es ist für das ISA_CTRL_V1.0 von Holger Buss und da ist ein MEGA32 drauf
>b) Kann es sein, dass die Software für einen mega48
Nö, der nicht ;) Ist für MEGA644
Wahrscheinlich laufen hier jetzt alle Posts quer durcheinander ! Ich versuch mal aufzuräumen: >WebServer von H.Buss zusammen gebaut. Ist für ATMega32 >SourceCodeCPP_V1.40_IB Ist für ATMega644 Das größte Problem ist das er AVR-GCC 4.1.2 benutzt. Die Sources sind aber für AVR-GCC 3.4.x. Also bitte alle der Reihe nach ;)
Erster Vorschlag: AVR-GCC 4.1.2 deinstallieren und den letzten AVR-GCC von 2006 installieren. Das geht am schnellsten. Die Warnings zu beseitigen wird etwas mehr Arbeit. >SourceCodeCPP_V1.40_IB Erstmal vergessen. >WebServer von H.Buss zusammen gebaut. Hiermit weitermachen. Das wird ne lange Nacht ;)
Ja das habe ich jetzt gemacht ! Als Testfile nutze ich jetzt mal folgendes Beitrag "Webserver zur Temperaturmessung" das ist für den mega32 und das original HEX File funktioniert auch nur wenn ich makefile "Make All" ausführe kommen folgendes: -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o In file included from main.h:17, from main.c:29: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from main.c:29: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from main.c:29: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition main.c: In function `main': main.c:82: warning: implicit declaration of function `enable_external_int' Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o In file included from main.h:17, from rtl8019.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from rtl8019.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from rtl8019.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o In file included from main.h:17, from arp.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from arp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from arp.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o In file included from main.h:17, from checksum.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from checksum.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from checksum.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o In file included from main.h:17, from ftpd.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from ftpd.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ftpd.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o In file included from main.h:17, from httpd.c:10: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from httpd.c:10: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from httpd.c:10: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o In file included from main.h:17, from ip.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from ip.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ip.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o In file included from main.h:17, from icmp.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from icmp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from icmp.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o In file included from main.h:17, from interrupt4.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from interrupt4.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from interrupt4.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o In file included from main.h:17, from clock.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from clock.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from clock.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition clock.c: In function `Start_Clock': clock.c:42: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o In file included from main.h:17, from uart.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." In file included from main.h:23, from uart.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from uart.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition uart.c: In function `UART_Init': uart.c:29: warning: passing arg 1 of `fdevopen' from incompatible pointer type uart.c:29: error: too many arguments to function `fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:04
Wirklich problematisch sind 'ISR' und fdevopen. Um die meisten Warnings zu entsorgen mach mal folgendes: Ändere in main.h das #include <avr/signal.h> durch #include <avr/interrupt.h>.
D interrupt.h wurd schon aufgerufen Siehe hier #include <stdio.h> #include <stdlib.h> #include <string.h> #include <avr/io.h> #include <avr/pgmspace.h> #include <avr/interrupt.h> //#include <avr/signal.h> #include <avr/eeprom.h> habe // vor das signal.h gemacht , das sollte ja reichen ? Doch nun kommt das :-( kann doch nicht sein das das jemand programmiert und ich es dann nicht compilieren kann ?! oder ?? --- -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o In file included from main.h:23, from main.c:29: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from main.c:29: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition main.c: In function `main': main.c:82: warning: implicit declaration of function `enable_external_int' Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o In file included from main.h:23, from rtl8019.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from rtl8019.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o In file included from main.h:23, from arp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from arp.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o In file included from main.h:23, from checksum.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from checksum.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o In file included from main.h:23, from ftpd.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ftpd.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o In file included from main.h:23, from httpd.c:10: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from httpd.c:10: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o In file included from main.h:23, from ip.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from ip.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o In file included from main.h:23, from icmp.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from icmp.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o In file included from main.h:23, from interrupt4.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from interrupt4.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o In file included from main.h:23, from clock.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from clock.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition clock.c: In function `Start_Clock': clock.c:42: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o In file included from main.h:23, from uart.c:8: rtl8019.h:86:1: warning: "ISR" redefined In file included from main.h:16, from uart.c:8: C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the location of the previous definition uart.c: In function `UART_Init': uart.c:29: warning: passing arg 1 of `fdevopen' from incompatible pointer type uart.c:29: error: too many arguments to function `fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:03
Hab mir gerade mal die letzten Sources runtergeladen.
>SourceCodeCPP_V1.40_IB
Nimm das jetzt doch :( Sorry.
Da ist die letzte Änderung
schon drin. Dann ändere im makefile:
#MCU = atmega32
MCU = atmega644
auf
MCU = atmega32
#MCU = atmega644
Ok dann kommt folgendes Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o main.c: In function `ShowConfig': main.c:212: warning: suggest parentheses around comparison in operand of & main.c: In function `test': main.c:259: warning: unused variable `t' main.c: In function `main': main.c:277: warning: unused variable `Minuten_Timer' Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:132: warning: suggest explicit braces to avoid ambiguous `else' httpd.c:255:1: warning: "BLOCK_SIZE" redefined httpd.c:16:1: warning: this is the location of the previous definition Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o clock.c: In function `__vector_9': clock.c:22: warning: unused variable `t2' clock.c: In function `Start_Clock': clock.c:53: error: `TIMSK1' undeclared (first use in this function) clock.c:53: error: (Each undeclared identifier is reported only once clock.c:53: error: for each function it appears in.) make.exe: *** [clock.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:05
ALSO :-( Jetzt erstellt er mir das main.hex , welches ich natürlich auch gleich per PonyProg auf den MEGA32 gebrannt habe :-( aber leider funktioniert es nicht. Nicht einmal die LINK LED von der Netzwerkkarte geht an :-( > "make.exe" all set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=sendmail.lst -std=gnu99 sendmail.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > sendmail.d; \ [ -s sendmail.d ] || rm -f sendmail.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=auth.lst -std=gnu99 auth.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > auth.d; \ [ -s auth.d ] || rm -f auth.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=config.lst -std=gnu99 config.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > config.d; \ [ -s config.d ] || rm -f config.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=time.lst -std=gnu99 time.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > time.d; \ [ -s time.d ] || rm -f time.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ntp.lst -std=gnu99 ntp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ntp.d; \ [ -s ntp.d ] || rm -f ntp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpclient.lst -std=gnu99 ftpclient.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ftpclient.d; \ [ -s ftpclient.d ] || rm -f ftpclient.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webcam/mca25.lst -std=gnu99 webcam/mca25.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > webcam/mca25.d; \ [ -s webcam/mca25.d ] || rm -f webcam/mca25.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=fat16.lst -std=gnu99 fat16.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > fat16.d; \ [ -s fat16.d ] || rm -f fat16.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > mmc.d; \ [ -s mmc.d ] || rm -f mmc.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > webpage.d; \ [ -s webpage.d ] || rm -f webpage.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > telnet.d; \ [ -s telnet.d ] || rm -f telnet.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > tcp.d; \ [ -s tcp.d ] || rm -f tcp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > uart.d; \ [ -s uart.d ] || rm -f uart.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > clock.d; \ [ -s clock.d ] || rm -f clock.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > interrupt4.d; \ [ -s interrupt4.d ] || rm -f interrupt4.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > icmp.d; \ [ -s icmp.d ] || rm -f icmp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ip.d; \ [ -s ip.d ] || rm -f ip.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > httpd.d; \ [ -s httpd.d ] || rm -f httpd.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ftpd.d; \ [ -s ftpd.d ] || rm -f ftpd.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > checksum.d; \ [ -s checksum.d ] || rm -f checksum.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > arp.d; \ [ -s arp.d ] || rm -f arp.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > analog.d; \ [ -s analog.d ] || rm -f analog.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > rtl8019.d; \ [ -s rtl8019.d ] || rm -f rtl8019.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > 3c5x9.d; \ [ -s 3c5x9.d ] || rm -f 3c5x9.d set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \ [ -s main.d ] || rm -f main.d -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o main.c: In function `SaveCamToSD': main.c:153: warning: unused variable `fp' main.c: In function `ShowConfig': main.c:212: warning: suggest parentheses around comparison in operand of & main.c: In function `test': main.c:259: warning: unused variable `t' main.c: In function `main': main.c:277: warning: unused variable `Minuten_Timer' Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:132: warning: suggest explicit braces to avoid ambiguous `else' httpd.c:255:1: warning: "BLOCK_SIZE" redefined httpd.c:16:1: warning: this is the location of the previous definition Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o clock.c: In function `__vector_9': clock.c:22: warning: unused variable `t2' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o Compiling: tcp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c -o tcp.o Compiling: telnet.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c -o telnet.o Compiling: webpage.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c -o webpage.o Compiling: mmc.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c -o mmc.o Compiling: fat16.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=fat16.lst -std=gnu99 fat16.c -o fat16.o Compiling: webcam/mca25.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webcam/mca25.lst -std=gnu99 webcam/mca25.c -o webcam/mca25.o Compiling: ftpclient.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpclient.lst -std=gnu99 ftpclient.c -o ftpclient.o Compiling: ntp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ntp.lst -std=gnu99 ntp.c -o ntp.o ntp.c:154:7: warning: no newline at end of file Compiling: time.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=time.lst -std=gnu99 time.c -o time.o Compiling: config.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=config.lst -std=gnu99 config.c -o config.o config.c: In function `ReadConfigFile': config.c:89: warning: embedded `\0' in format config.c:90: warning: embedded `\0' in format config.c:91: warning: embedded `\0' in format config.c:92: warning: embedded `\0' in format config.c:28: warning: unused variable `c' Compiling: auth.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=auth.lst -std=gnu99 auth.c -o auth.o Compiling: sendmail.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=sendmail.lst -std=gnu99 sendmail.c -o sendmail.o Linking: main.elf avr-gcc -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 main.o 3c5x9.o rtl8019.o analog.o arp.o checksum.o ftpd.o httpd.o ip.o icmp.o interrupt4.o clock.o uart.o tcp.o telnet.o webpage.o mmc.o fat16.o webcam/mca25.o ftpclient.o ntp.o time.o config.o auth.o sendmail.o --output main.elf -Wl,-Map=main.map,--cref -lm Creating load file for Flash: main.hex avr-objcopy -O ihex -R .eeprom main.elf main.hex Creating load file for EEPROM: main.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex main.elf main.eep Creating Extended Listing: main.lss avr-objdump -h -S main.elf > main.lss Creating Symbol Table: main.sym avr-nm -n main.elf > main.sym Size after: main.elf : section size addr .text 56828 0 .data 1586 8388704 .bss 1480 8390290 .noinit 0 8391770 .eeprom 0 8454144 .stab 876 0 .stabstr 132 0 .debug_aranges 420 0 .debug_pubnames 3871 0 .debug_info 36318 0 .debug_abbrev 6518 0 .debug_line 20564 0 .debug_str 1637 0 Total 130230 Errors: none -------- end -------- > Process Exit Code: 0 > Time Taken: 00:08
Dann ist 1.40 zu groß für den ATMega32. Also leider zurück auf 1.39. Ändere dort in rtl8019.h Zeile 84 ISR in RTL_ISR. In rtl8019.c in Zeile 153 ISR in RTL_ISR in Zeile 185 ISR in RTL_ISR in Zeile 220 ISR in RTL_ISR in Zeile 306 ISR in RTL_ISR Mal sehen was dann noch an Warnings kommt.
Hy änderungen durchgeführt folgendes ergebniss -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o In file included from main.h:17, from main.c:29: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o In file included from main.h:17, from 3c5x9.c:49: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." 3c5x9.c:730:7: warning: no newline at end of file Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o In file included from main.h:17, from rtl8019.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." rtl8019.c:309:7: warning: no newline at end of file Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o In file included from main.h:17, from analog.c:1: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o In file included from main.h:17, from arp.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o In file included from main.h:17, from checksum.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o In file included from main.h:17, from ftpd.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o In file included from main.h:17, from httpd.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." httpd.c: In function `httpd': httpd.c:176: warning: label `endmakepacket' defined but not used Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o In file included from main.h:17, from ip.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o In file included from main.h:17, from icmp.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o In file included from main.h:17, from interrupt4.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o In file included from main.h:17, from clock.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." clock.c: In function `Start_Clock': clock.c:48: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o In file included from main.h:17, from uart.c:8: C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>." uart.c: In function `UART_Init': uart.c:36: warning: passing arg 1 of `fdevopen' from incompatible pointer type uart.c:36: error: too many arguments to function `fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:04
Ändere in main.h das #include <avr/signal.h> durch #include <avr/interrupt.h>. Das musst du schon noch machen. In Interrupt4.c in Zeile 24 ISR in RTL_ISR in Zeile 30 ISR in RTL_ISR in Zeile 48 ISR in RTL_ISR
Ok änderungen durchgeführt :-) (NOCH IST DIE NACHT JUNG) LOL -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o 3c5x9.c:730:7: warning: no newline at end of file Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o rtl8019.c:309:7: warning: no newline at end of file Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:176: warning: label `endmakepacket' defined but not used Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o clock.c: In function `Start_Clock': clock.c:48: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o uart.c: In function `UART_Init': uart.c:36: warning: passing arg 1 of `fdevopen' from incompatible pointer type uart.c:36: error: too many arguments to function `fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:04
In main.h trägst du folgendes ein über stdio.h #define __STDIO_FDEVOPEN_COMPAT_12 // use old implementation of fdevopen #include <stdio.h>
Also quasi so #ifndef _MAIN_H #define _MAIN_H #define __STDIO_FDEVOPEN_COMPAT12 //use old implement... #include <stdio.h> #include <stdlib.h> dann kommt folgendes : -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o 3c5x9.c:730:7: warning: no newline at end of file Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o rtl8019.c:309:7: warning: no newline at end of file Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:176: warning: label `endmakepacket' defined but not used Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o clock.c: In function `Start_Clock': clock.c:48: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o uart.c: In function `UART_Init': uart.c:36: warning: passing arg 1 of `fdevopen' from incompatible pointer type uart.c:36: error: too many arguments to function `fdevopen' make.exe: *** [uart.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:04
#define __STDIO_FDEVOPEN_COMPAT_12 // use old implementation of Bitte genau eingeben !
Ui - fehler von mir habe ich nun geändert und schon ändern sich die fehler :-((( HEUL -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o main.c: In function `main': main.c:100: warning: implicit declaration of function `enable_external_int' Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o 3c5x9.c:730:7: warning: no newline at end of file Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o rtl8019.c:309:7: warning: no newline at end of file Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:176: warning: label `endmakepacket' defined but not used Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o clock.c: In function `Start_Clock': clock.c:48: warning: implicit declaration of function `timer_enable_int' Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o Compiling: tcp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c -o tcp.o Compiling: telnet.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c -o telnet.o Compiling: webpage.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c -o webpage.o webpage.c:4294958187:1: warning: unknown escape sequence '\i' Compiling: mmc.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c -o mmc.o Compiling: fat.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=fat.lst -std=gnu99 fat.c -o fat.o Linking: main.elf avr-gcc -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 main.o 3c5x9.o rtl8019.o analog.o arp.o checksum.o ftpd.o httpd.o ip.o icmp.o interrupt4.o clock.o uart.o tcp.o telnet.o webpage.o mmc.o fat.o --output main.elf -Wl,-Map=main.map,--cref -lm main.o: In function `main': d:\daten\µc-webserver\sourcecodecpp_v1.39_mmc_ib\source/main.c:100: undefined reference to `enable_external_int' clock.o: In function `Start_Clock': d:\daten\µc-webserver\sourcecodecpp_v1.39_mmc_ib\source/clock.c:48: undefined reference to `timer_enable_int' make.exe: *** [main.elf] Error 1 > Process Exit Code: 2 > Time Taken: 00:05
Mach mal in main.c und clock.c ein #include <compat/deprecated.h> rein.
Bitte poste doch nur den Fehler. Der steht am Ende. Das Runterblättern dauert ja ewig.
Juhuuu es geht !!! Sind noch ein paar Warnungen drin ! aber jetzt arbeitet es auch der WebServer funktioniert http://4bmw.dyndns.org:81 -- -------- begin -------- avr-gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: main.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o Compiling: 3c5x9.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o 3c5x9.c:730:7: warning: no newline at end of file Compiling: rtl8019.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o rtl8019.o rtl8019.c:309:7: warning: no newline at end of file Compiling: analog.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o analog.o Compiling: arp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o Compiling: checksum.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o checksum.o Compiling: ftpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o Compiling: httpd.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o httpd.c: In function `httpd': httpd.c:176: warning: label `endmakepacket' defined but not used Compiling: ip.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o Compiling: icmp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o Compiling: interrupt4.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c -o interrupt4.o Compiling: clock.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o Compiling: uart.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o Compiling: tcp.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c -o tcp.o Compiling: telnet.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c -o telnet.o Compiling: webpage.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c -o webpage.o webpage.c:4294958187:1: warning: unknown escape sequence '\i' Compiling: mmc.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c -o mmc.o Compiling: fat.c avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=fat.lst -std=gnu99 fat.c -o fat.o Linking: main.elf avr-gcc -mmcu=atmega32 -I. -g -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 main.o 3c5x9.o rtl8019.o analog.o arp.o checksum.o ftpd.o httpd.o ip.o icmp.o interrupt4.o clock.o uart.o tcp.o telnet.o webpage.o mmc.o fat.o --output main.elf -Wl,-Map=main.map,--cref -lm Creating load file for Flash: main.hex avr-objcopy -O ihex -R .eeprom main.elf main.hex Creating load file for EEPROM: main.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex main.elf main.eep Creating Extended Listing: main.lss avr-objdump -h -S main.elf > main.lss Creating Symbol Table: main.sym avr-nm -n main.elf > main.sym Size after: main.elf : section size addr .text 24620 0 .data 558 8388704 .bss 93 8389262 .noinit 0 8389355 .eeprom 0 8454144 .stab 876 0 .stabstr 132 0 .debug_aranges 280 0 .debug_pubnames 1885 0 .debug_info 14211 0 .debug_abbrev 3081 0 .debug_line 9337 0 .debug_str 1086 0 Total 56159 Errors: none -------- end -------- > Process Exit Code: 0 > Time Taken: 00:05
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.